summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/polkit/polkit-0.106-r5.ebuild')
-rw-r--r--sys-auth/polkit/polkit-0.106-r5.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-auth/polkit/polkit-0.106-r5.ebuild b/sys-auth/polkit/polkit-0.106-r5.ebuild
index be3a8b123402..6e90a9c00f65 100644
--- a/sys-auth/polkit/polkit-0.106-r5.ebuild
+++ b/sys-auth/polkit/polkit-0.106-r5.ebuild
@@ -1,6 +1,6 @@
# 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-r5.ebuild,v 1.2 2012/06/27 11:45:47 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.106-r5.ebuild,v 1.3 2012/06/27 11:56:12 ssuominen Exp $
EAPI=4
inherit eutils multilib pam pax-utils systemd user
@@ -95,8 +95,10 @@ src_install() {
rm -f "${ED}"/usr/lib*/pkgconfig/polkit-backend-1.pc #423431
# Required for polkitd on hardened/PaX due to spidermonkey's JIT
- if has_version '<dev-lang/spidermonkey-1.8.7' || has_version 'dev-lang/spidermonkey[jit]'; then
+ if has_version '<dev-lang/spidermonkey-1.8.7'; then
pax-mark mr "${ED}"/usr/$(get_libdir)/polkit-1/polkitd
+ elif has_version '>=dev-lang/spidermonkey-1.8.7[jit]'; then
+ pax-mark m "${ED}"/usr/$(get_libdir)/polkit-1/polkitd
fi
}