diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/openjit/Makefile | 4 |
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: |