dev-lang/ghc: add dependency on ncurses-5 ABI for ghc[binary], bug #603632
authorSergei Trofimovich <slyfox@gentoo.org>
Wed, 28 Dec 2016 21:12:39 +0000 (21:12 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Wed, 28 Dec 2016 21:14:05 +0000 (21:14 +0000)
all existing GHC versions were built agains ncurses-5.
Pull in this binary depend when uses choses to install
ghc binary as-is.

Reported-by: Chris Henhawke
Bug: https://bugs.gentoo.org/603632

Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-lang/ghc/ghc-7.10.2-r1.ebuild
dev-lang/ghc/ghc-7.10.2.ebuild
dev-lang/ghc/ghc-7.10.3.ebuild
dev-lang/ghc/ghc-7.8.3.ebuild
dev-lang/ghc/ghc-7.8.4.ebuild

index c010b36d0746f0ddb4cbce754a4c37e7ed60b408..13af9a4d9d027945a5dc4e9a18641631362b0af7 100644 (file)
@@ -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
index 719778ce02fe46bb4f13dae30427635575172e68..7b04d8389d98d4ab94e563b088dd9d022670ef6d 100644 (file)
@@ -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
index 78ebfbf12d46725aedf24dc97ea61e06c063a31f..b2d4287ec304392b7cdddd8ddae54cc5deb3c927 100644 (file)
@@ -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
index 8bc6574929bff412c1788b9089e4e553e9a7b029..30b7aa5a54a30cf35030ccdf876c1185c34c800c 100644 (file)
@@ -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$
 
@@ -79,6 +79,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
index aa9c5ccff19ada7ede2afd37b52b84fe93c29346..941a063117f5e3637dc5c9953db9f9bcabac4b5b 100644 (file)
@@ -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$
 
@@ -80,6 +80,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