mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user