aboutsummaryrefslogtreecommitdiff
path: root/games/noegnud-littlehack
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-littlehack
parentc57c6184583e7a7f265be75927a01367208f269f (diff)
downloadports-8317eb7d8b1eac8093303bc36c9d62107fd089ac.tar.gz
ports-8317eb7d8b1eac8093303bc36c9d62107fd089ac.zip
Notes
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)