commit:     fc92da611b9a9a1aeb208069f269586d1ce717dc
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 24 19:38:57 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Nov 24 21:00:41 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc92da61

sys-libs/pam: fix dependencies

Move docbook xml to BDEPEND.
Move gettext to BDEPEND.
Drop MULTILIB_USEDEP on flex; we only need the 'flex' binary.
Drop MULTILIB_USEDEP on libxslt; we only need the 'xsltproc' binary.
Add libraries to both DEPEND and RDEPEND.

Package-Manager: Portage-2.3.51_p14, Repoman-2.3.12_p5
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 sys-libs/pam/pam-1.3.1-r1.ebuild | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/sys-libs/pam/pam-1.3.1-r1.ebuild b/sys-libs/pam/pam-1.3.1-r1.ebuild
index 9abd1773a24..f47967684da 100644
--- a/sys-libs/pam/pam-1.3.1-r1.ebuild
+++ b/sys-libs/pam/pam-1.3.1-r1.ebuild
@@ -14,27 +14,26 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="audit berkdb +cracklib debug nis nls +pie selinux static-libs"
 
-DEPEND="app-text/docbook-xml-dtd:4.1.2
+BDEPEND="app-text/docbook-xml-dtd:4.1.2
        app-text/docbook-xml-dtd:4.3
        app-text/docbook-xml-dtd:4.4
        app-text/docbook-xml-dtd:4.5
-       dev-libs/libxslt[${MULTILIB_USEDEP}]
+       dev-libs/libxslt
+       sys-devel/flex
+       virtual/pkgconfig[${MULTILIB_USEDEP}]
        nls? ( sys-devel/gettext )"
-
-RDEPEND="${DEPEND}
+DEPEND="
        audit? ( >=sys-process/audit-2.2.2[${MULTILIB_USEDEP}] )
        berkdb? ( >=sys-libs/db-4.8.30-r1:=[${MULTILIB_USEDEP}] )
        cracklib? ( >=sys-libs/cracklib-2.9.1-r1[${MULTILIB_USEDEP}] )
        selinux? ( >=sys-libs/libselinux-2.2.2-r4[${MULTILIB_USEDEP}] )
        nis? ( >=net-libs/libtirpc-0.2.4-r2[${MULTILIB_USEDEP}] )
-       nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
+       nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}
        !<sys-apps/openrc-0.11.8
        !sys-auth/openpam
        !sys-auth/pam_userdb"
 
-BDEPEND="sys-devel/flex[${MULTILIB_USEDEP}]
-       virtual/pkgconfig[${MULTILIB_USEDEP}]"
-
 PDEPEND="sys-auth/pambase"
 
 S="${WORKDIR}/linux-${P}"

Reply via email to