diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2010-03-04 10:59:41 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2010-03-04 10:59:41 +0000 |
commit | e540f61101990b704750dd9d85b0bd760b73b535 (patch) | |
tree | 22f50ff5e78dc0b1d1536e32dc38fec35cb14b81 /app-text/trang | |
parent | Version bump. Fixes bug #258643. Thanks to Ralph Sennhauser <gentoo.sera@blue... (diff) | |
download | gentoo-2-e540f61101990b704750dd9d85b0bd760b73b535.tar.gz gentoo-2-e540f61101990b704750dd9d85b0bd760b73b535.tar.bz2 gentoo-2-e540f61101990b704750dd9d85b0bd760b73b535.zip |
Migrate to EANT_GENTOO_CLASSPATH.
(Portage version: 2.2_rc62/cvs/Linux i686)
Diffstat (limited to 'app-text/trang')
-rw-r--r-- | app-text/trang/ChangeLog | 6 | ||||
-rw-r--r-- | app-text/trang/files/build.xml | 4 | ||||
-rw-r--r-- | app-text/trang/trang-20091111.ebuild | 7 |
3 files changed, 9 insertions, 8 deletions
diff --git a/app-text/trang/ChangeLog b/app-text/trang/ChangeLog index a937e0493e2f..938af98be748 100644 --- a/app-text/trang/ChangeLog +++ b/app-text/trang/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/trang # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/trang/ChangeLog,v 1.22 2010/03/04 10:50:30 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/trang/ChangeLog,v 1.23 2010/03/04 10:59:40 betelgeuse Exp $ + + 04 Mar 2010; Petteri Räty <betelgeuse@gentoo.org> trang-20091111.ebuild, + files/build.xml: + Migrate to EANT_GENTOO_CLASSPATH. *trang-20091111 (04 Mar 2010) diff --git a/app-text/trang/files/build.xml b/app-text/trang/files/build.xml index 861a511c8bda..104cabd267a4 100644 --- a/app-text/trang/files/build.xml +++ b/app-text/trang/files/build.xml @@ -29,7 +29,7 @@ </target> <target name="compile" description="Compiles source" depends="prepare"> - <javac srcdir="${src.dir}" destdir="${build.dir}" encoding="UTF-8" classpath="${classpath}"> + <javac srcdir="${src.dir}" destdir="${build.dir}" encoding="UTF-8" classpath="${gentoo.classpath}"> <!-- <compilerarg value="-Xlint:deprecation"/> --> <!-- <compilerarg value="-Xlint"/> --> </javac> @@ -37,7 +37,7 @@ <target name="javadoc" depends="prepare" description="Create javadocs"> <javadoc packagenames="net.*" - classpath="${classpath}" + classpath="${gentoo.classpath}" sourcepath="${src.dir}" defaultexcludes="yes" destdir="./${docs.dir}" diff --git a/app-text/trang/trang-20091111.ebuild b/app-text/trang/trang-20091111.ebuild index f384fd35f500..4b4fd139a0ce 100644 --- a/app-text/trang/trang-20091111.ebuild +++ b/app-text/trang/trang-20091111.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/trang/trang-20091111.ebuild,v 1.1 2010/03/04 10:50:30 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/trang/trang-20091111.ebuild,v 1.2 2010/03/04 10:59:40 betelgeuse Exp $ EAPI="2" JAVA_PKG_IUSE="doc source" @@ -36,10 +36,7 @@ java_prepare() { cp "${FILESDIR}/build.xml" "${S}/build.xml" } -src_compile() { - java-pkg-2_src_compile \ - -Dclasspath="$(java-pkg_getjars xerces-2,xml-commons-resolver)" -} +EANT_GENTOO_CLASSPATH="xerces-2,xml-commons-resolver" src_install() { java-pkg_dojar "dist/${PN}.jar" |