From 4dafb4f192c8596ccf4d68bed7fa6373309ad321 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 11 Nov 2011 09:42:06 +0000 Subject: main/unbound: do not link libunbound to libpython --- main/unbound/APKBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'main/unbound') 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 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 -- cgit v1.2.3