openbsd-ports/lang/php/5.3/patches/patch-scripts_php-config_in
sthen 748511976d Use PATCHORIG, regen patches and rename the files which didn't match the
normal update-patches filenames. This avoids update-patches picking up the
.orig files in PHP distfiles and make it easier to keep in-sync. ok robert@
2011-06-18 19:49:22 +00:00

18 lines
612 B
Plaintext

$OpenBSD: patch-scripts_php-config_in,v 1.1 2011/06/18 19:49:50 sthen Exp $
--- scripts/php-config.in.orig.port Fri Aug 24 12:44:10 2007
+++ scripts/php-config.in Sat Jun 18 12:14:54 2011
@@ -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@"