diff options
author | Steve Wills <swills@FreeBSD.org> | 2015-10-12 13:27:17 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2015-10-12 13:27:17 +0000 |
commit | 20f1a1f3cf68f1be3a732265d73e77c5b3617325 (patch) | |
tree | 3ca40bdcd4a140f9b16a94162042c31277e8f350 /graphics/jogl/Makefile | |
parent | b9f21ba8cee16bab13c4974a5b36ee0396a9075e (diff) | |
download | ports-20f1a1f3cf68f1be3a732265d73e77c5b3617325.tar.gz ports-20f1a1f3cf68f1be3a732265d73e77c5b3617325.zip |
graphics/jogl: fix build with OpenJDK8
PR: 203495
Approved by: peterj (maintainer)
Notes
Notes:
svn path=/head/; revision=399125
Diffstat (limited to 'graphics/jogl/Makefile')
-rw-r--r-- | graphics/jogl/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/graphics/jogl/Makefile b/graphics/jogl/Makefile index c9fae26869e8..590c79175634 100644 --- a/graphics/jogl/Makefile +++ b/graphics/jogl/Makefile @@ -52,13 +52,22 @@ ALL_TARGET+= javadoc .include <bsd.port.pre.mk> -.if ${JAVA_PORT_VERSION} == "1.6.0" +.if ${JAVA_PORT_VERSION:M1.6.*} PLIST_SUB+= JDK6="" PLIST_SUB+= JDK7="@comment " -.else +.endif +.if ${JAVA_PORT_VERSION:M1.7.*} PLIST_SUB+= JDK6="@comment " PLIST_SUB+= JDK7="" .endif +.if ${JAVA_PORT_VERSION:M1.8.*} +PLIST_SUB+= JDK6="@comment " +PLIST_SUB+= JDK7="@comment " +.endif + +.if ${JAVA_PORT_VERSION:M1.8.*} +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-build.xml +.endif post-patch: @${REINPLACE_CMD} -e 's|%%JAVALIBDIR%%|${JAVALIBDIR}|g' \ |