f2c437ed01
regression tests in pecl ports. Part of my pecl.port.mk work which was OK'd by jasper@ (maintainer timeout).
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
$OpenBSD: patch-scripts_php-config_in,v 1.3 2012/04/28 08:34:56 sthen Exp $
|
|
--- scripts/php-config.in.orig.port Wed Apr 18 22:25:28 2012
|
|
+++ scripts/php-config.in Wed Apr 18 22:21:44 2012
|
|
@@ -1,11 +1,11 @@
|
|
#! /bin/sh
|
|
|
|
SED="@SED@"
|
|
-prefix="@prefix@"
|
|
+prefix=OPENBSD_PEAR_ROOT
|
|
exec_prefix="@exec_prefix@"
|
|
version="@PHP_VERSION@"
|
|
vernum="@PHP_VERSION_ID@"
|
|
-include_dir="@includedir@/php"
|
|
+include_dir="@PEAR_INSTALLDIR@/include"
|
|
includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/Zend -I$include_dir/ext -I$include_dir/ext/date/lib"
|
|
ldflags="@PHP_LDFLAGS@"
|
|
libs="@EXTRA_LIBS@"
|
|
@@ -23,10 +23,10 @@ php_sapis="@PHP_INSTALLED_SAPIS@"
|
|
for sapi in $php_sapis; do
|
|
case $sapi in
|
|
cli)
|
|
- php_cli_binary="@bindir@/${program_prefix}php${program_suffix}${exe_extension}"
|
|
+ php_cli_binary="OPENBSD_PREFIX/bin/php${program_suffix}"
|
|
;;
|
|
cgi)
|
|
- php_cgi_binary="@bindir@/${program_prefix}php-cgi${program_suffix}${exe_extension}"
|
|
+ php_cgi_binary="OPENBSD_PREFIX/bin/php-cgi${program_suffix}"
|
|
;;
|
|
esac
|
|
done
|