aboutsummaryrefslogtreecommitdiff
path: root/games/noegnud-slashem
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2007-10-02 10:03:24 +0000
committerMark Linimon <linimon@FreeBSD.org>2007-10-02 10:03:24 +0000
commit8317eb7d8b1eac8093303bc36c9d62107fd089ac (patch)
treeb5ad7061e1e5009af68838eaf09588714ed11b50 /games/noegnud-slashem
parentc57c6184583e7a7f265be75927a01367208f269f (diff)
downloadports-8317eb7d8b1eac8093303bc36c9d62107fd089ac.tar.gz
ports-8317eb7d8b1eac8093303bc36c9d62107fd089ac.zip
Mark as broken on gcc4.2. While here, remove obsolete cruft.
Notes
Notes: svn path=/head/; revision=200638
Diffstat (limited to 'games/noegnud-slashem')
-rw-r--r--games/noegnud-slashem/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/games/noegnud-slashem/Makefile b/games/noegnud-slashem/Makefile
index 390e13b24805..c60622d8bca8 100644
--- a/games/noegnud-slashem/Makefile
+++ b/games/noegnud-slashem/Makefile
@@ -35,6 +35,10 @@ INSTALL_TARGET= install_se006e4f8
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
pre-everything::
.if ${HAVE_SDL}
@${ECHO_MSG} "This port depends on SDL with OpenGL support."
@@ -49,13 +53,6 @@ post-extract:
post-patch:
(cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-slashem-0.0.6E4F8)
@(${PATCH} ${PATCH_ARGS} < ${FILESDIR}/noegnud-slashem.patch)
-.if ${OSVERSION} < 502103
- @${REINPLACE_CMD} -e 's/regex\.h/gnuregex\.h/' \
- ${WRKSRC}/slashem-0.0.6E4F8/src/sounds.c \
- ${PATCH_WRKSRC}/noegnud/noegnud_textcolour.c \
- ${PATCH_WRKSRC}/noegnud/noegnud_textcolour.h \
- ${PATCH_WRKSRC}/noegnud/noegnud_textcolouring.c
-.endif
do-configure:
(cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-slashem-0.0.6E4F8/Makefile)