From dff6062e19e24c6d503a94f5c5bc41c1ebadfbe6 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sat, 29 Apr 2017 21:29:25 +0200 Subject: community/php7: fix pecl, explicitly load xml extension This is based on https://github.com/alpinelinux/aports/pull/893 by vakartel. --- community/php7/APKBUILD | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'community/php7/APKBUILD') diff --git a/community/php7/APKBUILD b/community/php7/APKBUILD index f634a39961..24aba0dd9b 100644 --- a/community/php7/APKBUILD +++ b/community/php7/APKBUILD @@ -305,6 +305,11 @@ pear() { pkgdesc="PHP Extension and Application Repository" depends="$pkgname $pkgname-xml" + # pecl needs xml extension and since we build it as shared, it must be + # explicitly declared to be loaded. + sed -i 's/\$INCARG/& -d extension=xml.so/' \ + "$pkgdir"/usr/bin/pecl || return 1 + mkdir -p "$subpkgdir"/usr/bin \ "$subpkgdir"/etc/$pkgname -- cgit v1.2.3