SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
32
lang/php/7.4/patches/patch-configure_ac
Normal file
32
lang/php/7.4/patches/patch-configure_ac
Normal file
|
@ -0,0 +1,32 @@
|
|||
Index: configure.ac
|
||||
--- configure.ac.orig
|
||||
+++ configure.ac
|
||||
@@ -1088,16 +1088,16 @@ case $php_sapi_module in
|
||||
enable_static=no
|
||||
case $with_pic in
|
||||
yes)
|
||||
- standard_libtool_flag='-prefer-pic'
|
||||
+ standard_libtool_flag=''
|
||||
;;
|
||||
no)
|
||||
- standard_libtool_flag='-prefer-non-pic'
|
||||
+ standard_libtool_flag=''
|
||||
;;
|
||||
esac
|
||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -avoid-version -module"
|
||||
;;
|
||||
*[)]
|
||||
- standard_libtool_flag='-prefer-non-pic -static'
|
||||
+ standard_libtool_flag=''
|
||||
if test -z "$PHP_MODULES" && test -z "$PHP_ZEND_EX"; then
|
||||
enable_shared=no
|
||||
fi
|
||||
@@ -1283,7 +1283,7 @@ EXPANDED_SYSCONFDIR=`eval echo $sysconfdir`
|
||||
EXPANDED_DATADIR=$datadir
|
||||
EXPANDED_PHP_CONFIG_FILE_PATH=`eval echo "$PHP_CONFIG_FILE_PATH"`
|
||||
EXPANDED_PHP_CONFIG_FILE_SCAN_DIR=`eval echo "$PHP_CONFIG_FILE_SCAN_DIR"`
|
||||
-INCLUDE_PATH=.:$EXPANDED_PEAR_INSTALLDIR
|
||||
+INCLUDE_PATH=.:$libdir
|
||||
|
||||
exec_prefix=$old_exec_prefix
|
||||
libdir=$old_libdir
|
Loading…
Add table
Add a link
Reference in a new issue