aboutsummaryrefslogtreecommitdiffstats
path: root/java/javel
diff options
context:
space:
mode:
Diffstat (limited to 'java/javel')
-rw-r--r--java/javel/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/java/javel/Makefile b/java/javel/Makefile
index 717b6fb7753e..f8d012c3fc49 100644
--- a/java/javel/Makefile
+++ b/java/javel/Makefile
@@ -19,6 +19,12 @@ MAKEFILE= makefile
MAN1= javel.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500035
+BROKEN= "Does not compile on 5.0"
+.endif
+
post-patch:
@${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
s,CC,CXX,g ; s,CFLAGS,CXXFLAGS,g" ${WRKSRC}/${MAKEFILE}
@@ -27,4 +33,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/javel ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/javel.1 ${MAN1PREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>