1 |
commit: 680f3d2158258adb747c6acc01d20a58530eb601 |
2 |
Author: Fergus Dall <sidereal <AT> google <DOT> com> |
3 |
AuthorDate: Sun Mar 27 04:39:49 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 27 04:40:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=680f3d21 |
7 |
|
8 |
sys-libs/libsemanage: Use tc-getPKG_CONFIG where appropriate |
9 |
|
10 |
Closes: https://bugs.gentoo.org/744487 |
11 |
Signed-off-by: Fergus Dall <sidereal <AT> google.com> |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
sys-libs/libsemanage/libsemanage-3.3.ebuild | 4 +++- |
15 |
sys-libs/libsemanage/libsemanage-9999.ebuild | 2 ++ |
16 |
2 files changed, 5 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/sys-libs/libsemanage/libsemanage-3.3.ebuild b/sys-libs/libsemanage/libsemanage-3.3.ebuild |
19 |
index cea18c8179bf..6a52cf9a36b2 100644 |
20 |
--- a/sys-libs/libsemanage/libsemanage-3.3.ebuild |
21 |
+++ b/sys-libs/libsemanage/libsemanage-3.3.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2021 Gentoo Authors |
24 |
+# Copyright 1999-2022 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=7 |
28 |
@@ -84,6 +84,7 @@ multilib_src_compile() { |
29 |
emake \ |
30 |
AR="$(tc-getAR)" \ |
31 |
CC="$(tc-getCC)" \ |
32 |
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \ |
33 |
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ |
34 |
"$@" |
35 |
} |
36 |
@@ -101,6 +102,7 @@ multilib_src_install() { |
37 |
installation_py() { |
38 |
emake DESTDIR="${ED}" \ |
39 |
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ |
40 |
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \ |
41 |
install-pywrap |
42 |
python_optimize # bug 531638 |
43 |
} |
44 |
|
45 |
diff --git a/sys-libs/libsemanage/libsemanage-9999.ebuild b/sys-libs/libsemanage/libsemanage-9999.ebuild |
46 |
index fa2bb4e34007..85bbb04e90aa 100644 |
47 |
--- a/sys-libs/libsemanage/libsemanage-9999.ebuild |
48 |
+++ b/sys-libs/libsemanage/libsemanage-9999.ebuild |
49 |
@@ -84,6 +84,7 @@ multilib_src_compile() { |
50 |
emake \ |
51 |
AR="$(tc-getAR)" \ |
52 |
CC="$(tc-getCC)" \ |
53 |
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \ |
54 |
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ |
55 |
"$@" |
56 |
} |
57 |
@@ -101,6 +102,7 @@ multilib_src_install() { |
58 |
installation_py() { |
59 |
emake DESTDIR="${ED}" \ |
60 |
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ |
61 |
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \ |
62 |
install-pywrap |
63 |
python_optimize # bug 531638 |
64 |
} |