Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Apr 2003 08:20:10 +0200
From:      dirk.meyer@dinoex.sub.org (Dirk Meyer)
To:        gnome@FreeBSD.org
Subject:   [PATCH] ports/www/galeon Werror problem
Message-ID:  <ku3R/Rw1%2BQ@dmeyer.dinoex.sub.org>

next in thread | raw e-mail | index | archive | help

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@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ku3R/Rw1%2BQ>