~alpine/aports

[alpine-aports] [PATCH] testing/php7-lzf: fix issue with extension file name in ini

Andy Blyler
Details
Message ID
<1459492068-21028-1-git-send-email-andy@blyler.cc>
Sender timestamp
1459492068
DKIM signature
missing
Download raw message
Patch: +2 -1
---
 testing/php7-lzf/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testing/php7-lzf/APKBUILD b/testing/php7-lzf/APKBUILD
index b0a3395..9cfaca7 100644
--- a/testing/php7-lzf/APKBUILD
+++ b/testing/php7-lzf/APKBUILD
@@ -2,6 +2,7 @@
 # Maintainer: Fabio Ribeiro <fabiorphp@gmail.com>
 pkgname=php7-lzf
 _pkgreal=LZF
+_pkgextname=lzf
 pkgver=1.6.5
 _pkgver=${pkgver}
 pkgrel=0
@@ -29,7 +30,7 @@ package() {
 	cd "$builddir"
 	make INSTALL_ROOT="$pkgdir"/ install || return 1
 	install -d "$pkgdir"/etc/php7/conf.d || return 1
-	echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/50_$_pkgreal.ini
+	echo "extension=$_pkgextname.so" > "$pkgdir"/etc/php7/conf.d/50_$_pkgreal.ini
 }
 
 md5sums="d02dc10685fc071d7fc988508f3c3aa8  LZF-1.6.5.tgz"
-- 
2.8.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---