diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2019-04-09 09:53:53 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2019-04-09 18:21:10 +0200 |
commit | f715fbc7a726b9d502a46c2afb753893c8e0bd12 (patch) | |
tree | 03a0d2d2bff32f85f925c37618c43d7f99a9754f | |
parent | 52772d0132f4e937cccf2d3b8ccee851a33b5b7a (diff) | |
download | aports-f715fbc7a726b9d502a46c2afb753893c8e0bd12.tar.bz2 aports-f715fbc7a726b9d502a46c2afb753893c8e0bd12.tar.xz |
main/bind: clear depends for libs subpackage
Otherwise the dev and tools subpackages install dns-root-hints (since
both depend on the libs subpackage) even though they shouldn't need it.
Discussion: Unfortunately, abuild doesn't have a depends_libs variable
thus we need to define a custom libs function to clear the dependency.
This approach is also used by other abuilds, e.g. testing/boinc.
See also: 4badc1aa803f5dd0f67d2df3004acc3f990ba23f
-rw-r--r-- | main/bind/APKBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/main/bind/APKBUILD b/main/bind/APKBUILD index 36914fc98a..1ce72b6226 100644 --- a/main/bind/APKBUILD +++ b/main/bind/APKBUILD @@ -8,7 +8,7 @@ _ver=${pkgver%_p*} _p=${pkgver#*_p} _major=${pkgver%%.*} [ "$_p" != "$pkgver" ] && _ver="${_ver}-P$_p" -pkgrel=1 +pkgrel=2 pkgdesc="The ISC DNS server" url="http://www.isc.org" arch="all" @@ -179,6 +179,11 @@ tools() { done } +libs() { + default_libs + depends="$depends_libs" +} + sha512sums="42c41f47a0282dc08ee875fe098ce84b26384dba5efbaf99b557d34c4271e0d6aac70126f280a3ee157e8604cce16901c8cd51fab791dec82f4a3d00c054f363 bind-9.12.3-P4.tar.gz 7167dccdb2833643dfdb92994373d2cc087e52ba23b51bd68bd322ff9aca6744f01fa9d8a4b9cd8c4ce471755a85c03ec956ec0d8a1d4fae02124ddbed6841f6 bind.so_bsdcompat.patch ca779f52a0a96d774bbc4dbb4e62d136f483ce528693ac73b844435be73500d8495bfddce34534825b5f6fa3197601e3175918a076428bab52bbc33c509a816e named.initd |