commit:     047fe21fd7723dc0c9b0a9cf07c77b1cf7f290ae
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 14 16:00:06 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 14 16:00:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=047fe21f

dev-libs/glib: fix INTROSPECTION_{BIN,LIB}_DIR for prefix

Closes: https://bugs.gentoo.org/946134
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/glib/glib-2.80.5.ebuild | 4 ++--
 dev-libs/glib/glib-2.82.2.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-libs/glib/glib-2.80.5.ebuild b/dev-libs/glib/glib-2.80.5.ebuild
index fa2ecf79c4e2..d27759baf6d3 100644
--- a/dev-libs/glib/glib-2.80.5.ebuild
+++ b/dev-libs/glib/glib-2.80.5.ebuild
@@ -214,8 +214,8 @@ multilib_src_configure() {
        # Build internal copy of gobject-introspection to avoid circular 
dependency (Built for native abi only)
        if multilib_native_use introspection && ! has_version 
">=dev-libs/${INTROSPECTION_P}" ; then
                einfo "Bootstrapping gobject-introspection..."
-               INTROSPECTION_BIN_DIR="${T}/usr/bin"
-               INTROSPECTION_LIB_DIR="${T}/usr/$(get_libdir)"
+               INTROSPECTION_BIN_DIR="${T}/${EPREFIX}/usr/bin"
+               INTROSPECTION_LIB_DIR="${T}/${EPREFIX}/usr/$(get_libdir)"
 
                local emesonargs=(
                        -Dpython="${EPYTHON}"

diff --git a/dev-libs/glib/glib-2.82.2.ebuild b/dev-libs/glib/glib-2.82.2.ebuild
index 5ae7e17ed0ad..16ca673a8268 100644
--- a/dev-libs/glib/glib-2.82.2.ebuild
+++ b/dev-libs/glib/glib-2.82.2.ebuild
@@ -214,8 +214,8 @@ multilib_src_configure() {
        # Build internal copy of gobject-introspection to avoid circular 
dependency (Built for native abi only)
        if multilib_native_use introspection && ! has_version 
">=dev-libs/${INTROSPECTION_P}" ; then
                einfo "Bootstrapping gobject-introspection..."
-               INTROSPECTION_BIN_DIR="${T}/usr/bin"
-               INTROSPECTION_LIB_DIR="${T}/usr/$(get_libdir)"
+               INTROSPECTION_BIN_DIR="${T}/${EPREFIX}/usr/bin"
+               INTROSPECTION_LIB_DIR="${T}/${EPREFIX}/usr/$(get_libdir)"
 
                local emesonargs=(
                        -Dpython="${EPYTHON}"

Reply via email to