summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-19 11:13:02 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-19 11:14:04 -0400
commit361d654dacb06259a76e782799bb32a7d61a1843 (patch)
treea4b246a7b1500090560ff9281749add0bff2707b /sys-libs/pam
parentsys-libs/pam: mark 1.2.1 stable for arm64/m68k/s390/sh (diff)
downloadgentoo-361d654dacb06259a76e782799bb32a7d61a1843.tar.gz
gentoo-361d654dacb06259a76e782799bb32a7d61a1843.tar.bz2
gentoo-361d654dacb06259a76e782799bb32a7d61a1843.zip
sys-libs/pam: require pkgconfig only when USE=nis
The only library pam uses pkg-config to look up is libtirpc, and we use that only when USE=nis. Depend on pkg-config only when that is enabled to avoid circular dependencies (especially when bootstrapping).
Diffstat (limited to 'sys-libs/pam')
-rw-r--r--sys-libs/pam/pam-1.2.1-r1.ebuild2
-rw-r--r--sys-libs/pam/pam-1.2.1.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-libs/pam/pam-1.2.1-r1.ebuild b/sys-libs/pam/pam-1.2.1-r1.ebuild
index 0c86a62dc36d..b5fb9fc27b7e 100644
--- a/sys-libs/pam/pam-1.2.1-r1.ebuild
+++ b/sys-libs/pam/pam-1.2.1-r1.ebuild
@@ -29,7 +29,7 @@ DEPEND="${RDEPEND}
>=sys-devel/libtool-2
>=sys-devel/flex-2.5.39-r1[${MULTILIB_USEDEP}]
nls? ( sys-devel/gettext )
- >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
+ nis? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )"
PDEPEND="sys-auth/pambase
vim-syntax? ( app-vim/pam-syntax )"
RDEPEND="${RDEPEND}
diff --git a/sys-libs/pam/pam-1.2.1.ebuild b/sys-libs/pam/pam-1.2.1.ebuild
index b540a67138e1..0a342c59d8ad 100644
--- a/sys-libs/pam/pam-1.2.1.ebuild
+++ b/sys-libs/pam/pam-1.2.1.ebuild
@@ -29,7 +29,7 @@ DEPEND="${RDEPEND}
>=sys-devel/libtool-2
>=sys-devel/flex-2.5.39-r1[${MULTILIB_USEDEP}]
nls? ( sys-devel/gettext )
- >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
+ nis? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )"
PDEPEND="sys-auth/pambase
vim-syntax? ( app-vim/pam-syntax )"
RDEPEND="${RDEPEND}