openbsd-ports/lang/php/5.3/patches/patch-scripts_phpize_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
484 B
Plaintext

$OpenBSD: patch-scripts_phpize_in,v 1.2 2011/06/18 19:49:50 sthen Exp $
--- scripts/phpize.in.orig.port Wed Jun 24 08:42:33 2009
+++ scripts/phpize.in Sat Jun 18 12:14:54 2011
@@ -1,10 +1,10 @@
#!/bin/sh
# Variable declaration
-prefix='@prefix@'
+prefix=@PEAR_INSTALLDIR@
exec_prefix="`eval echo @exec_prefix@`"
-phpdir="`eval echo @libdir@`/build"
-includedir="`eval echo @includedir@`/php"
+phpdir="$prefix/build"
+includedir="$prefix/include"
builddir="`pwd`"
SED="@SED@"