[25012] trunk/dports/devel/glib2/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Fri May 11 00:42:04 PDT 2007


Revision: 25012
          http://trac.macosforge.org/projects/macports/changeset/25012
Author:   ryandesign at macports.org
Date:     2007-05-11 00:42:04 -0700 (Fri, 11 May 2007)

Log Message:
-----------
Use new configure.(ldflags|cflags)-append syntax. No longer override
LDFLAGS, CFLAGS and CPPFLAGS. This also seems to fix the +universal
variant.

And no longer use -O3. It's been there since the first version of
the port but I don't know why glib2 should be singled out for that
"optimization," if it even is one; all generated code files are
exactly the same size with either -O2 or -O3 so I'm getting rid of it.

Modified Paths:
--------------
    trunk/dports/devel/glib2/Portfile

Modified: trunk/dports/devel/glib2/Portfile
===================================================================
--- trunk/dports/devel/glib2/Portfile	2007-05-11 07:32:56 UTC (rev 25011)
+++ trunk/dports/devel/glib2/Portfile	2007-05-11 07:42:04 UTC (rev 25012)
@@ -38,11 +38,11 @@
 depends_lib \
 	port:gettext
 
-configure.env \
-	LDFLAGS="-L${prefix}/lib -bind_at_load" \
-	CPPFLAGS="-I${prefix}/include" \
-	CFLAGS="-O3 -funroll-loops -fstrict-aliasing"
-
+configure.ldflags-append \
+	-bind_at_load
+configure.cflags-append \
+	-funroll-loops \
+	-fstrict-aliasing
 configure.args \
 	--mandir=${prefix}/share/man
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070511/7f552d20/attachment.html


More information about the macports-changes mailing list