summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2024-08-31 16:10:00 +0300
committerJoonas Niilola <juippis@gentoo.org>2024-08-31 16:10:00 +0300
commitf10f79f320fbac62473d3d68230acf87a7e7d158 (patch)
treedf4f37a1965b2f604c76f0a628e2153f3bede93f /dev-libs/glib
parentprofiles: Mask media-gfx/kcoloredit for removal (diff)
downloadgentoo-f10f79f320fbac62473d3d68230acf87a7e7d158.tar.gz
gentoo-f10f79f320fbac62473d3d68230acf87a7e7d158.tar.bz2
gentoo-f10f79f320fbac62473d3d68230acf87a7e7d158.zip
dev-libs/glib: Add meson.${CHOST}.ini.local file in src_prepare
- expected by the build system. Closes: https://bugs.gentoo.org/938822 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/glib')
-rw-r--r--dev-libs/glib/glib-2.78.6.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-libs/glib/glib-2.78.6.ebuild b/dev-libs/glib/glib-2.78.6.ebuild
index 19ae0fc69d73..45509edc58e9 100644
--- a/dev-libs/glib/glib-2.78.6.ebuild
+++ b/dev-libs/glib/glib-2.78.6.ebuild
@@ -168,6 +168,10 @@ src_prepare() {
-e '/AvailabilityMacros.h/d' \
gio/giomodule.c || die
+ # Add meson.${CHOST}.ini.local file that the build system expects to find,
+ # #938822
+ touch "${T}/meson.${CHOST}.ini.local" || die
+
default
gnome2_environment_reset
# TODO: python_name sedding for correct python shebang? Might be relevant mainly for glib-utils only