/[gentoo-x86]/eclass/java-utils-2.eclass
Gentoo

Diff of /eclass/java-utils-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.85 Revision 1.86
4# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org> 4# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
5# Copyright (c) 2004-2005, Gentoo Foundation 5# Copyright (c) 2004-2005, Gentoo Foundation
6# 6#
7# Licensed under the GNU General Public License, v2 7# Licensed under the GNU General Public License, v2
8# 8#
9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.85 2007/05/25 10:27:57 caster Exp $ 9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.86 2007/05/26 23:24:52 ali_bush Exp $
10 10
11 11
12# ----------------------------------------------------------------------------- 12# -----------------------------------------------------------------------------
13# @eclass-begin 13# @eclass-begin
14# @eclass-shortdesc Java Utility eclass 14# @eclass-shortdesc Java Utility eclass
2497 elog "build without problems, but please report this to" 2497 elog "build without problems, but please report this to"
2498 elog "http://bugs.gentoo.org" 2498 elog "http://bugs.gentoo.org"
2499 fi 2499 fi
2500 fi 2500 fi
2501 2501
2502 if [[ ${limit_to} != build ]]; then
2502 if [[ ${limit_to} != build && ! ( ${RDEPEND} =~ "${stripped_pkg}" ) ]]; then 2503 if [[ ! ( ${RDEPEND} =~ "${stripped_pkg}" ) ]]; then
2504 if [[ ! ( ${PDEPEND} =~ "${stripped_pkg}" ) ]]; then
2503 dev_error="The ebuild is attempting to use ${target_pkg}," 2505 dev_error="The ebuild is attempting to use ${target_pkg},"
2504 dev_error="${dev_error} without specifying --build-only, that is not declared in RDEPEND." 2506 dev_error="${dev_error} without specifying --build-only, that is not declared in RDEPEND"
2507 dev_error="${dev_error} or PDEPEND."
2505 if is-java-strict; then 2508 if is-java-strict; then
2506 die "${dev_error}" 2509 die "${dev_error}"
2507 elif [[ ${BASH_SUBSHELL} = 0 ]]; then 2510 elif [[ ${BASH_SUBSHELL} = 0 ]]; then
2508 eerror "${dev_error}" 2511 eerror "${dev_error}"
2509 elog "The package will build without problems, but may fail to run" 2512 elog "The package will build without problems, but may fail to run"
2510 elog "if you don't have ${target_pkg} installed, so please report" 2513 elog "if you don't have ${target_pkg} installed, so please report"
2511 elog "this to http://bugs.gentoo.org" 2514 elog "this to http://bugs.gentoo.org"
2515 fi
2516 fi
2512 fi 2517 fi
2513 fi 2518 fi
2514} 2519}
2515 2520
2516# ------------------------------------------------------------------------------ 2521# ------------------------------------------------------------------------------

Legend:
Removed from v.1.85  
changed lines
  Added in v.1.86

  ViewVC Help
Powered by ViewVC 1.1.20