summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-06-27 10:01:25 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-06-27 10:01:25 +0000
commite3da4a90c50097a946e1a87b57bae650582ef99e (patch)
treece35e90c354fa1ba7ff431e927ebcf24b3e857f5 /sys-auth
parentVersion bump. (diff)
downloadgentoo-2-e3da4a90c50097a946e1a87b57bae650582ef99e.tar.gz
gentoo-2-e3da4a90c50097a946e1a87b57bae650582ef99e.tar.bz2
gentoo-2-e3da4a90c50097a946e1a87b57bae650582ef99e.zip
Redefine libprivdir in install for multilib-strict wrt #423381 by Michael Palimaka
(Portage version: 2.2.0_alpha111/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/polkit/ChangeLog6
-rw-r--r--sys-auth/polkit/polkit-0.106-r3.ebuild15
2 files changed, 14 insertions, 7 deletions
diff --git a/sys-auth/polkit/ChangeLog b/sys-auth/polkit/ChangeLog
index c4629a40ceb9..66a2701833a5 100644
--- a/sys-auth/polkit/ChangeLog
+++ b/sys-auth/polkit/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-auth/polkit
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.87 2012/06/25 09:32:04 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.88 2012/06/27 10:01:25 ssuominen Exp $
+
+ 27 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> polkit-0.106-r3.ebuild:
+ Redefine libprivdir in install for multilib-strict wrt #423381 by Michael
+ Palimaka
*polkit-0.106-r3 (25 Jun 2012)
diff --git a/sys-auth/polkit/polkit-0.106-r3.ebuild b/sys-auth/polkit/polkit-0.106-r3.ebuild
index 5859819a0f91..0ac5f15c0cf0 100644
--- a/sys-auth/polkit/polkit-0.106-r3.ebuild
+++ b/sys-auth/polkit/polkit-0.106-r3.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.106-r3.ebuild,v 1.1 2012/06/25 09:32:04 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.106-r3.ebuild,v 1.2 2012/06/27 10:01:25 ssuominen Exp $
EAPI=4
-inherit eutils pam pax-utils systemd user
+inherit eutils multilib pam pax-utils systemd user
DESCRIPTION="Policy framework for controlling privileges for system-wide services"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/polkit"
@@ -41,8 +41,6 @@ PDEPEND="
)
!systemd? ( >=sys-auth/consolekit-0.4.5_p2012[policykit] )"
-DOCS="docs/TODO HACKING NEWS README"
-
pkg_setup() {
local u=polkitd
local g=polkitd
@@ -80,7 +78,12 @@ src_configure() {
}
src_install() {
- default
+ emake \
+ DESTDIR="${D}" \
+ libprivdir="${EPREFIX}"/usr/$(get_libdir)/polkit-1 \
+ install
+
+ dodoc docs/TODO HACKING NEWS README
fowners -R polkitd:root /{etc,usr/share}/polkit-1/rules.d
@@ -95,7 +98,7 @@ src_install() {
fi
# Required for polkitd on hardened/PaX due to spidermonkey's JIT
- pax-mark mr "${ED}usr/lib/polkit-1/polkitd"
+ pax-mark mr "${ED}"/usr/$(get_libdir)/polkit-1/polkitd
}
pkg_postinst() {