summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickaël Thomas2016-01-14 03:16:07 +0100
committerMickaël Thomas2016-01-14 03:17:03 +0100
commite735502b29c7b9f802a7277c290cb5aa4ad3ee5c (patch)
tree6638c39b20363e065ba6ef416f467c88d2b00ec2
parent79ef439ae269d324434ce5f1d109907256488772 (diff)
downloadaur-e735502b29c7b9f802a7277c290cb5aa4ad3ee5c.tar.gz
Make phpize56 use php-config56
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e63ccece2a5..6522240d3c1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Jan 14 01:38:04 UTC 2016
+# Thu Jan 14 02:16:48 UTC 2016
pkgbase = php56
pkgdesc = A general-purpose scripting language that is especially suited to web development
pkgver = 5.6.17
- pkgrel = 2
+ pkgrel = 3
url = http://php.net
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 3c0f7278468..fe61fdffe7f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,7 +30,7 @@ pkgname=("${pkgbase}"
"${pkgbase}-tidy"
"${pkgbase}-xsl")
pkgver=5.6.17
-pkgrel=2
+pkgrel=3
pkgdesc="A general-purpose scripting language that is especially suited to web development"
arch=('i686' 'x86_64')
license=('PHP')
@@ -261,6 +261,9 @@ package_php56() {
# fix paths in executables
sed -i "/^includedir=/c \includedir=/usr/include/${pkgbase}" ${pkgdir}/usr/bin/${pkgbase/php/phpize}
sed -i "/^include_dir=/c \include_dir=/usr/include/${pkgbase}" ${pkgdir}/usr/bin/${pkgbase/php/php-config}
+
+ # make phpize use php-config56
+ sed -i "/^\[ --with-php-config=/c \[ --with-php-config=PATH Path to php-config [${pkgbase/php/php-config}]], ${pkgbase/php/php-config}, no)" ${pkgdir}/usr/lib/${pkgbase}/build/phpize.m4
}
package_php56-cgi() {