[PATCH] ports/www/galeon Werror problem

Dirk Meyer dirk.meyer at dinoex.sub.org
Fri Apr 4 22:56:00 PST 2003


galeon compiles here only with "--disable-werror"
It would be nice when the ports honors
NO_WERROR=yes in /etc/make.conf

any objections that I commit this?

kind regards Dirk

- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
- [dirk.meyer at dinoex.sub.org],[dirk.meyer at guug.de],[dinoex at FreeBSD.org]

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/galeon/Makefile,v
retrieving revision 1.96
diff -u -r1.96 Makefile
--- Makefile	4 Apr 2003 07:07:47 -0000	1.96
+++ Makefile	5 Apr 2003 05:56:03 -0000
@@ -75,6 +75,10 @@
 .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
 


More information about the freebsd-gnome mailing list