summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/opensp/opensp-1.5.2-r4.ebuild9
1 files 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 d321e143641c..31b2005f81cd 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}