[25612] trunk/dports/math/cln/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat May 26 02:17:10 PDT 2007


Revision: 25612
          http://trac.macosforge.org/projects/macports/changeset/25612
Author:   ryandesign at macports.org
Date:     2007-05-26 02:17:10 -0700 (Sat, 26 May 2007)

Log Message:
-----------
Switch to new configure.(c|cxx|ld)flags-append method instead of ovewriting (C|CXX|LD)FLAGS.
-O2 is in the default (C|CXX)FLAGS so we don't need to say it again.
Remove unneeded (library|include) paths in (LD|CPP)FLAGS; see #11664.
I don't know if the paths are still needed in (C|CXX)FLAGS so I'm leaving them there.

Modified Paths:
--------------
    trunk/dports/math/cln/Portfile

Modified: trunk/dports/math/cln/Portfile
===================================================================
--- trunk/dports/math/cln/Portfile	2007-05-26 07:31:48 UTC (rev 25611)
+++ trunk/dports/math/cln/Portfile	2007-05-26 09:17:10 UTC (rev 25612)
@@ -31,10 +31,19 @@
 		}
 
 platform darwin 8 {
-		configure.env	LDFLAGS="-lstdc++ -L${prefix}/lib"	\
-				CPPFLAGS="-I${prefix}/include"		\
-				CFLAGS="-O2 -fno-exceptions -finline-limit=1000 -I../include -I${prefix}/include"	\
-				CXXFLAGS="-O2 -fno-exceptions -finline-limit=1000 -I../include -I${prefix}/include -L${prefix}/lib"
+	configure.ldflags-append \
+		-lstdc++
+	configure.cflags-append \
+		-fno-exceptions \
+		-finline-limit=1000 \
+		-I../include \
+		-I${prefix}/include
+	configure.cxxflags-append \
+		-fno-exceptions \
+		-finline-limit=1000 \
+		-I../include \
+		-I${prefix}/include \
+		-L${prefix}/lib
 }
 
 

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


More information about the macports-changes mailing list