commit:     a40cbd88c042002320f2166469046a29b883457b
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  1 18:58:38 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Nov  1 18:58:54 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a40cbd88

net-nds/yp-tools: Add missing dependencies for the glibc-2.26 case, bug 630246

Closes: https://bugs.gentoo.org/630246
Package-Manager: Portage-2.3.13, Repoman-2.3.4

 .../yp-tools/{yp-tools-4.2.2.ebuild => yp-tools-4.2.2-r1.ebuild}   | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/net-nds/yp-tools/yp-tools-4.2.2.ebuild 
b/net-nds/yp-tools/yp-tools-4.2.2-r1.ebuild
similarity index 83%
rename from net-nds/yp-tools/yp-tools-4.2.2.ebuild
rename to net-nds/yp-tools/yp-tools-4.2.2-r1.ebuild
index a566743bf7c..85e54c36ba5 100644
--- a/net-nds/yp-tools/yp-tools-4.2.2.ebuild
+++ b/net-nds/yp-tools/yp-tools-4.2.2-r1.ebuild
@@ -13,6 +13,13 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="nls"
 
+DEPEND="
+       || ( <sys-libs/glibc-2.26[rpc] net-libs/libtirpc )
+       net-libs/libnsl:0=
+"
+RDEPEND=${DEPEND}
+# uses always libtirpc if present
+
 src_configure () {
        econf \
                --disable-static \

Reply via email to