diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-04 13:51:17 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-04 13:51:17 +0000 |
commit | d782c781af1c3d6ea8302bc8e27ec14b63e8ec87 (patch) | |
tree | e3c4f5ee67dc784667441579cd916fb5d01b0bec /main/util-vserver | |
parent | f5f361f3ed635a95edf3b7a461549e91e2a6044c (diff) | |
download | aports-d782c781af1c3d6ea8302bc8e27ec14b63e8ec87.tar.bz2 aports-d782c781af1c3d6ea8302bc8e27ec14b63e8ec87.tar.xz |
main/util-vserver: fix init.d script
fixes #305
Diffstat (limited to 'main/util-vserver')
-rw-r--r-- | main/util-vserver/APKBUILD | 12 |
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 \ |