diff options
author | philip <philip@FreeBSD.org> | 2009-10-01 19:43:27 +0800 |
---|---|---|
committer | philip <philip@FreeBSD.org> | 2009-10-01 19:43:27 +0800 |
commit | 6c36d0055ac9f40521200ef14abd8051cf23a33d (patch) | |
tree | a698758338309638bc929751053a93727b704457 /games/wesnoth | |
parent | ad86f0bdb131512b58365fcc0505ec060d412b73 (diff) | |
download | freebsd-ports-gnome-6c36d0055ac9f40521200ef14abd8051cf23a33d.tar.gz freebsd-ports-gnome-6c36d0055ac9f40521200ef14abd8051cf23a33d.tar.zst freebsd-ports-gnome-6c36d0055ac9f40521200ef14abd8051cf23a33d.zip |
Work around build breakage when compiling with strict error checking.
PR: ports/138971
Submitted by: OndÅej Majerech <oxyd.oxyd@gmail.com>, Anonymous <swell.k@gmail.com>
Diffstat (limited to 'games/wesnoth')
-rw-r--r-- | games/wesnoth/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile index de4b0ab97ebd..e4220a044293 100644 --- a/games/wesnoth/Makefile +++ b/games/wesnoth/Makefile @@ -63,6 +63,11 @@ PLIST_FILES+= man/${manlang}/man6/wesnoth.6.gz CONFIGURE_ARGS+= --enable-debug .endif +# XXX: breaks compilation because of -Werror +.if !defined(WITH_STRICT) +CONFIGURE_ARGS+= --disable-strict-compilation +.endif + .if defined(WITHOUT_CAMPAIGN) PLIST_SUB+= CAMPAIGN="@comment " .else |