commit:     896146f9f64469d4d46ad2eb3bd96eb4b562f5e5
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  2 18:52:25 2016 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sat Jan  2 18:53:53 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=896146f9

sys-auth/polkit: fix workaround around around, bug #570586

Package-Manager: portage-2.2.26

 sys-auth/polkit/polkit-0.113-r1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys-auth/polkit/polkit-0.113-r1.ebuild 
b/sys-auth/polkit/polkit-0.113-r1.ebuild
index b3bbd00..64d67b2 100644
--- a/sys-auth/polkit/polkit-0.113-r1.ebuild
+++ b/sys-auth/polkit/polkit-0.113-r1.ebuild
@@ -66,8 +66,11 @@ pkg_setup() {
 src_prepare() {
        sed -i -e 's|unix-group:wheel|unix-user:0|' 
src/polkitbackend/*-default.rules || die #401513
 
-       # Drop upstream hack around standard gtk-doc behavior, bug #552170
-       sed -i -e 's/@ENABLE_GTK_DOC_TRUE@//' docs/polkit/Makefile.in || die
+       # Workaround upstream hack around standard gtk-doc behavior, bug #552170
+       sed -i -e 's/@ENABLE_GTK_DOC_TRUE@\(TARGET_DIR\)/\1/' \
+               -e '/install-data-local:/,/uninstall-local:/ 
s/@ENABLE_GTK_DOC_TRUE@//' \
+               -e 's/@ENABLE_GTK_DOC_FALSE@install-data-local://' \
+               docs/polkit/Makefile.in || die
 }
 
 src_configure() {

Reply via email to