Subject: [alpine-aports] [PATCH] testing/php7.1: fix 3rd-party extensions hook

From: Valery Kartel <[email-masked]>
Date: Thu, 16 Feb 2017 11:55:32 +0200

- now the hook is phpapi=$_apiver
- bump pkgrel to rebuild with new libpng
---
 testing/php7.1/APKBUILD | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/testing/php7.1/APKBUILD b/testing/php7.1/APKBUILD
index fbdff9392a..99ceccaf89 100644
--- a/testing/php7.1/APKBUILD
+++ b/testing/php7.1/APKBUILD
@@ -6,7 +6,7 @@ provides=$_pkgreal
 replaces=$provides
 pkgname=$_pkgreal$_suffix
 pkgver=7.1.1
-pkgrel=0
+pkgrel=1
 _apiver="20160303"
 pkgdesc="The PHP${pkgver%.*} language runtime engine"
 url="http://www.php.net/"
@@ -30,7 +30,6 @@ source="http://php.net/distributions/$_pkgreal-$pkgver.tar.bz2
 	includedir.patch.in
 	install-pear.patch
 	"
-
 # unimplemented extensions: com_dotnet interbase oci8 pdo_firebird pdo_oci
 _extensions="bcmath bz2 calendar ctype curl dba dom enchant exif ftp gd gettext gmp iconv imap:1 intl json
 	ldap mbstring mcrypt mysqli mysqlnd odbc opcache openssl pcntl pdo pdo_dblib pdo_mysql
@@ -43,7 +42,6 @@ for _extension in $_extensions; do
 done
 _prefix_opcache="zend_"
 _pkgdesc_opcache="Zend OPcache"
-
 subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-apache2 $pkgname-phpdbg
 	$pkgname-litespeed $pkgname-cgi $pkgname-fpm $pkgname-pear::noarch
 	$pkgname-phar-phar:_phar:noarch $subpackages $pkgname-config::noarch"
@@ -338,7 +336,7 @@ pear() {
 }
 
 config() {
-	provides="php-$_apiver"
+	provides="phpapi=$_apiver"
 	replaces=
 	depends=
 	pkgdesc="$pkgdesc (common config)"
-- 
2.11.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---