app-text/opensp: Fix deps for glibc-2.26
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 16 Sep 2017 15:57:19 +0000 (17:57 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 16 Sep 2017 15:57:19 +0000 (17:57 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.3

app-text/opensp/opensp-1.5.2-r4.ebuild

index d321e143641cb7dba2c893594ab298bb3119bd99..31b2005f81cd95c23ca106723045e20184a7cffb 100644 (file)
@@ -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}