summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
#