diff options
-rw-r--r-- | sys-libs/libsemanage/libsemanage-3.3.ebuild | 4 | ||||
-rw-r--r-- | sys-libs/libsemanage/libsemanage-9999.ebuild | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sys-libs/libsemanage/libsemanage-3.3.ebuild b/sys-libs/libsemanage/libsemanage-3.3.ebuild index cea18c8179bf..6a52cf9a36b2 100644 --- a/sys-libs/libsemanage/libsemanage-3.3.ebuild +++ b/sys-libs/libsemanage/libsemanage-3.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -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 fa2bb4e34007..85bbb04e90aa 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 } |