aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/php/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/php/APKBUILD b/main/php/APKBUILD
index e7b1e2936b..88a376697e 100644
--- a/main/php/APKBUILD
+++ b/main/php/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=php
pkgver=5.4.14
-pkgrel=2
+pkgrel=3
pkgdesc="The PHP language runtime engine"
url="http://www.php.net/"
arch="all"
@@ -395,6 +395,7 @@ pear() {
_mv_ext() {
local ext=$1
+ local ini=$ext.ini
pkgdesc="${ext} extension for PHP"
# extension dependencies
@@ -403,10 +404,16 @@ _mv_ext() {
fi
depends="${pkgname} ${depends}"
+ # work around dependency issue
+ # https://bugs.alpinelinux.org/issues/1848
+ if [ "$ext" = "wddx" ]; then
+ ini=xml_$ext.ini
+ fi
+
mkdir -p "$subpkgdir"/$_extdir
mv "$pkgdir"/$_extdir/${ext}.so "$subpkgdir"/$_extdir/ || return 1
mkdir -p "$subpkgdir"/etc/php/conf.d
- echo "extension=${ext}.so" > "$subpkgdir"/etc/php/conf.d/${ext}.ini
+ echo "extension=${ext}.so" > "$subpkgdir"/etc/php/conf.d/$ini
}
bcmath() { _mv_ext bcmath; }