151101789e
Add a hardened flavor for both core and extensions (inspired by niallo@); Use our own way to install pear because the bundled installer is totally broken and upstream refuses to fix it. Add a mysqli subpackage which can be used to access the functionality provided by MySQL 4.1 and above. Other minor changes and fixes are also included. ok sturm@; tested by many
33 lines
1015 B
Plaintext
33 lines
1015 B
Plaintext
$OpenBSD: patch-configure_in,v 1.5 2006/05/09 14:15:40 robert Exp $
|
|
--- configure.in.orig Tue Nov 29 16:01:38 2005
|
|
+++ configure.in Tue Nov 29 16:02:41 2005
|
|
@@ -816,7 +816,7 @@
|
|
|
|
case $php_build_target in
|
|
program|static)
|
|
- standard_libtool_flag='-prefer-non-pic -static'
|
|
+ standard_libtool_flag=''
|
|
if test -z "$PHP_MODULES"; then
|
|
enable_shared=no
|
|
fi
|
|
@@ -824,8 +824,8 @@
|
|
shared)
|
|
enable_static=no
|
|
case $with_pic in
|
|
- yes) standard_libtool_flag='-prefer-pic';;
|
|
- no) standard_libtool_flag='-prefer-non-pic';;
|
|
+ yes) standard_libtool_flag='';;
|
|
+ no) standard_libtool_flag='';;
|
|
esac
|
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -avoid-version -module"
|
|
;;
|
|
@@ -1009,7 +1009,7 @@
|
|
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
|