aboutsummaryrefslogtreecommitdiffstats
path: root/community/php5
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2018-08-17 18:23:31 +0300
committerAndy Postnikov <apostnikov@gmail.com>2018-08-17 20:02:44 +0300
commitd44b971c655001c2d6ec928316b69f949b8e84f6 (patch)
treee6dfc18cf376f25b1a104023b095c9bec2ce396b /community/php5
parent84a9387d7cac556f3cb3175ed322c8d073fda2c9 (diff)
downloadaports-d44b971c655001c2d6ec928316b69f949b8e84f6.tar.bz2
aports-d44b971c655001c2d6ec928316b69f949b8e84f6.tar.xz
community/php5: fix dependency (part 2)
some fixes after #5018 removed php5-cli dependency on all extensions added php5-common (config) dependency to phpdbg
Diffstat (limited to 'community/php5')
-rw-r--r--community/php5/APKBUILD7
1 files changed, 4 insertions, 3 deletions
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 <mcs@darkregion.net>
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