summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-02-11 21:37:27 +0000
committerSam James <sam@gentoo.org>2022-02-11 21:39:10 +0000
commitee615352ba1e2bcacd26b5f566bb1f77269c0770 (patch)
tree555ad57ce3711976c43483ed01b8c031811eda01 /dev-libs
parentsci-mathematics/z3: Stabilize 4.8.14 arm64, #833068 (diff)
downloadgentoo-ee615352ba1e2bcacd26b5f566bb1f77269c0770.tar.gz
gentoo-ee615352ba1e2bcacd26b5f566bb1f77269c0770.tar.bz2
gentoo-ee615352ba1e2bcacd26b5f566bb1f77269c0770.zip
dev-libs/glib: fix src_prepare
Swapped xdg_src_prepare (not defined in newer EAPIs) to xdg_environment_reset. Know there's a GNOME equivalent underneath but wanted a safer & quicker option for now until can be investigated properly. Closes: https://bugs.gentoo.org/833142 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/glib/glib-2.70.4.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-libs/glib/glib-2.70.4.ebuild b/dev-libs/glib/glib-2.70.4.ebuild
index a5779f93b9ed..f5ca5a11ff96 100644
--- a/dev-libs/glib/glib-2.70.4.ebuild
+++ b/dev-libs/glib/glib-2.70.4.ebuild
@@ -136,7 +136,8 @@ src_prepare() {
chmod a+x "${T}/glib-test-ld-wrapper" || die
sed -i -e "s|'ld'|'${T}/glib-test-ld-wrapper'|g" gio/tests/meson.build || die
- xdg_src_prepare
+ default
+ xdg_environment_reset
gnome2_environment_reset
# TODO: python_name sedding for correct python shebang? Might be relevant mainly for glib-utils only
}