aboutsummaryrefslogtreecommitdiffstats
path: root/main/php/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-10-02 08:58:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-10-02 08:58:15 +0000
commit97c850dcc467d847027a66f11d3e5440d94c49ed (patch)
tree85302c0e57551f8ede0d8128557d348f1e6807af /main/php/APKBUILD
parent169ed56eb13e8152b4fc19bcfe56533b9867f47c (diff)
downloadaports-97c850dcc467d847027a66f11d3e5440d94c49ed.tar.bz2
aports-97c850dcc467d847027a66f11d3e5440d94c49ed.tar.xz
main/php: fix default config for extension_dir
Diffstat (limited to 'main/php/APKBUILD')
-rw-r--r--main/php/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/php/APKBUILD b/main/php/APKBUILD
index b006055a04..905297b654 100644
--- a/main/php/APKBUILD
+++ b/main/php/APKBUILD
@@ -3,7 +3,7 @@
pkgname=php
pkgver=5.2.10
_suhosinver=${pkgver}-0.9.7
-pkgrel=2
+pkgrel=3
pkgdesc="The PHP language runtime engine"
url="http://www.php.net/"
license="PHP-3"
@@ -161,6 +161,8 @@ build() {
make || return 1
make -j1 INSTALL_ROOT="$pkgdir" install || return 1
+ # fix the extension_dir
+ sed -i -e 's/^extension_dir/\;extension_dir/' php.ini-recommended
install -D -m644 php.ini-recommended "$pkgdir"/etc/php/php.ini
}