public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/trident/
Date: Tue, 18 May 2021 14:07:00 +0000 (UTC)	[thread overview]
Message-ID: <1621346817.f1f7e7e2b8ada6ae59377d55d7416df77c80168f.fordfrog@gentoo> (raw)

commit:     f1f7e7e2b8ada6ae59377d55d7416df77c80168f
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Tue May 18 14:06:43 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue May 18 14:06:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1f7e7e2

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 <AT> gentoo.org>

 dev-java/trident/trident-1.3-r1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-java/trident/trident-1.3-r1.ebuild b/dev-java/trident/trident-1.3-r1.ebuild
index 80d22e18305..8a029be2e54 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
 


             reply	other threads:[~2021-05-18 14:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-18 14:07 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-06-18 22:28 [gentoo-commits] repo/gentoo:master commit in: dev-java/trident/ Sam James
2021-05-18 14:07 Miroslav Šulc
2015-08-19 12:37 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1621346817.f1f7e7e2b8ada6ae59377d55d7416df77c80168f.fordfrog@gentoo \
    --to=fordfrog@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox