aboutsummaryrefslogtreecommitdiffstats
path: root/main/abuild/0001-make-default_static-depend-on-depends_static.patch
blob: b7851bcb061a26b292d45a2d11ffa81ca0078525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From 68a054e274cb7661fc354de62d1ba8d53f2cea02 Mon Sep 17 00:00:00 2001
From: Leo <thinkabit.ukim@gmail.com>
Date: Tue, 7 May 2019 02:09:39 -0300
Subject: [PATCH] make default_static depend on depends_static

keeps it in line with other default_ functions.
---
 APKBUILD.5 | 2 ++
 abuild.in  | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/APKBUILD.5 b/APKBUILD.5
index fe0f833..49b917e 100644
--- a/APKBUILD.5
+++ b/APKBUILD.5
@@ -410,6 +410,8 @@ Specifies the run-time dependencies of the -doc subpackage.
 Specifies the run-time dependencies of the -libs subpackage.
 .It Cm depends_openrc
 Specifies the run-time dependencies of the -openrc subpackage.
+.It Cm depends_static
+Specifies the run-time dependencies of the -static subpackage.
 .It Cm giturl
 Specifies the URL of the Git repository to use with
 .Cm abuild checkout .
diff --git a/abuild.in b/abuild.in
index 08fce58..1b51e13 100644
--- a/abuild.in
+++ b/abuild.in
@@ -1747,7 +1747,7 @@ dev() {
 # predefined splitfunc static
 default_static() {
 	local i=
-	depends=""
+	depends="$depends_static"
 	pkgdesc="$pkgdesc (static library)"
 
 	cd "$pkgdir" || return 0
-- 
2.22.0