aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/x10/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/lang/x10/Makefile b/lang/x10/Makefile
index ea02f20a0023..1dbdec82a82a 100644
--- a/lang/x10/Makefile
+++ b/lang/x10/Makefile
@@ -41,7 +41,11 @@ WRKSRC= ${WRKDIR}/x10.dist
OPTIONS_DEFINE= EXAMPLES
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
+
+.if ${JAVA_PORT_VERSION:M1.8.*}
+BROKEN= Does not build with JDK 1.8
+.endif
post-patch:
${REINPLACE_CMD} -e 's/value="make"/value="gmake"/g' \
@@ -72,4 +76,4 @@ do-install:
${CP} -R ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>