[37025] trunk/dports/www/php4/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri May 23 04:07:26 PDT 2008


Revision: 37025
          http://trac.macosforge.org/projects/macports/changeset/37025
Author:   ryandesign at macports.org
Date:     2008-05-23 04:07:25 -0700 (Fri, 23 May 2008)

Log Message:
-----------
php4:

 * always include graphics support, like r15165 for php5
 * use the gd2 port, not the bundled gd2 library, like r37024 for php5

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

Modified: trunk/dports/www/php4/Portfile
===================================================================
--- trunk/dports/www/php4/Portfile	2008-05-23 10:45:51 UTC (rev 37024)
+++ trunk/dports/www/php4/Portfile	2008-05-23 11:07:25 UTC (rev 37025)
@@ -4,6 +4,7 @@
 
 name            php4
 version         4.4.8
+revision        1
 
 categories      www php lang
 maintainers     jwa ryandesign
@@ -39,7 +40,11 @@
     port:openssl \
     port:tiff \
     port:libxml2 \
-    port:libtool
+    port:libtool \
+    port:gd2 \
+    port:jpeg \
+    port:libpng \
+    port:freetype
 
 configure.args	--mandir=${prefix}/share/man --infodir=${prefix}/share/info \
     --includedir=${prefix}/include/php4 \
@@ -57,7 +62,12 @@
     --with-gettext=${prefix} \
     --with-expat-dir=${prefix} \
     --with-dom=${prefix} \
-    --with-openssl=${prefix}
+    --with-openssl=${prefix} \
+    --with-gd=${prefix} \
+    --with-jpeg-dir=${prefix} \
+    --with-png-dir=${prefix} \
+    --enable-gd-native-ttf \
+    --with-freetype-dir=${prefix}
 
 platform darwin 6 {
     depends_lib-append	port:dlcompat
@@ -106,16 +116,6 @@
     configure.args-append	--with-curl=${prefix}
 }
 
-variant gd description {add the ability to create and manipulate images} {
-    depends_lib-append	port:jpeg port:libpng port:freetype
-
-    configure.args-append	--with-gd \
-	--with-jpeg-dir=${prefix} \
-	--with-png-dir=${prefix} \
-	--enable-gd-native-ttf \
-	--with-freetype-dir=${prefix}
-}
-
 variant mysql3 conflicts mysql4 mysql5 description {MySQL 3 functions} {
     depends_lib-append	port:mysql3
     configure.args-append	--with-mysql=${prefix}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080523/7a5fa8ab/attachment.htm 


More information about the macports-changes mailing list