aboutsummaryrefslogtreecommitdiffstats
path: root/main/dpkg
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-08-14 14:40:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-08-14 14:40:47 +0000
commit358c1f6ef7d9d2bd879594e9bef73ca3f69bf05c (patch)
tree78b30f8aa0218596865f96c0ccc0f135c798f7f6 /main/dpkg
parent82c8b6b9312720630664d1992f467f6e0558b053 (diff)
downloadaports-358c1f6ef7d9d2bd879594e9bef73ca3f69bf05c.tar.bz2
aports-358c1f6ef7d9d2bd879594e9bef73ca3f69bf05c.tar.xz
main/dpkg: fix localstatedir
Diffstat (limited to 'main/dpkg')
-rw-r--r--main/dpkg/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/dpkg/APKBUILD b/main/dpkg/APKBUILD
index 3c19ee557f..98a5bacc9c 100644
--- a/main/dpkg/APKBUILD
+++ b/main/dpkg/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dpkg
pkgver=1.16.10
-pkgrel=0
+pkgrel=1
pkgdesc="The Debian Package Manager"
url="http://packages.debian.org/dpkg"
arch="all"
@@ -18,12 +18,13 @@ prepare() {
sed -i "s|<ncursesw/term.h>|<term.h>|g" dselect/main.cc || return 1
}
-build() {
+build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
+ --localstatedir=/var \
--with-zlib \
--with-bzip2 \
--disable-dselect \