summaryrefslogtreecommitdiff
path: root/games/wormux
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-07-14 22:42:55 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-07-14 22:42:55 +0000
commitbfe6dadf79677a93872b7f31e0b948e0591148c8 (patch)
tree27473b182d97ef691c5e752c12ff516209b14289 /games/wormux
parent- Add entry about jffnms move (diff)
- Fix build with gcc 4.2
Approved by: maintainer via privat mail
Notes
Notes: svn path=/head/; revision=195629
Diffstat (limited to 'games/wormux')
-rw-r--r--games/wormux/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/wormux/Makefile b/games/wormux/Makefile
index 18db0a44b047..200c7ebeffa4 100644
--- a/games/wormux/Makefile
+++ b/games/wormux/Makefile
@@ -25,11 +25,9 @@ CONFIGURE_ARGS= --with-datadir-name=${DATADIR} --program-prefix="" \
MAN6= wormux.6
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042
-BROKEN= Does not compile with GCC 4.2
-.endif
+post-patch:
+ ${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/Makefile.in \
+ ${WRKSRC}/src/Makefile.in
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
@@ -41,4 +39,4 @@ CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>