summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-09-16 17:57:19 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-09-16 17:57:19 +0200
commitd4c53d2eb994e37a8624d4c4533a5abf9318d7a7 (patch)
tree662312562b7fc511d9174f16881935479538a676
parentnet-analyzer/dsniff: Fix build against glibc-2.26, bug 370645 (diff)
downloadgentoo-d4c53d2eb994e37a8624d4c4533a5abf9318d7a7.tar.gz
gentoo-d4c53d2eb994e37a8624d4c4533a5abf9318d7a7.tar.bz2
gentoo-d4c53d2eb994e37a8624d4c4533a5abf9318d7a7.zip
app-text/opensp: Fix deps for glibc-2.26
Package-Manager: Portage-2.3.8, Repoman-2.3.3
-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}