aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-11-10 20:46:08 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-11-10 20:47:29 +0500
commit6b6e5f4bb0c7a31aed89adad2e5bb818a13d10e7 (patch)
treef50e4ac6d55e35bea9369ea1b892f995e8871657 /net-libs
parentdev-vcs/got: add 0.79, drop 0.77-r1 (diff)
downloadguru-6b6e5f4bb0c7a31aed89adad2e5bb818a13d10e7.tar.gz
guru-6b6e5f4bb0c7a31aed89adad2e5bb818a13d10e7.tar.bz2
guru-6b6e5f4bb0c7a31aed89adad2e5bb818a13d10e7.zip
net-libs/td: java fixup
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/td/td-1.8.0.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/net-libs/td/td-1.8.0.ebuild b/net-libs/td/td-1.8.0.ebuild
index 3d6ce62e2..898dbeaa8 100644
--- a/net-libs/td/td-1.8.0.ebuild
+++ b/net-libs/td/td-1.8.0.ebuild
@@ -21,7 +21,7 @@ DEPEND="
dev-libs/openssl:=
sys-libs/zlib:=
dotnet? ( virtual/dotnet-sdk:* )
- java? ( virtual/jdk:*[-headless-awt] )
+ java? ( >=virtual/jdk-11:*[-headless-awt] )
"
RDEPEND="${DEPEND}"
BDEPEND="
@@ -65,9 +65,8 @@ src_configure() {
)
if use java; then
- local JAVA_HOME=$(java-config -O)
- local JAVA_AWT_LIBRARY=$(echo "${JAVA_HOME}"/jre/lib/*/libjawt.so)
- local JAVA_JVM_LIBRARY=$(echo "${JAVA_HOME}"/jre/lib/*/libjava.so)
+ local JAVA_AWT_LIBRARY="${JAVA_HOME}/lib/libjawt.so"
+ local JAVA_JVM_LIBRARY="${JAVA_HOME}/lib/libjava.so"
mycmakeargs+=(
-DTD_ENABLE_JNI=ON