aboutsummaryrefslogtreecommitdiffstats
path: root/games/nil
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-09-19 09:33:42 +0800
committerkris <kris@FreeBSD.org>2004-09-19 09:33:42 +0800
commit51260313e1ac0f38bac47e7c4bc93c03bbb5306e (patch)
tree8c2350eef3ca5c95d6f72dcf56e1fa650461d0b9 /games/nil
parent4c177f09633394226dead6758e7f40d8807d5f2d (diff)
downloadfreebsd-ports-gnome-51260313e1ac0f38bac47e7c4bc93c03bbb5306e.tar.gz
freebsd-ports-gnome-51260313e1ac0f38bac47e7c4bc93c03bbb5306e.tar.zst
freebsd-ports-gnome-51260313e1ac0f38bac47e7c4bc93c03bbb5306e.zip
BROKEN on 5.x: Does not compile
Approved by: portmgr (self)
Diffstat (limited to 'games/nil')
-rw-r--r--games/nil/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/nil/Makefile b/games/nil/Makefile
index 5458de835662..bd563d95f3ed 100644
--- a/games/nil/Makefile
+++ b/games/nil/Makefile
@@ -22,6 +22,12 @@ GNU_CONFIGURE= yes
USE_REINPLACE= yes
USE_SDL= mixer sdl
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-patch:
@${FIND} ${WRKSRC} \( -name "*.[ch]" -or -name "*.cpp" \) | \
${XARGS} ${REINPLACE_CMD} -e 's|"SDL/|"|g ; s|<SDL/|<|g'
@@ -40,4 +46,4 @@ post-install:
@${ECHO_MSG} "See ${PREFIX}/share/nil/README for usage instructions."
@${ECHO_MSG} ""
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>