summarylogtreecommitdiffstats
path: root/PKGBUILD
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 /PKGBUILD
parent79ef439ae269d324434ce5f1d109907256488772 (diff)
downloadaur-e735502b29c7b9f802a7277c290cb5aa4ad3ee5c.tar.gz
Make phpize56 use php-config56
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3c0f72784684..fe61fdffe7f1 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() {