summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-05-29 21:03:06 +0200
committerDavid Seifert <soap@gentoo.org>2021-05-29 21:03:06 +0200
commitd64efec9acacc313a88f1ea5756e7f37c6cacd42 (patch)
treebad21140a5c75196cde851a58731fa9bf337ad29 /net-nds/yp-tools
parentsys-libs/cracklib: add missing NLS dependencies (diff)
downloadgentoo-d64efec9acacc313a88f1ea5756e7f37c6cacd42.tar.gz
gentoo-d64efec9acacc313a88f1ea5756e7f37c6cacd42.tar.bz2
gentoo-d64efec9acacc313a88f1ea5756e7f37c6cacd42.zip
net-nds/yp-tools: add missing NLS dependencies
* Calls gettext at build time * Links against libintl Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-nds/yp-tools')
-rw-r--r--net-nds/yp-tools/yp-tools-4.2.3.ebuild8
1 files 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 0f601865215b..029b6b4d1448 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