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 | 3f1922aa543824c6688dd17371198d8d8965367f (patch) | |
tree | 0ca914740fc9ca74bfae4fe7949dd8855606f1db /eclass | |
parent | add explicit blockers on udev versions for bug #251820 (diff) | |
download | gentoo-2-3f1922aa543824c6688dd17371198d8d8965367f.tar.gz gentoo-2-3f1922aa543824c6688dd17371198d8d8965367f.tar.bz2 gentoo-2-3f1922aa543824c6688dd17371198d8d8965367f.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:" |