aboutsummaryrefslogtreecommitdiff
path: root/java/openjit/Makefile
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2003-10-23 04:26:01 +0000
committerGreg Lewis <glewis@FreeBSD.org>2003-10-23 04:26:01 +0000
commita3bacdacb1394d803b6f8f13a09186969959e8a8 (patch)
tree06d1c3468388a45022e422a3b03d9eef88b5d7da /java/openjit/Makefile
parente4076a018eb0ba76180365cd455470088ac8048e (diff)
downloadports-a3bacdacb1394d803b6f8f13a09186969959e8a8.tar.gz
ports-a3bacdacb1394d803b6f8f13a09186969959e8a8.zip
Notes
Diffstat (limited to 'java/openjit/Makefile')
-rw-r--r--java/openjit/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/openjit/Makefile b/java/openjit/Makefile
index 1c48015bedd3..4d69ba1ad422 100644
--- a/java/openjit/Makefile
+++ b/java/openjit/Makefile
@@ -38,8 +38,12 @@ CONFIGURE_ARGS+= --with-jdk=${JAVA_HOME}
CPIO?= /usr/bin/cpio
+PLIST_SUB+= JAVADIR=${JAVA_HOME:S,${PREFIX}/,,}
.if defined(WITH_JDK11)
JAVALIBDIR= ${PREFIX}/lib/OpenJIT
+PLIST_SUB+= JAVA2:="@comment " JAVA11:=""
+.else
+PLIST_SUB+= JAVA2:="" JAVA11:="@comment "
.endif
post-configure: