aboutsummaryrefslogtreecommitdiffstats
path: root/main/abuild/0001-abuild-use-new-PKG_CONFIG_MAXIMUM_TRAVERSE_DEPTH-env.patch
blob: 3cc6a8b6f883cc4df78d76b5964d0d3ebbff082b (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
From dec68bd03fb989c5af3c2b95d4b8fafeeed6b0f5 Mon Sep 17 00:00:00 2001
From: William Pitcock <nenolod@dereferenced.org>
Date: Mon, 27 Mar 2017 06:00:03 +0000
Subject: [PATCH] abuild: use new PKG_CONFIG_MAXIMUM_TRAVERSE_DEPTH env
 variable to disable the SAT solver

---
 abuild.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abuild.in b/abuild.in
index 7cef63f..c6ee5f3 100644
--- a/abuild.in
+++ b/abuild.in
@@ -979,7 +979,7 @@ prepare_pkgconfig_provides() {
 			continue
 		fi
 		local f=${i##*/}
-		local v=$(PKG_CONFIG_PATH="$dir"/usr/lib/pkgconfig pkg-config \
+		local v=$(PKG_CONFIG_PATH="$dir"/usr/lib/pkgconfig PKG_CONFIG_MAXIMUM_TRAVERSE_DEPTH=1 pkg-config \
 			--modversion ${f%.pc})
 		echo "${f%.pc}=${v:-0}" >> "$controldir"/.provides-pc
 	done
-- 
2.12.1