[24589] trunk/dports/www/php5/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat Apr 28 13:09:11 PDT 2007


Revision: 24589
          http://trac.macosforge.org/projects/macports/changeset/24589
Author:   ryandesign at macports.org
Date:     2007-04-28 13:09:10 -0700 (Sat, 28 Apr 2007)

Log Message:
-----------
Use configure.cflags-append etc. instead of configure.env

Modified Paths:
--------------
    trunk/dports/www/php5/Portfile

Modified: trunk/dports/www/php5/Portfile
===================================================================
--- trunk/dports/www/php5/Portfile	2007-04-28 19:45:53 UTC (rev 24588)
+++ trunk/dports/www/php5/Portfile	2007-04-28 20:09:10 UTC (rev 24589)
@@ -94,25 +94,25 @@
 	--without-pear \
 	--with-freetype-dir=${prefix}
 
-configure.env \
-	CFLAGS=-I${prefix}/include/c-client
+configure.cflags-append \
+	-I${prefix}/include/c-client
 
 platform darwin 6 {
 	depends_lib-append \
 		lib:libdl:dlcompat
 	configure.env-append \
-		LDFLAGS=-L${prefix}/lib \
-		CPPFLAGS="-I${prefix}/include -no-cpp-precomp -DBIND_8_COMPAT" \
 		LIBS=-ldl
+	configure.cppflags-append \
+		"-no-cpp-precomp -DBIND_8_COMPAT"
 	# Work around php bug #40410; should be able to remove this once php 5.2.2 is released
 	patchfiles-append patch-posix.c.diff
 }
 
 platform darwin 7 {
 	configure.env-append \
-		LDFLAGS="-L${prefix}/lib" \
-		CPPFLAGS="-I${prefix}/include -no-cpp-precomp" \
 		LIBS=-ldl
+	configure.cppflags-append \
+		"-no-cpp-precomp"
 	# Work around php bug #40410; should be able to remove this once php 5.2.2 is released
 	patchfiles-append patch-posix.c.diff
 }
@@ -122,12 +122,6 @@
 		CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
 }
 
-platform freebsd {
-	configure.env-append \
-		LDFLAGS=-L${prefix}/lib \
-		CPPFLAGS="-I${prefix}/include
-}
-
 variant macosx {
 	configure.args-append \
 		--with-ldap=/usr \

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


More information about the macports-changes mailing list