summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2016-09-08 23:58:54 +0200
committerGilles Dartiguelongue <eva@gentoo.org>2016-09-09 01:02:53 +0200
commit4106aca1c10bff2615ac5470c0c0591997d9e14a (patch)
tree57284cf06d19bc6995d1dc7e670241180f2cc7cf /sys-auth
parentnet-irc/polari: raise dependency on gjs to fix segfault (diff)
downloadgentoo-4106aca1c10bff2615ac5470c0c0591997d9e14a.tar.gz
gentoo-4106aca1c10bff2615ac5470c0c0591997d9e14a.tar.bz2
gentoo-4106aca1c10bff2615ac5470c0c0591997d9e14a.zip
sys-auth/polkit: fix crossbuild, bug #590764
Also reset XDG_* environment variables, bug #587330. Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/polkit/polkit-0.113-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-auth/polkit/polkit-0.113-r1.ebuild b/sys-auth/polkit/polkit-0.113-r1.ebuild
index f912ab8950b2..0329272d9337 100644
--- a/sys-auth/polkit/polkit-0.113-r1.ebuild
+++ b/sys-auth/polkit/polkit-0.113-r1.ebuild
@@ -3,7 +3,7 @@
# $Id$
EAPI=5
-inherit eutils multilib pam pax-utils systemd user
+inherit eutils libtool multilib pam pax-utils systemd user xdg-utils
DESCRIPTION="Policy framework for controlling privileges for system-wide services"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/polkit"
@@ -71,9 +71,14 @@ src_prepare() {
-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
+
+ # Fix cross-building, bug #590764
+ elibtoolize
}
src_configure() {
+ xdg_environment_reset
+
econf \
--localstatedir="${EPREFIX}"/var \
--disable-static \