Files
macports-ports/lang/php/files/patch-php52-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 2017-11-18 15:29:21.000000000 -0600
+++ b/configure 2017-11-18 15:34:05.000000000 -0600
@@ -3011,7 +3011,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
@@ -107382,7 +107382,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