summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFergus Dall <sidereal@google.com>2020-09-24 18:27:56 +1000
committerSam James <sam@gentoo.org>2022-03-27 05:38:30 +0100
commit874f570d3b6a1bfc7c873a05faa0d3a036f69780 (patch)
tree8e2d27e62c88c068f86ddd4a96a2cf3e00aa311f /sys-libs/libsemanage
parentgnome-extra/gnome-boxes: Version bump to 42.0.1 (diff)
downloadgentoo-874f570d3b6a1bfc7c873a05faa0d3a036f69780.tar.gz
gentoo-874f570d3b6a1bfc7c873a05faa0d3a036f69780.tar.bz2
gentoo-874f570d3b6a1bfc7c873a05faa0d3a036f69780.zip
sys-libs/libsemanage: Use tc-getPKG_CONFIG where appropriate
A couple of emake commands were calling pkg_config directly instead of using tc-getPKG_CONFIG. Closes: https://bugs.gentoo.org/ Signed-off-by: Fergus Dall <sidereal@google.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/libsemanage')
-rw-r--r--sys-libs/libsemanage/libsemanage-3.3.ebuild2
-rw-r--r--sys-libs/libsemanage/libsemanage-9999.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys-libs/libsemanage/libsemanage-3.3.ebuild b/sys-libs/libsemanage/libsemanage-3.3.ebuild
index cea18c8179bf..6fb8bef03736 100644
--- a/sys-libs/libsemanage/libsemanage-3.3.ebuild
+++ b/sys-libs/libsemanage/libsemanage-3.3.ebuild
@@ -84,6 +84,7 @@ multilib_src_compile() {
emake \
AR="$(tc-getAR)" \
CC="$(tc-getCC)" \
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
"$@"
}
@@ -101,6 +102,7 @@ multilib_src_install() {
installation_py() {
emake DESTDIR="${ED}" \
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \
install-pywrap
python_optimize # bug 531638
}
diff --git a/sys-libs/libsemanage/libsemanage-9999.ebuild b/sys-libs/libsemanage/libsemanage-9999.ebuild
index e48ea5a71f78..574015387038 100644
--- a/sys-libs/libsemanage/libsemanage-9999.ebuild
+++ b/sys-libs/libsemanage/libsemanage-9999.ebuild
@@ -84,6 +84,7 @@ multilib_src_compile() {
emake \
AR="$(tc-getAR)" \
CC="$(tc-getCC)" \
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
"$@"
}
@@ -101,6 +102,7 @@ multilib_src_install() {
installation_py() {
emake DESTDIR="${ED}" \
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \
install-pywrap
python_optimize # bug 531638
}