[85066] trunk/dports/lang/php5

ryandesign at macports.org ryandesign at macports.org
Sat Oct 8 16:24:09 PDT 2011


Revision: 85066
          http://trac.macports.org/changeset/85066
Author:   ryandesign at macports.org
Date:     2011-10-08 16:24:05 -0700 (Sat, 08 Oct 2011)
Log Message:
-----------
php5: fix nanosleep detection; see #31530

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

Added Paths:
-----------
    trunk/dports/lang/php5/files/patch-configure.in.diff

Modified: trunk/dports/lang/php5/Portfile
===================================================================
--- trunk/dports/lang/php5/Portfile	2011-10-08 21:22:06 UTC (rev 85065)
+++ trunk/dports/lang/php5/Portfile	2011-10-08 23:24:05 UTC (rev 85066)
@@ -9,6 +9,7 @@
 # Increment revision of php5-eaccelerator when updating version of php5.
 epoch                   1
 version                 5.3.8
+revision                1
 set major               [lindex [split ${version} .] 0]
 set my_name             php${major}
 dist_subdir             ${my_name}
@@ -49,7 +50,8 @@
 
 # Use -p1 to accommodate the Suhosin patch
 patch.pre_args          -p1
-patchfiles              patch-scripts-php-config.in.diff
+patchfiles              patch-configure.in.diff \
+                        patch-scripts-php-config.in.diff
 
 use_autoconf            yes
 autoconf.cmd            ${prefix}/bin/autoconf213

Added: trunk/dports/lang/php5/files/patch-configure.in.diff
===================================================================
--- trunk/dports/lang/php5/files/patch-configure.in.diff	                        (rev 0)
+++ trunk/dports/lang/php5/files/patch-configure.in.diff	2011-10-08 23:24:05 UTC (rev 85066)
@@ -0,0 +1,12 @@
+# Revert change to configure.in made between php 5.3.3 and 5.3.4 that disabled time_nanosleep on OS X.
+--- a/configure.in.orig	2010-12-08 15:38:51.000000000 -0600
++++ b/configure.in	2010-07-21 05:50:07.000000000 -0500
+@@ -611,7 +611,7 @@
+ )
+ 
+ dnl Some systems (like OpenSolaris) do not have nanosleep in libc
+-PHP_CHECK_FUNC_LIB(nanosleep, rt)
++PHP_CHECK_FUNC(nanosleep, rt)
+ 
+ dnl Check for getaddrinfo, should be a better way, but...
+ dnl Also check for working getaddrinfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111008/9428963f/attachment.html>


More information about the macports-changes mailing list