summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/ghc/ghc-7.10.3.ebuild')
-rw-r--r--dev-lang/ghc/ghc-7.10.3.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-lang/ghc/ghc-7.10.3.ebuild b/dev-lang/ghc/ghc-7.10.3.ebuild
index 78ebfbf12d46..b2d4287ec304 100644
--- a/dev-lang/ghc/ghc-7.10.3.ebuild
+++ b/dev-lang/ghc/ghc-7.10.3.ebuild
@@ -87,6 +87,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