From d44b971c655001c2d6ec928316b69f949b8e84f6 Mon Sep 17 00:00:00 2001 From: Valery Kartel Date: Fri, 17 Aug 2018 18:23:31 +0300 Subject: community/php5: fix dependency (part 2) some fixes after #5018 removed php5-cli dependency on all extensions added php5-common (config) dependency to phpdbg --- community/php5/APKBUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'community/php5') diff --git a/community/php5/APKBUILD b/community/php5/APKBUILD index 9c0bf5fed3..7aeb8d5cab 100644 --- a/community/php5/APKBUILD +++ b/community/php5/APKBUILD @@ -4,7 +4,7 @@ # Maintainer: Matt Smith pkgname=php5 pkgver=5.6.37 -pkgrel=1 +pkgrel=2 pkgdesc="The PHP language runtime engine" url="http://www.php.net/" arch="all" @@ -428,6 +428,7 @@ pear() { phpdbg() { pkgdesc="Interactive PHP debugger" + depends="$pkgname-common" provides="php-phpdbg" mkdir -p "$subpkgdir"/usr/bin mv "$pkgdir"/usr/bin/phpdbg* "$subpkgdir"/usr/bin/ @@ -438,12 +439,12 @@ _mv_ext() { local ini=$ext.ini pkgdesc="${ext} extension for PHP" provides="php-$extname" + depends="${pkgname}-common" # extension dependencies if [ -n "${2-}" ]; then - depends="${2-}" + depends="${depends} ${2-}" fi - depends="${pkgname}-common ${depends}" # work around dependency issue # https://bugs.alpinelinux.org/issues/1848 -- cgit v1.2.3