aboutsummaryrefslogtreecommitdiff
path: root/www/galeon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/galeon/Makefile')
-rw-r--r--www/galeon/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/galeon/Makefile b/www/galeon/Makefile
index 98a9aae77fa6..c9246ab5557a 100644
--- a/www/galeon/Makefile
+++ b/www/galeon/Makefile
@@ -75,6 +75,10 @@ CONFIGURE_ARGS+= --enable-nautilus-view
.if ${OSVERSION} > 500000
# Galeon does not build correctly in -CURRENT if -Werror is passed
# to the compiler.
+NO_WERROR= yes
+.endif
+# allow build with more warnings enabled
+.if defined(NO_WERROR)
CONFIGURE_ARGS+= --disable-werror
.endif