Subject: [alpine-aports] [PATCH] testing/php-xdebug: install package as a zend extension

From: Luis Baroni <[email-masked]>
Date: Fri, 29 Apr 2016 19:10:24 +0000

---
 testing/php-xdebug/APKBUILD | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/testing/php-xdebug/APKBUILD b/testing/php-xdebug/APKBUILD
index ec2119f..5625ce0 100644
--- a/testing/php-xdebug/APKBUILD
+++ b/testing/php-xdebug/APKBUILD
@@ -1,10 +1,11 @@
-# Contributor: Valery Kartel <[email-masked]>
-# Maintainer: Valery Kartel <[email-masked]>
+# Contributor: Luis Baroni <[email-masked]>
+# Maintainer: Luis Baroni <[email-masked]>
 pkgname=php-xdebug
 _pkgreal=xdebug
+_pkgpath=/usr/lib/php/modules/
 pkgver=2.3.3
 _pkgver=${pkgver/_rc/RC}
-pkgrel=0
+pkgrel=1
 pkgdesc="PHP extension provides functions for function traces and profiling"
 url="http://pecl.php.net/package/$_pkgreal"
 arch="all"
@@ -29,7 +30,7 @@ package() {
 	cd "$_builddir"
 	make INSTALL_ROOT="$pkgdir/" install || return 1
 	install -d "$pkgdir"/etc/php/conf.d || return 1
-	echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini
+	echo "zend_extension=$_pkgpath$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini
 }
 
 md5sums="60e6fdf41840104a23debe16db15a2af  xdebug-2.3.3.tgz"
-- 
2.8.1

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