summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2018-03-10 21:58:54 +0000
committerJames Le Cuirot <chewi@gentoo.org>2018-03-10 21:58:54 +0000
commit0692f677947c1b422ab0d896209239e154df3b2d (patch)
treefc292e59442585c18509f95c8d277d343fcecbc8 /dev-libs/beecrypt
parentdev-java/oracle-jre-bin: Fix installation of fontconfig.properties (diff)
downloadgentoo-0692f677947c1b422ab0d896209239e154df3b2d.tar.gz
gentoo-0692f677947c1b422ab0d896209239e154df3b2d.tar.bz2
gentoo-0692f677947c1b422ab0d896209239e154df3b2d.zip
dev-libs/beecrypt: Override JNI CFLAG detection with eclass helper
The detection was failing for some people. I wasn't able to reproduce this but the detection is a bit convoluted in any case so using the eclass helper is much safer. Closes: https://bugs.gentoo.org/582052 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-libs/beecrypt')
-rw-r--r--dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild
index a5e42cb20751..a04082f9c8ae 100644
--- a/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild
+++ b/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild
@@ -43,7 +43,7 @@ PATCHES=(
pkg_setup() {
use python && python-single-r1_pkg_setup
- use java && java-pkg-opt-2_pkg_setup
+ java-pkg-opt-2_pkg_setup
}
src_prepare() {
@@ -57,6 +57,7 @@ src_configure() {
append-cxxflags -std=c++14
# cplusplus needs threads support
+ ac_cv_java_include=$(use java && java-pkg_get-jni-cflags) \
econf \
--disable-expert-mode \
$(use_enable static-libs static) \