[44881] trunk/dports/www

ryandesign at macports.org ryandesign at macports.org
Sun Jan 4 04:15:12 PST 2009


Revision: 44881
          http://trac.macports.org/changeset/44881
Author:   ryandesign at macports.org
Date:     2009-01-04 04:15:08 -0800 (Sun, 04 Jan 2009)
Log Message:
-----------
php5, php5-devel: Add system iODBC support only on Mac OS X 10.4 and later; it's broken on 10.3 since PHP 5.2.8. See #17626.

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

Modified: trunk/dports/www/php5/Portfile
===================================================================
--- trunk/dports/www/php5/Portfile	2009-01-04 10:52:08 UTC (rev 44880)
+++ trunk/dports/www/php5/Portfile	2009-01-04 12:15:08 UTC (rev 44881)
@@ -122,8 +122,11 @@
 platform macosx {
     configure.args-append \
         --with-ldap=/usr \
-        --with-kerberos=/usr \
-        --with-iodbc=/usr
+        --with-kerberos=/usr
+    if {${os.major} > 7} {
+        configure.args-append \
+            --with-iodbc=/usr
+    }
 }
 
 variant no_web conflicts apache apache2 fastcgi description {Don't include any web server support} {}

Modified: trunk/dports/www/php5-devel/Portfile
===================================================================
--- trunk/dports/www/php5-devel/Portfile	2009-01-04 10:52:08 UTC (rev 44880)
+++ trunk/dports/www/php5-devel/Portfile	2009-01-04 12:15:08 UTC (rev 44881)
@@ -117,8 +117,11 @@
 platform macosx {
     configure.args-append \
         --with-ldap=/usr \
-        --with-kerberos=/usr \
-        --with-iodbc=/usr
+        --with-kerberos=/usr
+    if {${os.major} > 7} {
+        configure.args-append \
+            --with-iodbc=/usr
+    }
 }
 
 variant no_web conflicts apache apache2 fastcgi description {Don't include any web server support} {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090104/332074b2/attachment.html>


More information about the macports-changes mailing list