summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/cssc/Makefile8
-rw-r--r--games/cube/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/devel/cssc/Makefile b/devel/cssc/Makefile
index e4e8b3c86c8e..57cb1fd400ee 100644
--- a/devel/cssc/Makefile
+++ b/devel/cssc/Makefile
@@ -23,4 +23,10 @@ INFO= cssc
WRKSRC= ${WRKDIR}/CSSC-0.15alpha.pl0
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/games/cube/Makefile b/games/cube/Makefile
index 79636c5e0cc6..a1e9d6b375fb 100644
--- a/games/cube/Makefile
+++ b/games/cube/Makefile
@@ -27,6 +27,12 @@ BUILD_WRKSRC= ${WRKSRC}/source/src
DATADIR= ${PREFIX}/share/cube
CONFIGURE_WRKSRC= ${WRKSRC}/source/enet
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-extract:
@ ${UNZIP_CMD} -a -q -o ${WRKSRC}/source/${DISTNAME}_src.zip -d ${WRKSRC}/source/
@@ -47,4 +53,4 @@ do-install:
${CP} -Rp ${WRKSRC}/data ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/autoexec.cfg ${DATADIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>