1 |
commit: c2c65397e5216438e57834a908c09c629bbacfa0 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 1 07:30:34 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 1 07:30:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2c65397 |
7 |
|
8 |
sys-devel/sparse: skip llvm detection for USE=-llvm, bug #715376 |
9 |
|
10 |
Patch by Jeroen Roovers. |
11 |
|
12 |
Reported-and-Fixed-by: Jeroen Roovers |
13 |
Closes: https://bugs.gentoo.org/715376 |
14 |
Package-Manager: Portage-2.3.96, Repoman-2.3.22 |
15 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
16 |
|
17 |
sys-devel/sparse/sparse-0.6.1.ebuild | 4 ++++ |
18 |
sys-devel/sparse/sparse-9999.ebuild | 4 ++++ |
19 |
2 files changed, 8 insertions(+) |
20 |
|
21 |
diff --git a/sys-devel/sparse/sparse-0.6.1.ebuild b/sys-devel/sparse/sparse-0.6.1.ebuild |
22 |
index ca577f5defa..d058d2c9ea4 100644 |
23 |
--- a/sys-devel/sparse/sparse-0.6.1.ebuild |
24 |
+++ b/sys-devel/sparse/sparse-0.6.1.ebuild |
25 |
@@ -31,6 +31,10 @@ DEPEND="${RDEPEND} |
26 |
gtk? ( virtual/pkgconfig ) |
27 |
xml? ( virtual/pkgconfig )" |
28 |
|
29 |
+pkg_setup() { |
30 |
+ use llvm && llvm_pkg_setup |
31 |
+} |
32 |
+ |
33 |
_emake() { |
34 |
# Makefile does not allow for an easy override of flags. |
35 |
# Collect them here and override default phases. |
36 |
|
37 |
diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild |
38 |
index ca577f5defa..d058d2c9ea4 100644 |
39 |
--- a/sys-devel/sparse/sparse-9999.ebuild |
40 |
+++ b/sys-devel/sparse/sparse-9999.ebuild |
41 |
@@ -31,6 +31,10 @@ DEPEND="${RDEPEND} |
42 |
gtk? ( virtual/pkgconfig ) |
43 |
xml? ( virtual/pkgconfig )" |
44 |
|
45 |
+pkg_setup() { |
46 |
+ use llvm && llvm_pkg_setup |
47 |
+} |
48 |
+ |
49 |
_emake() { |
50 |
# Makefile does not allow for an easy override of flags. |
51 |
# Collect them here and override default phases. |