aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php7.1/includedir.patch.in
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2017-02-13 23:43:29 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-02-14 19:02:29 +0000
commit15e434419f5b0896610dcf7d30b36044b9faf88f (patch)
treeb77d70aed5860d6212652cf81d06aad8b40bc35b /testing/php7.1/includedir.patch.in
parentf9076aa05a5d999a832ea135e0dec918d8b32cc2 (diff)
downloadaports-15e434419f5b0896610dcf7d30b36044b9faf88f.tar.bz2
aports-15e434419f5b0896610dcf7d30b36044b9faf88f.tar.xz
testing/php7.1: new aport
The PHP7.1 language runtime engine http://php.net/
Diffstat (limited to 'testing/php7.1/includedir.patch.in')
-rw-r--r--testing/php7.1/includedir.patch.in41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/php7.1/includedir.patch.in b/testing/php7.1/includedir.patch.in
new file mode 100644
index 0000000000..8087b6200d
--- /dev/null
+++ b/testing/php7.1/includedir.patch.in
@@ -0,0 +1,41 @@
+--- a/scripts/Makefile.frag
++++ b/scripts/Makefile.frag
+@@ -3,7 +3,7 @@
+ # Build environment install
+ #
+
+-phpincludedir = $(includedir)/php
++phpincludedir = $(includedir)/php@_suffix@
+ phpbuilddir = $(libdir)/build
+
+ BUILD_FILES = \
+--- a/ext/pdo/Makefile.frag
++++ b/ext/pdo/Makefile.frag
+@@ -1,4 +1,4 @@
+-phpincludedir=$(prefix)/include/php
++phpincludedir=$(prefix)/include/php@_suffix@
+
+ PDO_HEADER_FILES= \
+ php_pdo.h \
+--- a/scripts/php-config.in
++++ b/scripts/php-config.in
+@@ -6,7 +6,7 @@
+ exec_prefix="@exec_prefix@"
+ version="@PHP_VERSION@"
+ vernum="@PHP_VERSION_ID@"
+-include_dir="@includedir@/php"
++include_dir="@includedir@/php@_suffix@"
+ 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@"
+--- a/scripts/phpize.in
++++ b/scripts/phpize.in
+@@ -5,7 +5,7 @@
+ datarootdir='@datarootdir@'
+ exec_prefix="`eval echo @exec_prefix@`"
+ phpdir="`eval echo @libdir@`/build"
+-includedir="`eval echo @includedir@`/php"
++includedir="`eval echo @includedir@`/php@_suffix@"
+ builddir="`pwd`"
+ SED="@SED@"
+