[25841] trunk/dports/www/php5

source_changes at macosforge.org source_changes at macosforge.org
Sun Jun 3 07:18:20 PDT 2007


Revision: 25841
          http://trac.macosforge.org/projects/macports/changeset/25841
Author:   jwa at macports.org
Date:     2007-06-03 07:18:20 -0700 (Sun, 03 Jun 2007)

Log Message:
-----------
found php.net discussion and fix, contained in the patchfile, the fix having
already been applied upstream, so the patchfile and the reference can be 
removed

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

Added Paths:
-----------
    trunk/dports/www/php5/files/patch_configure

Modified: trunk/dports/www/php5/Portfile
===================================================================
--- trunk/dports/www/php5/Portfile	2007-06-03 13:00:15 UTC (rev 25840)
+++ trunk/dports/www/php5/Portfile	2007-06-03 14:18:20 UTC (rev 25841)
@@ -36,6 +36,9 @@
 	sha1 0a02e05e1c663c0d4ee0b253917c0e140e606261 \
 	rmd160 3c895cf7e513e5a3d7d9f742a9d56102cbb3a79b
 
+# the following patch will be unnecessary in the next release (already fixed)
+patchfiles	patch_configure
+
 depends_lib \
 	port:libxml2 \
 	port:libxslt \
@@ -51,7 +54,6 @@
 	port:pcre \
 	port:jpeg \
 	port:libpng \
-	port:gd2 \
 	port:freetype
 
 configure.args \
@@ -85,7 +87,7 @@
 	--with-xsl=${prefix} \
 	--with-curl=${prefix} \
 	--with-pcre-regex=${prefix} \
-	--with-gd=${prefix} \
+	--with-gd \
 	--with-jpeg-dir=${prefix} \
 	--with-png-dir=${prefix} \
 	--enable-gd-native-ttf \

Added: trunk/dports/www/php5/files/patch_configure
===================================================================
--- trunk/dports/www/php5/files/patch_configure	                        (rev 0)
+++ trunk/dports/www/php5/files/patch_configure	2007-06-03 14:18:20 UTC (rev 25841)
@@ -0,0 +1,11 @@
+--- configure	2007-06-03 17:05:34.000000000 +0300
++++ configure	2007-06-03 17:04:48.000000000 +0300
+@@ -42412,7 +42412,7 @@
+ 
+     
+   old_LIBS=$LIBS
+-  LIBS=" -L$GD_LIB $GD_SHARED_LIBADD  $LIBS"
++  LIBS="$GD_SHARED_LIBADD  $LIBS"
+   if test "$cross_compiling" = yes; then
+   
+     LIBS=$old_LIBS

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


More information about the macports-changes mailing list