aboutsummaryrefslogtreecommitdiffstats
path: root/main/php
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-21 14:10:33 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-21 14:10:33 -0600
commitf9f2be718d1e50936199f8fde42204819ebc76f1 (patch)
tree6ecd1df3a3888c2253811680fbbc2ee548209dee /main/php
parentc66a45265f6c267d27ead71369c6a194480357e2 (diff)
downloadaports-f9f2be718d1e50936199f8fde42204819ebc76f1.tar.bz2
aports-f9f2be718d1e50936199f8fde42204819ebc76f1.tar.xz
main/php: php-common should replaces on php for php.ini
Diffstat (limited to 'main/php')
-rw-r--r--main/php/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/php/APKBUILD b/main/php/APKBUILD
index d8b8dafb55..94c70278fd 100644
--- a/main/php/APKBUILD
+++ b/main/php/APKBUILD
@@ -3,7 +3,7 @@
pkgname=php
pkgver=5.3.5
_suhosinver=5.3.4-0.9.10
-pkgrel=3
+pkgrel=4
pkgdesc="The PHP language runtime engine"
url="http://www.php.net/"
arch="all"
@@ -248,6 +248,8 @@ doc() {
common() {
pkgdesc="PHP Common Files"
+ replaces="$pkgname"
+
cd "$srcdir"/$pkgname-$pkgver
install -D -m644 php.ini-production "$subpkgdir"/etc/php/php.ini
sed -i -e "s:^; extension_dir = \"./\":extension_dir = \"$_extdir\":" "$subpkgdir"/etc/php/php.ini