aboutsummaryrefslogtreecommitdiffstats
path: root/games/wesnoth
diff options
context:
space:
mode:
authorphilip <philip@FreeBSD.org>2009-10-01 19:43:27 +0800
committerphilip <philip@FreeBSD.org>2009-10-01 19:43:27 +0800
commit6c36d0055ac9f40521200ef14abd8051cf23a33d (patch)
treea698758338309638bc929751053a93727b704457 /games/wesnoth
parentad86f0bdb131512b58365fcc0505ec060d412b73 (diff)
downloadfreebsd-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/Makefile5
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