aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php7.1/php7.1-includedir.patch
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2017-02-24 11:25:06 +0200
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-02-24 13:18:28 +0000
commit82cd1263a39ff83b95e0f3d899ddf2e1a72181da (patch)
tree5a8d1b1b4c000228c03612e26abca58913806dcc /testing/php7.1/php7.1-includedir.patch
parent44a644c5c0a30a141d6d05b8a17107f7a07814f8 (diff)
downloadaports-82cd1263a39ff83b95e0f3d899ddf2e1a72181da.tar.bz2
aports-82cd1263a39ff83b95e0f3d899ddf2e1a72181da.tar.xz
testing/php7.1: fixes in extension depends tracking
-- - rename submodule phar-phar -> phar-utils - remade APKBUILD and sources from template-based to 7.1
Diffstat (limited to 'testing/php7.1/php7.1-includedir.patch')
-rw-r--r--testing/php7.1/php7.1-includedir.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/php7.1/php7.1-includedir.patch b/testing/php7.1/php7.1-includedir.patch
new file mode 100644
index 0000000000..8075eecb75
--- /dev/null
+++ b/testing/php7.1/php7.1-includedir.patch
@@ -0,0 +1,41 @@
+--- a/scripts/Makefile.frag
++++ b/scripts/Makefile.frag
+@@ -3,7 +3,7 @@
+ # Build environment install
+ #
+
+-phpincludedir = $(includedir)/php
++phpincludedir = $(includedir)/php7.1
+ 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/php7.1
+
+ 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@/php7.1"
+ 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@`/php7.1"
+ builddir="`pwd`"
+ SED="@SED@"
+