summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-11-13 19:36:50 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-11-13 19:36:50 +0000
commite2ffa827ecd0907b7307512d657acd112aad4ea1 (patch)
tree20b0faa89012a7c19821f3f686126e9c598a872d /eclass/java-pkg-2.eclass
parentMarked ~hppa again (thanks armin76). (diff)
downloadgentoo-2-e2ffa827ecd0907b7307512d657acd112aad4ea1.tar.gz
gentoo-2-e2ffa827ecd0907b7307512d657acd112aad4ea1.tar.bz2
gentoo-2-e2ffa827ecd0907b7307512d657acd112aad4ea1.zip
Make JAVA_PKG_IUSE work with java-pkg-opt-2 too.
Diffstat (limited to 'eclass/java-pkg-2.eclass')
-rw-r--r--eclass/java-pkg-2.eclass9
1 files changed, 4 insertions, 5 deletions
diff --git a/eclass/java-pkg-2.eclass b/eclass/java-pkg-2.eclass
index 76b438c4c620..a5b4ddbae3f8 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.24 2007/08/05 08:17:05 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.25 2007/11/13 19:36:50 betelgeuse Exp $
inherit java-utils-2
@@ -20,8 +20,9 @@ inherit java-utils-2
# ------------------------------------------------------------------------------
# @IUSE
#
-# ebuilds using this eclass can set JAVA_PKG_IUSE and then this eclass
-# will automatically add deps for them.
+# Use JAVA_PKG_IUSE instead of IUSE for doc, source and examples so that
+# the eclass can automatically add the needed dependencies for the java-pkg_do*
+# functions.
#
# ------------------------------------------------------------------------------
IUSE="${JAVA_PKG_IUSE}"
@@ -35,8 +36,6 @@ IUSE="${JAVA_PKG_IUSE}"
# ------------------------------------------------------------------------------
DEPEND="${JAVA_PKG_E_DEPEND}"
-hasq source ${JAVA_PKG_IUSE} && DEPEND="${DEPEND} source? ( app-arch/zip )"
-
# ------------------------------------------------------------------------------
# @rdepend
#