aboutsummaryrefslogtreecommitdiff
path: root/lang/njs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/njs/Makefile')
-rw-r--r--lang/njs/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/njs/Makefile b/lang/njs/Makefile
index e05e5796d645..83cade30eba0 100644
--- a/lang/njs/Makefile
+++ b/lang/njs/Makefile
@@ -28,6 +28,12 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
MAN1= js.1 jsdas.1
INFO= js
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-extract:
@${RM} ${WRKSRC}/docs/js.info*
@@ -41,4 +47,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>