commit:     f76c2cd7ee6f641645be20e23dabe17d4794611a
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun May 28 05:33:23 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun May 28 05:37:04 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f76c2cd7

sys-auth/elogind: move sys-apps/dbus to PDEPEND

elogind requires dbus at runtime only, while dbus[elogind] requires elogind at
both build and runtime. This can cause a circular dependency.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sys-auth/elogind/elogind-229.3.ebuild | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-auth/elogind/elogind-229.3.ebuild 
b/sys-auth/elogind/elogind-229.3.ebuild
index 74c4496adf2..a5912caf290 100644
--- a/sys-auth/elogind/elogind-229.3.ebuild
+++ b/sys-auth/elogind/elogind-229.3.ebuild
@@ -14,19 +14,16 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
 IUSE="acl debug pam policykit selinux"
 
-COMMON_DEPEND="
+RDEPEND="
        sys-apps/util-linux
        sys-libs/libcap
        virtual/libudev:=
        acl? ( sys-apps/acl )
        pam? ( virtual/pam )
        selinux? ( sys-libs/libselinux )
-"
-RDEPEND="${COMMON_DEPEND}
-       sys-apps/dbus
        !sys-apps/systemd
 "
-DEPEND="${COMMON_DEPEND}
+DEPEND="${RDEPEND}
        app-text/docbook-xml-dtd:4.2
        app-text/docbook-xml-dtd:4.5
        app-text/docbook-xsl-stylesheets
@@ -35,7 +32,10 @@ DEPEND="${COMMON_DEPEND}
        sys-devel/libtool
        virtual/pkgconfig
 "
-PDEPEND="policykit? ( sys-auth/polkit )"
+PDEPEND="
+       sys-apps/dbus
+       policykit? ( sys-auth/polkit )
+"
 
 PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" )
 

Reply via email to