diff options
author | miwi <miwi@FreeBSD.org> | 2007-07-15 06:42:55 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-07-15 06:42:55 +0800 |
commit | 5b9e476a03361de4a4e25286d820797e246d4468 (patch) | |
tree | 2a5ec2483c5db9b2b158139c156d7b69eaa07487 /games/warmux | |
parent | 8c4dbb406296b21cb023a5822b404a09b0aa37a8 (diff) | |
download | freebsd-ports-gnome-5b9e476a03361de4a4e25286d820797e246d4468.tar.gz freebsd-ports-gnome-5b9e476a03361de4a4e25286d820797e246d4468.tar.zst freebsd-ports-gnome-5b9e476a03361de4a4e25286d820797e246d4468.zip |
- Fix build with gcc 4.2
Approved by: maintainer via privat mail
Diffstat (limited to 'games/warmux')
-rw-r--r-- | games/warmux/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/games/warmux/Makefile b/games/warmux/Makefile index 18db0a44b047..200c7ebeffa4 100644 --- a/games/warmux/Makefile +++ b/games/warmux/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> |