summaryrefslogtreecommitdiff
path: root/www/galeon2
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-04-05 18:46:56 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-04-05 18:46:56 +0000
commit39387b948671799f3213081c9b873e13743bc42e (patch)
treead4b8388fbed614107e0f27b68002894598e3496 /www/galeon2
parentadd chmlib 0.3.1 (diff)
allow build with more warnings enabled, NO_WERROR=yes
Approved by: marcus
Notes
Notes: svn path=/head/; revision=78324
Diffstat (limited to 'www/galeon2')
-rw-r--r--www/galeon2/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/galeon2/Makefile b/www/galeon2/Makefile
index 683744ff4dea..78b0d0dfa4f3 100644
--- a/www/galeon2/Makefile
+++ b/www/galeon2/Makefile
@@ -62,6 +62,10 @@ FLASHPLAYER= ${LOCALBASE}/lib/libflashplayer.so.1
.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