summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/ghc/ghc-7.10.2.ebuild')
-rw-r--r--dev-lang/ghc/ghc-7.10.2.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/dev-lang/ghc/ghc-7.10.2.ebuild b/dev-lang/ghc/ghc-7.10.2.ebuild
index 719778ce02fe..7b04d8389d98 100644
--- a/dev-lang/ghc/ghc-7.10.2.ebuild
+++ b/dev-lang/ghc/ghc-7.10.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -90,6 +90,15 @@ RDEPEND="
kernel_linux? ( >=sys-devel/binutils-2.17:* )
kernel_SunOS? ( >=sys-devel/binutils-2.17:* )
"
+# gentoo binaries are built against ncurses-5
+RDEPEND+="
+ binary? (
+ || (
+ sys-libs/ncurses:0/5
+ sys-libs/ncurses:5/5
+ )
+ )
+"
# force dependency on >=gmp-5, even if >=gmp-4.1 would be enough. this is due to
# that we want the binaries to use the latest versioun available, and not to be