[35056] trunk/dports/www

ryandesign at macports.org ryandesign at macports.org
Sat Mar 15 23:01:42 PDT 2008


Revision: 35056
          http://trac.macosforge.org/projects/macports/changeset/35056
Author:   ryandesign at macports.org
Date:     2008-03-15 23:01:41 -0700 (Sat, 15 Mar 2008)

Log Message:
-----------
php4, php5, php5-devel: add readline variant; closes #14662
 --This line, and those below, will be ignored--

M    php4/Portfile
M    php5/Portfile
M    php5-devel/Portfile

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

Modified: trunk/dports/www/php4/Portfile
===================================================================
--- trunk/dports/www/php4/Portfile	2008-03-16 04:47:27 UTC (rev 35055)
+++ trunk/dports/www/php4/Portfile	2008-03-16 06:01:41 UTC (rev 35056)
@@ -190,6 +190,13 @@
     }
 }
 
+variant readline description {Add GNU readline functions} {
+    depends_lib-append \
+        port:readline
+    configure.args-append \
+        --with-readline=${prefix}
+}
+
 destroot.args	INSTALL_ROOT=${destroot} PHP_PEAR_INSTALL_DIR=${prefix}/lib/php
 destroot.target	install-cli install-pear install-build install-headers install-programs
 

Modified: trunk/dports/www/php5/Portfile
===================================================================
--- trunk/dports/www/php5/Portfile	2008-03-16 04:47:27 UTC (rev 35055)
+++ trunk/dports/www/php5/Portfile	2008-03-16 06:01:41 UTC (rev 35056)
@@ -318,6 +318,13 @@
 	}
 }
 
+variant readline description {Add GNU readline functions} {
+    depends_lib-append \
+        port:readline
+    configure.args-append \
+        --with-readline=${prefix}
+}
+
 variant sockets description {Add socket communication functions} {
 	# Note: This extension will be moved to the PECL repository and will no longer be bundled with PHP as of PHP 5.3.0.
 	# This variant should be removed when the port is upgraded to PHP 5.3.0.

Modified: trunk/dports/www/php5-devel/Portfile
===================================================================
--- trunk/dports/www/php5-devel/Portfile	2008-03-16 04:47:27 UTC (rev 35055)
+++ trunk/dports/www/php5-devel/Portfile	2008-03-16 06:01:41 UTC (rev 35056)
@@ -311,6 +311,13 @@
     }
 }
 
+variant readline description {Add GNU readline functions} {
+    depends_lib-append \
+        port:readline
+    configure.args-append \
+        --with-readline=${prefix}
+}
+
 variant sockets description {Add socket communication functions} {
 	# Note: This extension will be moved to the PECL repository and will no longer be bundled with PHP as of PHP 5.3.0.
 	# This variant should be removed when the port is upgraded to PHP 5.3.0.

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


More information about the macports-changes mailing list