1 |
commit: 874f570d3b6a1bfc7c873a05faa0d3a036f69780 |
2 |
Author: Fergus Dall <sidereal <AT> google <DOT> com> |
3 |
AuthorDate: Thu Sep 24 08:27:56 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 27 04:38:30 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=874f570d |
7 |
|
8 |
sys-libs/libsemanage: Use tc-getPKG_CONFIG where appropriate |
9 |
|
10 |
A couple of emake commands were calling pkg_config directly instead of |
11 |
using tc-getPKG_CONFIG. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/ |
14 |
Signed-off-by: Fergus Dall <sidereal <AT> google.com> |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
sys-libs/libsemanage/libsemanage-3.3.ebuild | 2 ++ |
18 |
sys-libs/libsemanage/libsemanage-9999.ebuild | 2 ++ |
19 |
2 files changed, 4 insertions(+) |
20 |
|
21 |
diff --git a/sys-libs/libsemanage/libsemanage-3.3.ebuild b/sys-libs/libsemanage/libsemanage-3.3.ebuild |
22 |
index cea18c8179bf..6fb8bef03736 100644 |
23 |
--- a/sys-libs/libsemanage/libsemanage-3.3.ebuild |
24 |
+++ b/sys-libs/libsemanage/libsemanage-3.3.ebuild |
25 |
@@ -84,6 +84,7 @@ multilib_src_compile() { |
26 |
emake \ |
27 |
AR="$(tc-getAR)" \ |
28 |
CC="$(tc-getCC)" \ |
29 |
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \ |
30 |
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ |
31 |
"$@" |
32 |
} |
33 |
@@ -101,6 +102,7 @@ multilib_src_install() { |
34 |
installation_py() { |
35 |
emake DESTDIR="${ED}" \ |
36 |
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ |
37 |
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \ |
38 |
install-pywrap |
39 |
python_optimize # bug 531638 |
40 |
} |
41 |
|
42 |
diff --git a/sys-libs/libsemanage/libsemanage-9999.ebuild b/sys-libs/libsemanage/libsemanage-9999.ebuild |
43 |
index e48ea5a71f78..574015387038 100644 |
44 |
--- a/sys-libs/libsemanage/libsemanage-9999.ebuild |
45 |
+++ b/sys-libs/libsemanage/libsemanage-9999.ebuild |
46 |
@@ -84,6 +84,7 @@ multilib_src_compile() { |
47 |
emake \ |
48 |
AR="$(tc-getAR)" \ |
49 |
CC="$(tc-getCC)" \ |
50 |
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \ |
51 |
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ |
52 |
"$@" |
53 |
} |
54 |
@@ -101,6 +102,7 @@ multilib_src_install() { |
55 |
installation_py() { |
56 |
emake DESTDIR="${ED}" \ |
57 |
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ |
58 |
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \ |
59 |
install-pywrap |
60 |
python_optimize # bug 531638 |
61 |
} |