commit: 47eaa6c9ce342607d3185ee5c10fdf0b763ef52e Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Wed Dec 28 21:12:39 2016 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Wed Dec 28 21:14:05 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47eaa6c9
dev-lang/ghc: add dependency on ncurses-5 ABI for ghc[binary], bug #603632 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 | 11 ++++++++++- dev-lang/ghc/ghc-7.10.2.ebuild | 11 ++++++++++- dev-lang/ghc/ghc-7.10.3.ebuild | 9 +++++++++ dev-lang/ghc/ghc-7.8.3.ebuild | 11 ++++++++++- dev-lang/ghc/ghc-7.8.4.ebuild | 11 ++++++++++- 5 files changed, 49 insertions(+), 4 deletions(-) diff --git a/dev-lang/ghc/ghc-7.10.2-r1.ebuild b/dev-lang/ghc/ghc-7.10.2-r1.ebuild index c010b36..13af9a4 100644 --- a/dev-lang/ghc/ghc-7.10.2-r1.ebuild +++ b/dev-lang/ghc/ghc-7.10.2-r1.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 diff --git a/dev-lang/ghc/ghc-7.10.2.ebuild b/dev-lang/ghc/ghc-7.10.2.ebuild index 719778c..7b04d83 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 diff --git a/dev-lang/ghc/ghc-7.10.3.ebuild b/dev-lang/ghc/ghc-7.10.3.ebuild index 78ebfbf..b2d4287 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 diff --git a/dev-lang/ghc/ghc-7.8.3.ebuild b/dev-lang/ghc/ghc-7.8.3.ebuild index 8bc6574..30b7aa5 100644 --- a/dev-lang/ghc/ghc-7.8.3.ebuild +++ b/dev-lang/ghc/ghc-7.8.3.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$ @@ -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 diff --git a/dev-lang/ghc/ghc-7.8.4.ebuild b/dev-lang/ghc/ghc-7.8.4.ebuild index aa9c5cc..941a063 100644 --- a/dev-lang/ghc/ghc-7.8.4.ebuild +++ b/dev-lang/ghc/ghc-7.8.4.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$ @@ -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
