summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2018-08-30 00:49:15 +0300
committerMart Raudsepp <leio@gentoo.org>2018-08-30 00:56:47 +0300
commit9ab0fc5ae434b63d3577d12ce9dc9e90cb78177a (patch)
tree29bd85ceb2cf08f429159099e4e1f4a308c57ac3 /x11-libs/pango
parentdev-util/gnome-builder: bump to 3.28.4 (diff)
downloadgentoo-9ab0fc5ae434b63d3577d12ce9dc9e90cb78177a.tar.gz
gentoo-9ab0fc5ae434b63d3577d12ce9dc9e90cb78177a.tar.bz2
gentoo-9ab0fc5ae434b63d3577d12ce9dc9e90cb78177a.zip
x11-libs/pango: fix src_prepare chaining for correct env cleanup
Properly call up to eclass exported src_prepare functions with the pango-view.1.in copy necessitated custom src_prepare, so that xdg_environment_reset gets called. This fixes build for people who for some reason use `su` instead of more conceptually correct `su -` (former leaks users env vars to root session). But this is one of the reasons xdg_environment_reset exists for correct use instead of my foolish mistakes :) Closes: https://bugs.gentoo.org/664736 Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'x11-libs/pango')
-rw-r--r--x11-libs/pango/pango-1.42.4.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-libs/pango/pango-1.42.4.ebuild b/x11-libs/pango/pango-1.42.4.ebuild
index f0ca0b10e1a0..86f894866ac4 100644
--- a/x11-libs/pango/pango-1.42.4.ebuild
+++ b/x11-libs/pango/pango-1.42.4.ebuild
@@ -38,7 +38,7 @@ DEPEND="${RDEPEND}
"
src_prepare() {
- default
+ gnome2_src_prepare
# This should be updated if next release fails to pre-generate the manpage as well, or src_prepare removed if is properly generated
# https://gitlab.gnome.org/GNOME/pango/issues/270
cp -v "${FILESDIR}"/${PV}-pango-view.1.in "${S}/utils/pango-view.1.in" || die