summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-02-05 00:36:59 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-02-05 00:36:59 +0000
commit92644607c392813d41e738bea54d706aac1bb570 (patch)
tree4be8cf4cdb86b433637f26f037f06fb996923508 /dev-java/jettison/jettison-1.0.ebuild
parentMove jaxp-virtual from java-experimental. (diff)
downloadgentoo-2-92644607c392813d41e738bea54d706aac1bb570.tar.gz
gentoo-2-92644607c392813d41e738bea54d706aac1bb570.tar.bz2
gentoo-2-92644607c392813d41e738bea54d706aac1bb570.zip
Require jaxp-virtual so jettison builds with 1.4.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28-gentoo i686)
Diffstat (limited to 'dev-java/jettison/jettison-1.0.ebuild')
-rw-r--r--dev-java/jettison/jettison-1.0.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-java/jettison/jettison-1.0.ebuild b/dev-java/jettison/jettison-1.0.ebuild
index d8d3a81fc87b..f507f8cee219 100644
--- a/dev-java/jettison/jettison-1.0.ebuild
+++ b/dev-java/jettison/jettison-1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jettison/jettison-1.0.ebuild,v 1.1 2009/02/05 00:22:59 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jettison/jettison-1.0.ebuild,v 1.2 2009/02/05 00:36:59 betelgeuse Exp $
EAPI=2
JAVA_PKG_IUSE="doc source"
@@ -17,7 +17,7 @@ KEYWORDS="~x86"
IUSE=""
-COMMON_DEP=""
+COMMON_DEP="java-virtuals/jaxp-virtual"
RDEPEND=">=virtual/jre-1.4
${COMMON_DEP}"
@@ -33,6 +33,8 @@ src_prepare(){
cp -v "${FILESDIR}"/build.xml "${S}/build.xml" || die
}
+EANT_GENTOO_CLASSPATH="jaxp-virtual"
+
src_install() {
java-pkg_dojar dist/"${PN}.jar"
use doc && java-pkg_dojavadoc docs