aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/openjdk7/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/java/openjdk7/Makefile b/java/openjdk7/Makefile
index 7b2b5d97f876..d244934e32b7 100644
--- a/java/openjdk7/Makefile
+++ b/java/openjdk7/Makefile
@@ -135,6 +135,11 @@ BOOTSTRAPJDKDIR?= ${LOCALBASE}/bootstrap-openjdk
BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:${PORTSDIR}/java/bootstrap-openjdk
.endif
+.if ${OSVERSION} < 800000
+PATCH_DEPENDS+= gpatch:${PORTSDIR}/devel/patch
+PATCH= gpatch
+.endif
+
post-patch:
@${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|" \
${WRKSRC}/hotspot/src/os/bsd/vm/os_bsd.cpp