summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 a5e42cb2075..a04082f9c8a 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) \