/[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.71 Revision 1.72
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.71 2007/04/18 08:52:00 betelgeuse Exp $ 9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.72 2007/04/18 08:55:21 betelgeuse 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
2365 dev_error="${dev_error} declared in DEPEND." 2365 dev_error="${dev_error} declared in DEPEND."
2366 if is-java-strict; then 2366 if is-java-strict; then
2367 die "${dev_error}" 2367 die "${dev_error}"
2368 elif [[ ${BASH_SUBSHELL} = 0 ]]; then 2368 elif [[ ${BASH_SUBSHELL} = 0 ]]; then
2369 eerror "${dev_error}" 2369 eerror "${dev_error}"
2370 einfo "Because you have this package installed the package will" 2370 elog "Because you have this package installed the package will"
2371 einfo "build without problems, but please report this to" 2371 elog "build without problems, but please report this to"
2372 einfo "http://bugs.gentoo.org" 2372 elog "http://bugs.gentoo.org"
2373 fi 2373 fi
2374 fi 2374 fi
2375 2375
2376 if [[ -z ${build_only} && ! ( ${RDEPEND} =~ "${stripped_pkg}" ) ]]; then 2376 if [[ -z ${build_only} && ! ( ${RDEPEND} =~ "${stripped_pkg}" ) ]]; then
2377 dev_error="The ebuild is attempting to use ${target_pkg}," 2377 dev_error="The ebuild is attempting to use ${target_pkg},"
2378 dev_error="${dev_error} without specifying --build-only, that is not declared in RDEPEND." 2378 dev_error="${dev_error} without specifying --build-only, that is not declared in RDEPEND."
2379 if is-java-strict; then 2379 if is-java-strict; then
2380 die "${dev_error}" 2380 die "${dev_error}"
2381 elif [[ ${BASH_SUBSHELL} = 0 ]]; then 2381 elif [[ ${BASH_SUBSHELL} = 0 ]]; then
2382 eerror "${dev_error}" 2382 eerror "${dev_error}"
2383 einfo "Because you have this package installed the package will" 2383 elog "Because you have this package installed the package will"
2384 einfo "build without problems, but please report this to" 2384 elog "build without problems, but please report this to"
2385 einfo "http://bugs.gentoo.org" 2385 elog "http://bugs.gentoo.org"
2386 fi 2386 fi
2387 fi 2387 fi
2388} 2388}
2389 2389
2390# ------------------------------------------------------------------------------ 2390# ------------------------------------------------------------------------------

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72

  ViewVC Help
Powered by ViewVC 1.1.20