aboutsummaryrefslogtreecommitdiffstats
path: root/games/noegnud-littlehack
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2007-10-02 18:03:24 +0800
committerlinimon <linimon@FreeBSD.org>2007-10-02 18:03:24 +0800
commitd9a48d53b5e35041b044d135162a67b74b166bb2 (patch)
tree11a256fb5951429c3cc0cdd04c12489732c1e5c2 /games/noegnud-littlehack
parent3ba78dc04c684ce66f45eec4ae5cff21181fca6c (diff)
downloadfreebsd-ports-gnome-d9a48d53b5e35041b044d135162a67b74b166bb2.tar.gz
freebsd-ports-gnome-d9a48d53b5e35041b044d135162a67b74b166bb2.tar.zst
freebsd-ports-gnome-d9a48d53b5e35041b044d135162a67b74b166bb2.zip
Mark as broken on gcc4.2. While here, remove obsolete cruft.
Diffstat (limited to 'games/noegnud-littlehack')
-rw-r--r--games/noegnud-littlehack/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/games/noegnud-littlehack/Makefile b/games/noegnud-littlehack/Makefile
index e41f2df62bda..ff958424d9bb 100644
--- a/games/noegnud-littlehack/Makefile
+++ b/games/noegnud-littlehack/Makefile
@@ -35,6 +35,10 @@ INSTALL_TARGET= install_lh001
.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}-littlehack-0.0.1)
@(${PATCH} ${PATCH_ARGS} < ${FILESDIR}/noegnud-littlehack.patch)
-.if ${OSVERSION} < 502103
- @${REINPLACE_CMD} -e 's/regex\.h/gnuregex\.h/' \
- ${WRKSRC}/littlehack-0.0.1/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}-littlehack-0.0.1/Makefile)