summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-05-18 16:06:43 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-05-18 16:06:57 +0200
commitf1f7e7e2b8ada6ae59377d55d7416df77c80168f (patch)
treecee2d05aec994e6b11065fc09ed2c05f7145c989 /dev-java/trident
parentdev-java/trident: min java 1.8, swt:4.10 (diff)
downloadgentoo-f1f7e7e2b8ada6ae59377d55d7416df77c80168f.tar.gz
gentoo-f1f7e7e2b8ada6ae59377d55d7416df77c80168f.tar.bz2
gentoo-f1f7e7e2b8ada6ae59377d55d7416df77c80168f.zip
dev-java/trident: fixed compilation of 1.3-r1
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/trident')
-rw-r--r--dev-java/trident/trident-1.3-r1.ebuild6
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