Patches for aports can be sent to this list

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

Luis Baroni
Details
Message ID
<1461957024-9631-1-git-send-email-lcsbaroni@yahoo.com.br>
Sender timestamp
1461957024
DKIM signature
missing
Download raw message
Patch: +5 -4
---
 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 <valery.kartel@gmail.com>
-# Maintainer: Valery Kartel <valery.kartel@gmail.com>
+# Contributor: Luis Baroni <luis.baroni@yahoo.com.br>
+# Maintainer: Luis Baroni <luis.baroni@yahoo.com.br>
 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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---