diff options
Diffstat (limited to 'dev-java/trident/trident-1.3-r1.ebuild')
-rw-r--r-- | dev-java/trident/trident-1.3-r1.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-java/trident/trident-1.3-r1.ebuild b/dev-java/trident/trident-1.3-r1.ebuild index 80d22e18305c..8a029be2e54a 100644 --- a/dev-java/trident/trident-1.3-r1.ebuild +++ b/dev-java/trident/trident-1.3-r1.ebuild @@ -35,7 +35,6 @@ S="${WORKDIR}" JAVA_ANT_REWRITE_CLASSPATH="true" EANT_BUILD_TARGET="timestamp init clean compile.module.trident jar" EANT_GENTOO_CLASSPATH="swt-4.10" -EANT_EXTRA_ARGS="-Djdk.home=${JAVA_HOME}" src_prepare() { default @@ -43,6 +42,11 @@ src_prepare() { rm -r src/org/pushingpixels/trident/android/ || die } +src_compile() { + EANT_EXTRA_ARGS="-Djdk.home=$(java-config -O)" + java-pkg-2_src_compile +} + src_install() { java-pkg_dojar drop/${PN}.jar |