1 |
commit: e790d862c726d8910aa37f9ed63a02a05f57cfea |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 5 08:08:45 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 5 08:10:56 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e790d862 |
7 |
|
8 |
dev-lang/ghc: make USE=binary and USE=profile mutually exclusive |
9 |
|
10 |
We prebuild binaries without profiling support in Gentoo. |
11 |
|
12 |
Reported-by: Toralf Förster |
13 |
Closes: https://bugs.gentoo.org/740236 |
14 |
Package-Manager: Portage-3.0.5, Repoman-3.0.1 |
15 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
16 |
|
17 |
dev-lang/ghc/ghc-8.10.1.ebuild | 6 +++++- |
18 |
dev-lang/ghc/ghc-8.8.3.ebuild | 6 +++++- |
19 |
dev-lang/ghc/ghc-8.8.4.ebuild | 6 +++++- |
20 |
3 files changed, 15 insertions(+), 3 deletions(-) |
21 |
|
22 |
diff --git a/dev-lang/ghc/ghc-8.10.1.ebuild b/dev-lang/ghc/ghc-8.10.1.ebuild |
23 |
index 7845cce005c..9749ccd0b25 100644 |
24 |
--- a/dev-lang/ghc/ghc-8.10.1.ebuild |
25 |
+++ b/dev-lang/ghc/ghc-8.10.1.ebuild |
26 |
@@ -113,7 +113,11 @@ DEPEND="${RDEPEND} |
27 |
>=dev-libs/libxslt-1.1.2 ) |
28 |
!ghcbootstrap? ( ${PREBUILT_BINARY_DEPENDS} )" |
29 |
|
30 |
-REQUIRED_USE="?? ( ghcbootstrap binary )" |
31 |
+# we build binaries without profiling support |
32 |
+REQUIRED_USE=" |
33 |
+ ?? ( ghcbootstrap binary ) |
34 |
+ ?? ( profile binary ) |
35 |
+" |
36 |
|
37 |
# haskell libraries built with cabal in configure mode, #515354 |
38 |
QA_CONFIGURE_OPTIONS+=" --with-compiler --with-gcc" |
39 |
|
40 |
diff --git a/dev-lang/ghc/ghc-8.8.3.ebuild b/dev-lang/ghc/ghc-8.8.3.ebuild |
41 |
index 16906855953..f59a40a4139 100644 |
42 |
--- a/dev-lang/ghc/ghc-8.8.3.ebuild |
43 |
+++ b/dev-lang/ghc/ghc-8.8.3.ebuild |
44 |
@@ -112,7 +112,11 @@ DEPEND="${RDEPEND} |
45 |
>=dev-libs/libxslt-1.1.2 ) |
46 |
!ghcbootstrap? ( ${PREBUILT_BINARY_DEPENDS} )" |
47 |
|
48 |
-REQUIRED_USE="?? ( ghcbootstrap binary )" |
49 |
+# we build binaries without profiling support |
50 |
+REQUIRED_USE=" |
51 |
+ ?? ( ghcbootstrap binary ) |
52 |
+ ?? ( profile binary ) |
53 |
+" |
54 |
|
55 |
# haskell libraries built with cabal in configure mode, #515354 |
56 |
QA_CONFIGURE_OPTIONS+=" --with-compiler --with-gcc" |
57 |
|
58 |
diff --git a/dev-lang/ghc/ghc-8.8.4.ebuild b/dev-lang/ghc/ghc-8.8.4.ebuild |
59 |
index 9ada4d7c1c1..5d1674fac8d 100644 |
60 |
--- a/dev-lang/ghc/ghc-8.8.4.ebuild |
61 |
+++ b/dev-lang/ghc/ghc-8.8.4.ebuild |
62 |
@@ -112,7 +112,11 @@ DEPEND="${RDEPEND} |
63 |
>=dev-libs/libxslt-1.1.2 ) |
64 |
!ghcbootstrap? ( ${PREBUILT_BINARY_DEPENDS} )" |
65 |
|
66 |
-REQUIRED_USE="?? ( ghcbootstrap binary )" |
67 |
+# we build binaries without profiling support |
68 |
+REQUIRED_USE=" |
69 |
+ ?? ( ghcbootstrap binary ) |
70 |
+ ?? ( profile binary ) |
71 |
+" |
72 |
|
73 |
# haskell libraries built with cabal in configure mode, #515354 |
74 |
QA_CONFIGURE_OPTIONS+=" --with-compiler --with-gcc" |