commit:     d64efec9acacc313a88f1ea5756e7f37c6cacd42
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 29 19:03:06 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May 29 19:03:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d64efec9

net-nds/yp-tools: add missing NLS dependencies

* Calls gettext at build time
* Links against libintl

Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 net-nds/yp-tools/yp-tools-4.2.3.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/net-nds/yp-tools/yp-tools-4.2.3.ebuild 
b/net-nds/yp-tools/yp-tools-4.2.3.ebuild
index 0f601865215..029b6b4d144 100644
--- a/net-nds/yp-tools/yp-tools-4.2.3.ebuild
+++ b/net-nds/yp-tools/yp-tools-4.2.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,11 +14,13 @@ SLOT="0"
 KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
 IUSE="nls"
 
+# Always uses libtirpc if present
 DEPEND="
        net-libs/libtirpc:=
-       >=net-libs/libnsl-1.2.0:0="
+       >=net-libs/libnsl-1.2.0:0=
+       nls? ( virtual/libintl )"
 RDEPEND="${DEPEND}"
-# always uses libtirpc if present
+BDEPEND="nls? ( sys-devel/gettext )"
 
 src_prepare() {
        default

Reply via email to