openbsd-ports/www/php4/patches/patch-configure_in
2003-11-15 18:11:35 +00:00

41 lines
1.2 KiB
Plaintext

$OpenBSD: patch-configure_in,v 1.9 2003/11/15 18:11:35 avsm Exp $
--- configure.in.orig 2003-11-02 22:15:05.000000000 +0000
+++ configure.in 2003-11-14 08:01:05.000000000 +0000
@@ -31,9 +31,7 @@ AC_PREREQ(2.13)
AC_INIT(README.CVS-RULES)
PHP_CONFIG_NICE(config.nice)
-for arg in $0 "$@"; do
- CONFIGURE_COMMAND="$CONFIGURE_COMMAND '$arg'"
-done
+CONFIGURE_COMMAND="Built via the OpenBSD Ports Tree"
AC_CANONICAL_HOST
AC_CONFIG_HEADER(main/php_config.h)
@@ -778,14 +776,14 @@ unset with_pic
case $php_build_target in
program|static)
- standard_libtool_flag='-prefer-non-pic -static'
+ standard_libtool_flag='-static'
if test -z "$PHP_MODULES"; then
enable_shared=no
fi
;;
shared)
enable_static=no
- standard_libtool_flag=-prefer-pic
+ standard_libtool_flag=
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -avoid-version -module"
;;
esac
@@ -965,7 +963,7 @@ EXPANDED_SYSCONFDIR=`eval echo $sysconfd
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