aboutsummaryrefslogtreecommitdiffstats
path: root/main/bind
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-01 09:20:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-01 09:20:32 +0000
commit72222f5fb2b7c7b4c22183303e4973085aea8bd8 (patch)
tree067349f066e253418e4bed840cd31b118d8552d3 /main/bind
parent9ccef4eab55f8ebe62a0004dc009b53a25a3ea5f (diff)
downloadaports-72222f5fb2b7c7b4c22183303e4973085aea8bd8.tar.bz2
aports-72222f5fb2b7c7b4c22183303e4973085aea8bd8.tar.xz
main/bind: remove *.la
Diffstat (limited to 'main/bind')
-rw-r--r--main/bind/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/bind/APKBUILD b/main/bind/APKBUILD
index 0d26740d52..d929cad1be 100644
--- a/main/bind/APKBUILD
+++ b/main/bind/APKBUILD
@@ -5,7 +5,7 @@ pkgver=9.8.0_p2
_ver=${pkgver%_p*}
_p=${pkgver#*_p}
[ "$_p" != "$pkgver" ] && _ver="${_ver}-P$_p"
-pkgrel=0
+pkgrel=1
pkgdesc="BIND - Berkeley Internet Name Domain - Name Server and tools"
url="http://www.isc.org"
arch="all"
@@ -66,7 +66,8 @@ build() {
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/named || return 1
install -Dm644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/named || return 1