From 2cee2aa42e8f945a974c17e9ff80541822866036 Mon Sep 17 00:00:00 2001 From: Alexandre Rostovtsev Date: Sat, 26 Mar 2016 17:20:28 -0400 Subject: dev-libs/glib: python shebang build failure when USE=utils (bug #578226) Restore behavior from previous ebuild versions; it's needed to avoid python shebang mis-mangling while avoiding a build dependency on python when USE="utils" FEATURES="-test" Package-Manager: portage-2.2.28 --- dev-libs/glib/glib-2.48.0.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'dev-libs') diff --git a/dev-libs/glib/glib-2.48.0.ebuild b/dev-libs/glib/glib-2.48.0.ebuild index c1d5a506be6a..37bee6d2406c 100644 --- a/dev-libs/glib/glib-2.48.0.ebuild +++ b/dev-libs/glib/glib-2.48.0.ebuild @@ -128,9 +128,11 @@ src_prepare() { # missing from 2.48.0 tarball, should be fixed in 2.48.1; bug #578238 cp "${FILESDIR}"/${P}-gobject.stp.in gobject/gobject.stp.in || die - # leave python shebang alone - # sed -e '/${PYTHON}/d' \ - # -i glib/Makefile.{am,in} || die + # Leave python shebang alone - handled by python_replicate_script + # We could call python_setup and give configure a valid --with-python + # arg, but that would mean a build dep on python when USE=utils. + sed -e '/${PYTHON}/d' \ + -i glib/Makefile.{am,in} || die epatch_user -- cgit v1.2.3-65-gdbad