From f92353f57bcc4e96f7f34f67bd8bc0721a4d82c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Tue, 9 Apr 2019 16:04:35 +0200 Subject: abuild: add depends_libs variable to default_libs() Other subpackage such as -dev, -doc and even -openrc allow adjusting depends of the subpackage through such a variable. This is, for instance, useful to remove a dependency of the origin package from the -libs subpackage. While at it document it in APKBUILD(5). --- abuild.in | 1 + 1 file changed, 1 insertion(+) (limited to 'abuild.in') diff --git a/abuild.in b/abuild.in index d19d12e..fabb5c7 100644 --- a/abuild.in +++ b/abuild.in @@ -1731,6 +1731,7 @@ dev() { # predefined splitfunc libs default_libs() { + depends="$depends_libs" pkgdesc="$pkgdesc (libraries)" local dir= file= for dir in lib usr/lib; do -- cgit v1.2.3