diff options
author | Serkan Kaba <serkan@gentoo.org> | 2008-12-22 22:09:38 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2008-12-22 22:09:38 +0000 |
commit | ec917123e4512659a74750b7f97db1838c6be5e1 (patch) | |
tree | 3ab0e9731e07c3290526ffb0da054a14cf801181 /eclass | |
parent | add explicit blockers on udev versions for bug #251820 (diff) | |
download | historical-ec917123e4512659a74750b7f97db1838c6be5e1.tar.gz historical-ec917123e4512659a74750b7f97db1838c6be5e1.tar.bz2 historical-ec917123e4512659a74750b7f97db1838c6be5e1.zip |
Don't run java-dep-check if the package doesn't have a package.env file.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/java-pkg-2.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/java-pkg-2.eclass b/eclass/java-pkg-2.eclass index 36c68d0c5e3f..fbe32ebcb58c 100644 --- a/eclass/java-pkg-2.eclass +++ b/eclass/java-pkg-2.eclass @@ -5,7 +5,7 @@ # # Licensed under the GNU General Public License, v2 # -# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.30 2008/10/11 21:07:13 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.31 2008/12/22 22:09:38 serkan Exp $ inherit java-utils-2 @@ -107,6 +107,7 @@ java-pkg-2_src_compile() { java-pkg-2_pkg_preinst() { if is-java-strict; then if has_version dev-java/java-dep-check; then + [[ -e "${JAVA_PKG_ENV}" ]] || return local output=$(GENTOO_VM= java-dep-check --image "${D}" "${JAVA_PKG_ENV}") if [[ ${output} ]]; then ewarn "Possibly unneeded dependencies found in package.env:" |