[126448] trunk/dports/lang/php/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Oct 10 04:30:25 PDT 2014


Revision: 126448
          https://trac.macports.org/changeset/126448
Author:   ryandesign at macports.org
Date:     2014-10-10 04:30:25 -0700 (Fri, 10 Oct 2014)
Log Message:
-----------
php: fix build of php 5.4 and later on OS X 10.6 and earlier (#45197)

Modified Paths:
--------------
    trunk/dports/lang/php/Portfile

Modified: trunk/dports/lang/php/Portfile
===================================================================
--- trunk/dports/lang/php/Portfile	2014-10-10 11:28:17 UTC (rev 126447)
+++ trunk/dports/lang/php/Portfile	2014-10-10 11:30:25 UTC (rev 126448)
@@ -195,6 +195,11 @@
                         --disable-cgi \
                         --disable-cli \
                         --disable-fpm
+
+    if {[vercmp ${php.branch} 5.4] >= 0} {
+        # https://bugs.php.net/bug.php?id=68114
+        configure.args-append ac_cv_decimal_fp_supported=no
+    }
     
     # ${php}-mysql +mysqlnd needs mysqlnd support compiled into the SAPI
     configure.env       PHP_MYSQLND_ENABLED=yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141010/35154235/attachment.html>


More information about the macports-changes mailing list