diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2007-10-02 10:03:24 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2007-10-02 10:03:24 +0000 |
commit | 8317eb7d8b1eac8093303bc36c9d62107fd089ac (patch) | |
tree | b5ad7061e1e5009af68838eaf09588714ed11b50 /games/noegnud-nethack | |
parent | c57c6184583e7a7f265be75927a01367208f269f (diff) | |
download | ports-8317eb7d8b1eac8093303bc36c9d62107fd089ac.tar.gz ports-8317eb7d8b1eac8093303bc36c9d62107fd089ac.zip |
Notes
Diffstat (limited to 'games/noegnud-nethack')
-rw-r--r-- | games/noegnud-nethack/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/games/noegnud-nethack/Makefile b/games/noegnud-nethack/Makefile index 69f07b8e2467..dd0b88d4ca33 100644 --- a/games/noegnud-nethack/Makefile +++ b/games/noegnud-nethack/Makefile @@ -35,6 +35,10 @@ INSTALL_TARGET= install_nh343 .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}-nethack-3.4.3) @(${PATCH} ${PATCH_ARGS} < ${FILESDIR}/noegnud-nethack.patch) -.if ${OSVERSION} < 502103 - @${REINPLACE_CMD} -e 's/regex\.h/gnuregex\.h/' \ - ${WRKSRC}/nethack-3.4.3/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}-nethack-3.4.3/Makefile) |