summaryrefslogtreecommitdiffstats
path: root/main/unbound
diff options
context:
space:
mode:
Diffstat (limited to 'main/unbound')
-rw-r--r--main/unbound/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/main/unbound/APKBUILD b/main/unbound/APKBUILD
index 14dfbf23c..a539f83a2 100644
--- a/main/unbound/APKBUILD
+++ b/main/unbound/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=unbound
pkgver=1.4.13
-pkgrel=1
+pkgrel=2
pkgdesc="Unbound is a validating, recursive, and caching DNS resolver"
pkgusers="unbound"
pkggroups="unbound"
@@ -42,17 +42,20 @@ build() {
--disable-static \
--disable-rpath \
--with-ssl \
- --with-pythonmodule \
+ --without-pythonmodule \
--with-pyunbound \
|| return 1
+ # do not link to libpython
+ sed -i -e '/^LIBS=/s/-lpython.*[[:space:]]/ /' Makefile
+
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
- rm "$pkgdir"/usr/lib/*.la \
- "$pkgdir"/usr/lib/python*/*/*.la || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
+ rm "$pkgdir"/usr/lib/python*/*/*.la || return 1
install -D contrib/update-anchor.sh \
"$pkgdir"/usr/share/$pkgname/update-anchor.sh \
|| return 1