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

ryandesign at macports.org ryandesign at macports.org
Fri Nov 14 22:11:26 PST 2008


Revision: 42102
          http://trac.macports.org/changeset/42102
Author:   ryandesign at macports.org
Date:     2008-11-14 22:11:25 -0800 (Fri, 14 Nov 2008)
Log Message:
-----------
php4: remove crypt variant; include mcrypt/mhash support always, like php5

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

Modified: trunk/dports/www/php4/Portfile
===================================================================
--- trunk/dports/www/php4/Portfile	2008-11-15 05:51:24 UTC (rev 42101)
+++ trunk/dports/www/php4/Portfile	2008-11-15 06:11:25 UTC (rev 42102)
@@ -4,7 +4,7 @@
 
 name                    php4
 version                 4.4.9
-revision                2
+revision                3
 categories              www php lang
 maintainers             jwa ryandesign
 homepage                http://www.php.net/
@@ -48,6 +48,8 @@
     port:tiff \
     port:libxml2 \
     port:libtool \
+    port:mhash \
+    port:libmcrypt \
     port:curl \
     port:gd2 \
     port:jpeg \
@@ -84,6 +86,8 @@
     --with-expat-dir=${prefix} \
     --with-dom=${prefix} \
     --with-openssl=${prefix} \
+    --with-mhash=${prefix} \
+    --with-mcrypt=${prefix} \
     --with-mime-magic \
     --with-curl=${prefix} \
     --with-gd=${prefix} \
@@ -151,15 +155,6 @@
         --with-apxs2=${prefix}/apache20/bin/apxs
 }
 
-variant crypt description {interface to mcrypt library} {
-    depends_lib-append \
-        port:mhash \
-        port:libmcrypt
-    configure.args-append \
-        --with-mhash=${prefix} \
-        --with-mcrypt=${prefix}
-}
-
 variant mysql3 conflicts mysql4 mysql5 description {MySQL 3 functions} {
     depends_lib-append \
         port:mysql3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081114/912d93a4/attachment.html>


More information about the macports-changes mailing list