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/lz4-java/
Date: Mon,  4 Dec 2023 08:58:41 +0000 (UTC)	[thread overview]
Message-ID: <1701680096.5cea8e18d914dcd78aafb95a14176b7437c61f40.fordfrog@gentoo> (raw)

commit:     5cea8e18d914dcd78aafb95a14176b7437c61f40
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Dec  3 07:54:02 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Dec  4 08:54:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cea8e18

dev-java/lz4-java: simplify ebuild using java-pkg_get-jni-cflags

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/34102
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/lz4-java/lz4-java-1.8.0-r4.ebuild | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/dev-java/lz4-java/lz4-java-1.8.0-r4.ebuild b/dev-java/lz4-java/lz4-java-1.8.0-r4.ebuild
index 430ed388f301..76d25540b9e5 100644
--- a/dev-java/lz4-java/lz4-java-1.8.0-r4.ebuild
+++ b/dev-java/lz4-java/lz4-java-1.8.0-r4.ebuild
@@ -69,14 +69,12 @@ src_compile() {
 	mkdir -p build/objects/src/jni
 	mkdir -p build/jni/net/jpountz/util/linux/amd64
 	"$(tc-getCC)" ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} \
-		-I$(java-config -O)/../include -I$(java-config -O)/../include/linux \
-		-I$(java-config -O)/include -I$(java-config -O)/include/linux \
+		$(java-pkg_get-jni-cflags) \
 		-Ibuild/jni-headers \
 		-c -o build/objects/src/jni/net_jpountz_lz4_LZ4JNI.o \
 		src/jni/net_jpountz_lz4_LZ4JNI.c
 	"$(tc-getCC)" ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} \
-		-I$(java-config -O)/../include -I$(java-config -O)/../include/linux \
-		-I$(java-config -O)/include -I$(java-config -O)/include/linux \
+		$(java-pkg_get-jni-cflags) \
 		-Ibuild/jni-headers \
 		-c -o build/objects/src/jni/net_jpountz_xxhash_XXHashJNI.o \
 		src/jni/net_jpountz_xxhash_XXHashJNI.c


             reply	other threads:[~2023-12-04  8:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-04  8:58 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-11 12:12 [gentoo-commits] repo/gentoo:master commit in: dev-java/lz4-java/ Miroslav Šulc
2024-01-03  9:12 Sam James
2024-01-03  8:53 Sam James
2024-01-03  8:53 Sam James
2024-01-03  8:53 Sam James
2023-11-27  8:54 Miroslav Šulc
2023-11-27  8:54 Miroslav Šulc
2023-11-26  9:08 Miroslav Šulc
2022-03-12  9:42 Arthur Zamarin
2022-03-09 10:23 Jakov Smolić
2022-03-09 10:23 Jakov Smolić
2022-03-09  9:20 Agostino Sarubbo

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=1701680096.5cea8e18d914dcd78aafb95a14176b7437c61f40.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