Files
macports-ports/lang/php/files/patch-php53-configure.diff
Ryan Schmidt 62ee495554 php: Build universal properly
Closes: https://trac.macports.org/ticket/41595

Also ensure that the parsers are not regenerated, even if the
dependencies to do so are installed.
2017-11-29 04:28:17 -06:00

22 lines
1.0 KiB
Diff

https://github.com/php/php-src/commit/742a0106fefefe5ee1638271a1f59b69fb0ba015
--- a/configure.orig 2014-08-13 14:27:27.000000000 -0500
+++ b/configure 2017-11-18 15:34:26.000000000 -0600
@@ -3014,7 +3014,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
- bison_version_vars=`bison --version 2> /dev/null | grep 'GNU Bison' | cut -d ' ' -f 4 | $SED -e 's/\./ /' | tr -d a-z`
+ bison_version_vars=`$YACC --version 2> /dev/null | grep 'GNU Bison' | cut -d ' ' -f 4 | $SED -e 's/\./ /' | tr -d a-z`
php_cv_bison_version=invalid
if test -n "$bison_version_vars"; then
set $bison_version_vars
@@ -105210,7 +105210,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
- bison_version_vars=`bison --version 2> /dev/null | grep 'GNU Bison' | cut -d ' ' -f 4 | $SED -e 's/\./ /' | tr -d a-z`
+ bison_version_vars=`$YACC --version 2> /dev/null | grep 'GNU Bison' | cut -d ' ' -f 4 | $SED -e 's/\./ /' | tr -d a-z`
php_cv_bison_version=invalid
if test -n "$bison_version_vars"; then
set $bison_version_vars