commit:     318cef1e679d0546067b91e95f9af4c1b4f4e411
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 21 01:01:55 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 21 01:02:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=318cef1e

dev-libs/glib: don't try to patch non-existent sources w/ USE=-introspection

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

 dev-libs/glib/glib-2.80.5-r1.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-libs/glib/glib-2.80.5-r1.ebuild 
b/dev-libs/glib/glib-2.80.5-r1.ebuild
index 6e54c9da6114..66d75184be4f 100644
--- a/dev-libs/glib/glib-2.80.5-r1.ebuild
+++ b/dev-libs/glib/glib-2.80.5-r1.ebuild
@@ -191,12 +191,12 @@ src_prepare() {
        # Link the glib source to the introspection subproject directory so it 
can be built there first
        if use introspection ; then
                ln -s "${S}" "${INTROSPECTION_SOURCE_DIR}/subprojects/glib"
-       fi
 
-       # bug #946578
-       cd "${INTROSPECTION_SOURCE_DIR}" || die
-       eapply "${FILESDIR}"/glib-2.80.5-gobject-introspection-1.80.patch
-       cd "${S}" || die
+               # bug #946578
+               cd "${INTROSPECTION_SOURCE_DIR}" || die
+               eapply 
"${FILESDIR}"/glib-2.80.5-gobject-introspection-1.80.patch
+               cd "${S}" || die
+       fi
 
        default
        gnome2_environment_reset

Reply via email to