summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-28 20:03:50 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-28 20:03:50 +0000
commitfec9d35d1ad40aa7a4d78b722bbbabee1c071907 (patch)
treefe299249080477f5491fc14fac87e7a1e5484d7d /dev-java/jdynamite
parentMask dev-java/qat (diff)
downloadgentoo-2-fec9d35d1ad40aa7a4d78b722bbbabee1c071907.tar.gz
gentoo-2-fec9d35d1ad40aa7a4d78b722bbbabee1c071907.tar.bz2
gentoo-2-fec9d35d1ad40aa7a4d78b722bbbabee1c071907.zip
Fix to work with JAVA_PKG_STRICT.
(Portage version: 2.1.2.5)
Diffstat (limited to 'dev-java/jdynamite')
-rw-r--r--dev-java/jdynamite/ChangeLog8
-rw-r--r--dev-java/jdynamite/files/1.2-build.xml2
-rw-r--r--dev-java/jdynamite/jdynamite-1.2.ebuild12
3 files changed, 12 insertions, 10 deletions
diff --git a/dev-java/jdynamite/ChangeLog b/dev-java/jdynamite/ChangeLog
index b714607e0efa..8c41a709417b 100644
--- a/dev-java/jdynamite/ChangeLog
+++ b/dev-java/jdynamite/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/jdynamite
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jdynamite/ChangeLog,v 1.3 2006/09/11 17:47:13 nelchael Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdynamite/ChangeLog,v 1.4 2007/04/28 20:03:50 betelgeuse Exp $
+
+ 28 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> files/1.2-build.xml,
+ jdynamite-1.2.ebuild:
+ Fix to work with JAVA_PKG_STRICT.
11 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> jdynamite-1.2.ebuild:
Added ~ppc.
diff --git a/dev-java/jdynamite/files/1.2-build.xml b/dev-java/jdynamite/files/1.2-build.xml
index eca166f809fd..86bd14df4658 100644
--- a/dev-java/jdynamite/files/1.2-build.xml
+++ b/dev-java/jdynamite/files/1.2-build.xml
@@ -2,7 +2,7 @@
<project name="jdynamite" default="all" basedir=".">
<target name="compile">
- <javac debug="true" srcdir="src" destdir="build"/>
+ <javac debug="true" srcdir="src" classpath="${gentoo.classpath}" destdir="build"/>
</target>
<target name="jar" depends="compile">
diff --git a/dev-java/jdynamite/jdynamite-1.2.ebuild b/dev-java/jdynamite/jdynamite-1.2.ebuild
index 3d62740642a2..e192334c830b 100644
--- a/dev-java/jdynamite/jdynamite-1.2.ebuild
+++ b/dev-java/jdynamite/jdynamite-1.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jdynamite/jdynamite-1.2.ebuild,v 1.3 2006/09/11 17:47:13 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdynamite/jdynamite-1.2.ebuild,v 1.4 2007/04/28 20:03:50 betelgeuse Exp $
inherit java-pkg-2 java-ant-2
@@ -31,14 +31,12 @@ src_unpack() {
cp "${FILESDIR}/${PV}-build.xml" "${S}/build.xml"
+ mkdir "${S}/build" || die "mkdir failed"
}
src_compile() {
-
- mkdir "${S}/build" || die "mkdir failed"
-
- eant -lib $(java-pkg_getjars gnu-regexp-1) jar || die "ant failed"
-
+ EANT_GENTOO_CLASSPATH="gnu-regexp-1" \
+ java-pkg-2_src_compile
}
src_install() {