summaryrefslogtreecommitdiffstats
path: root/games/wormux
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-07-14 22:42:55 +0000
committermiwi <miwi@FreeBSD.org>2007-07-14 22:42:55 +0000
commit5b9e476a03361de4a4e25286d820797e246d4468 (patch)
tree2a5ec2483c5db9b2b158139c156d7b69eaa07487 /games/wormux
parent8c4dbb406296b21cb023a5822b404a09b0aa37a8 (diff)
downloadFreeBSD-ports-5b9e476a03361de4a4e25286d820797e246d4468.zip
FreeBSD-ports-5b9e476a03361de4a4e25286d820797e246d4468.tar.gz
- Fix build with gcc 4.2
Approved by: maintainer via privat mail
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 18db0a4..200c7eb 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>
OpenPOWER on IntegriCloud