commit: e790d862c726d8910aa37f9ed63a02a05f57cfea Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Sat Sep 5 08:08:45 2020 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Sat Sep 5 08:10:56 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e790d862
dev-lang/ghc: make USE=binary and USE=profile mutually exclusive We prebuild binaries without profiling support in Gentoo. Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/740236 Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> dev-lang/ghc/ghc-8.10.1.ebuild | 6 +++++- dev-lang/ghc/ghc-8.8.3.ebuild | 6 +++++- dev-lang/ghc/ghc-8.8.4.ebuild | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/dev-lang/ghc/ghc-8.10.1.ebuild b/dev-lang/ghc/ghc-8.10.1.ebuild index 7845cce005c..9749ccd0b25 100644 --- a/dev-lang/ghc/ghc-8.10.1.ebuild +++ b/dev-lang/ghc/ghc-8.10.1.ebuild @@ -113,7 +113,11 @@ DEPEND="${RDEPEND} >=dev-libs/libxslt-1.1.2 ) !ghcbootstrap? ( ${PREBUILT_BINARY_DEPENDS} )" -REQUIRED_USE="?? ( ghcbootstrap binary )" +# we build binaries without profiling support +REQUIRED_USE=" + ?? ( ghcbootstrap binary ) + ?? ( profile binary ) +" # haskell libraries built with cabal in configure mode, #515354 QA_CONFIGURE_OPTIONS+=" --with-compiler --with-gcc" diff --git a/dev-lang/ghc/ghc-8.8.3.ebuild b/dev-lang/ghc/ghc-8.8.3.ebuild index 16906855953..f59a40a4139 100644 --- a/dev-lang/ghc/ghc-8.8.3.ebuild +++ b/dev-lang/ghc/ghc-8.8.3.ebuild @@ -112,7 +112,11 @@ DEPEND="${RDEPEND} >=dev-libs/libxslt-1.1.2 ) !ghcbootstrap? ( ${PREBUILT_BINARY_DEPENDS} )" -REQUIRED_USE="?? ( ghcbootstrap binary )" +# we build binaries without profiling support +REQUIRED_USE=" + ?? ( ghcbootstrap binary ) + ?? ( profile binary ) +" # haskell libraries built with cabal in configure mode, #515354 QA_CONFIGURE_OPTIONS+=" --with-compiler --with-gcc" diff --git a/dev-lang/ghc/ghc-8.8.4.ebuild b/dev-lang/ghc/ghc-8.8.4.ebuild index 9ada4d7c1c1..5d1674fac8d 100644 --- a/dev-lang/ghc/ghc-8.8.4.ebuild +++ b/dev-lang/ghc/ghc-8.8.4.ebuild @@ -112,7 +112,11 @@ DEPEND="${RDEPEND} >=dev-libs/libxslt-1.1.2 ) !ghcbootstrap? ( ${PREBUILT_BINARY_DEPENDS} )" -REQUIRED_USE="?? ( ghcbootstrap binary )" +# we build binaries without profiling support +REQUIRED_USE=" + ?? ( ghcbootstrap binary ) + ?? ( profile binary ) +" # haskell libraries built with cabal in configure mode, #515354 QA_CONFIGURE_OPTIONS+=" --with-compiler --with-gcc"