aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/cocoon/Makefile8
-rw-r--r--www/cocoon/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/textproc/cocoon/Makefile b/textproc/cocoon/Makefile
index f5298bf5dec5..ef0104da1c74 100644
--- a/textproc/cocoon/Makefile
+++ b/textproc/cocoon/Makefile
@@ -25,6 +25,12 @@ JDIR= ${PREFIX}/share/java/classes
CDIR= ${PREFIX}/etc/apache/cocoon
SDIR= ${PREFIX}/share/java/cocoon
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502112
+BROKEN= "Does not compile on 5.x"
+.endif
+
pre-build:
${CHMOD} a+rx ${WRKSRC}/build.sh
@@ -60,4 +66,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/cocoon/Makefile b/www/cocoon/Makefile
index f5298bf5dec5..ef0104da1c74 100644
--- a/www/cocoon/Makefile
+++ b/www/cocoon/Makefile
@@ -25,6 +25,12 @@ JDIR= ${PREFIX}/share/java/classes
CDIR= ${PREFIX}/etc/apache/cocoon
SDIR= ${PREFIX}/share/java/cocoon
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502112
+BROKEN= "Does not compile on 5.x"
+.endif
+
pre-build:
${CHMOD} a+rx ${WRKSRC}/build.sh
@@ -60,4 +66,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>