commit: d4c53d2eb994e37a8624d4c4533a5abf9318d7a7
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 16 15:57:19 2017 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Sep 16 15:57:19 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4c53d2e
app-text/opensp: Fix deps for glibc-2.26
Package-Manager: Portage-2.3.8, Repoman-2.3.3
app-text/opensp/opensp-1.5.2-r4.ebuild | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/app-text/opensp/opensp-1.5.2-r4.ebuild
b/app-text/opensp/opensp-1.5.2-r4.ebuild
index d321e143641..31b2005f81c 100644
--- a/app-text/opensp/opensp-1.5.2-r4.ebuild
+++ b/app-text/opensp/opensp-1.5.2-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -16,7 +16,11 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390
~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="doc nls static-libs test"
-DEPEND="nls? ( sys-devel/gettext )
+RDEPEND="
+ || ( <sys-libs/glibc-2.26[rpc] net-libs/libnsl )
+"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
doc? (
app-text/xmlto
app-text/docbook-xml-dtd:4.1.2
@@ -26,7 +30,6 @@ DEPEND="nls? ( sys-devel/gettext )
app-text/openjade
app-text/sgml-common
)"
-RDEPEND=""
S=${WORKDIR}/${MY_P}