summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/modemmanager/modemmanager-1.10.0.ebuild6
-rw-r--r--net-misc/modemmanager/modemmanager-1.8.2-r1.ebuild6
2 files changed, 6 insertions, 6 deletions
diff --git a/net-misc/modemmanager/modemmanager-1.10.0.ebuild b/net-misc/modemmanager/modemmanager-1.10.0.ebuild
index f7ea0d8471dc..3f68591007d6 100644
--- a/net-misc/modemmanager/modemmanager-1.10.0.ebuild
+++ b/net-misc/modemmanager/modemmanager-1.10.0.ebuild
@@ -5,7 +5,7 @@ EAPI=6
GNOME2_LA_PUNT="yes"
VALA_USE_DEPEND="vapigen"
-inherit gnome2 user readme.gentoo-r1 systemd udev vala
+inherit gnome2 readme.gentoo-r1 systemd udev vala
DESCRIPTION="Modem and mobile broadband management libraries"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/ModemManager/"
@@ -39,6 +39,8 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
vala? ( $(vala_depend) )
"
+RDEPEND="${RDEPEND}
+ policykit? ( acct-group/plugdev )"
S="${WORKDIR}/ModemManager-${PV}"
@@ -97,8 +99,6 @@ src_install() {
pkg_postinst() {
gnome2_pkg_postinst
- use policykit && enewgroup plugdev
-
# The polkit rules file moved to /usr/share
old_rules="${EROOT}etc/polkit-1/rules.d/01-org.freedesktop.ModemManager.rules"
if [[ -f "${old_rules}" ]]; then
diff --git a/net-misc/modemmanager/modemmanager-1.8.2-r1.ebuild b/net-misc/modemmanager/modemmanager-1.8.2-r1.ebuild
index 52d42ead5c7b..7457b97ba8a4 100644
--- a/net-misc/modemmanager/modemmanager-1.8.2-r1.ebuild
+++ b/net-misc/modemmanager/modemmanager-1.8.2-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
GNOME2_LA_PUNT="yes"
VALA_USE_DEPEND="vapigen"
-inherit gnome2 user readme.gentoo-r1 systemd udev vala
+inherit gnome2 readme.gentoo-r1 systemd udev vala
DESCRIPTION="Modem and mobile broadband management libraries"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/ModemManager/"
@@ -39,6 +39,8 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
vala? ( $(vala_depend) )
"
+RDEPEND="${RDEPEND}
+ policykit? ( acct-group/plugdev )"
S="${WORKDIR}/ModemManager-${PV}"
@@ -97,8 +99,6 @@ src_install() {
pkg_postinst() {
gnome2_pkg_postinst
- use policykit && enewgroup plugdev
-
# The polkit rules file moved to /usr/share
old_rules="${EROOT}etc/polkit-1/rules.d/01-org.freedesktop.ModemManager.rules"
if [[ -f "${old_rules}" ]]; then