summaryrefslogtreecommitdiff
path: root/games/nil
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-09-19 01:33:42 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-09-19 01:33:42 +0000
commit5c6f51f8b9971eb31a66d5b1ea298f51f361d12d (patch)
tree9b3688e90456959d9c206c4445c77c02c020d61d /games/nil
parentBROKEN on 5.x: Does not install (diff)
BROKEN on 5.x: Does not compile
Approved by: portmgr (self)
Notes
Notes: svn path=/head/; revision=118278
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>