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@gentoo.org>
This commit is contained in:
Sergei Trofimovich
2020-09-05 09:08:45 +01:00
parent 9caf70edc6
commit e790d862c7
3 changed files with 15 additions and 3 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"