[89008] trunk/dports/lang/php5/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Jan 17 00:28:10 PST 2012


Revision: 89008
          http://trac.macports.org/changeset/89008
Author:   ryandesign at macports.org
Date:     2012-01-17 00:28:10 -0800 (Tue, 17 Jan 2012)
Log Message:
-----------
php5: use llvm-gcc-4.2 instead of clang to avoid segfaults; see #31590

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

Modified: trunk/dports/lang/php5/Portfile
===================================================================
--- trunk/dports/lang/php5/Portfile	2012-01-17 07:57:44 UTC (rev 89007)
+++ trunk/dports/lang/php5/Portfile	2012-01-17 08:28:10 UTC (rev 89008)
@@ -9,6 +9,7 @@
 # Increment revision of php5-eaccelerator when updating version of php5.
 epoch                   1
 version                 5.3.9
+revision                1
 set major               [lindex [split ${version} .] 0]
 set my_name             php${major}
 dist_subdir             ${my_name}
@@ -60,6 +61,10 @@
 
 destroot.keepdirs       ${destroot}${extraphpinidir}
 
+if {${configure.compiler} == "clang"} {
+    configure.compiler llvm-gcc-4.2
+}
+
 configure.args          --mandir=${prefix}/share/man \
                         --infodir=${prefix}/share/info \
                         --with-config-file-path=${phpinidir} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120117/93f76a00/attachment.html>


More information about the macports-changes mailing list