summaryrefslogtreecommitdiffstats
path: root/main/util-vserver
diff options
context:
space:
mode:
Diffstat (limited to 'main/util-vserver')
-rw-r--r--main/util-vserver/APKBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/main/util-vserver/APKBUILD b/main/util-vserver/APKBUILD
index 066fded1f..5d77bca77 100644
--- a/main/util-vserver/APKBUILD
+++ b/main/util-vserver/APKBUILD
@@ -2,7 +2,7 @@
pkgname=util-vserver
pkgver=0.30.216_pre2882
_realver=0.30.216-pre2882
-pkgrel=6
+pkgrel=7
pkgdesc="Linux-VServer admin utilities"
url="http://www.nongnu.org/util-vserver/"
license="GPL"
@@ -24,8 +24,7 @@ subpackages="$pkgname-doc $pkgname-dev"
_builddir="$srcdir"/$pkgname-$_realver
-build() {
- local i
+prepare() {
cd "$_builddir"
for i in ../*.patch; do
[ -r "$i" ] || continue
@@ -38,6 +37,13 @@ build() {
# this is an ugly workaround
sed -i -e "s:as_echo=.*:as_echo=echo:g" configure
+ # issue 305
+ sed -i -e 's/^function //' gentoo/util-vserver
+}
+
+build() {
+ local i
+ cd "$_builddir"
./configure --prefix=/usr \
--mandir=/usr/share/man \
--sysconfdir=/etc \