1 |
commit: ed99fa624d7f39a7055358dd2663b8b3f6b6c48b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 17 21:51:00 2016 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 17 22:05:54 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed99fa62 |
7 |
|
8 |
sys-devel/llvm: Extend the FreeBSD fix fix to remaining ebuilds |
9 |
|
10 |
sys-devel/llvm/llvm-3.8.0_rc2.ebuild | 4 +++- |
11 |
sys-devel/llvm/llvm-9999.ebuild | 4 +++- |
12 |
2 files changed, 6 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/sys-devel/llvm/llvm-3.8.0_rc2.ebuild b/sys-devel/llvm/llvm-3.8.0_rc2.ebuild |
15 |
index b3b7e4e..5fcf094 100644 |
16 |
--- a/sys-devel/llvm/llvm-3.8.0_rc2.ebuild |
17 |
+++ b/sys-devel/llvm/llvm-3.8.0_rc2.ebuild |
18 |
@@ -418,7 +418,9 @@ src_install() { |
19 |
multilib-minimal_src_install |
20 |
|
21 |
# Remove unnecessary headers on FreeBSD, bug #417171 |
22 |
- use kernel_FreeBSD && use clang && rm "${ED}"usr/lib/clang/${PV}/include/{std,float,iso,limits,tgmath,varargs}*.h |
23 |
+ if use kernel_FreeBSD && use clang; then |
24 |
+ rm "${ED}"usr/lib/clang/${PV}/include/{std,float,iso,limits,tgmath,varargs}*.h || die |
25 |
+ fi |
26 |
} |
27 |
|
28 |
multilib_src_install() { |
29 |
|
30 |
diff --git a/sys-devel/llvm/llvm-9999.ebuild b/sys-devel/llvm/llvm-9999.ebuild |
31 |
index 4cef57b..97ed7fd 100644 |
32 |
--- a/sys-devel/llvm/llvm-9999.ebuild |
33 |
+++ b/sys-devel/llvm/llvm-9999.ebuild |
34 |
@@ -395,7 +395,9 @@ src_install() { |
35 |
multilib-minimal_src_install |
36 |
|
37 |
# Remove unnecessary headers on FreeBSD, bug #417171 |
38 |
- use kernel_FreeBSD && use clang && rm "${ED}"usr/lib/clang/${PV}/include/{std,float,iso,limits,tgmath,varargs}*.h |
39 |
+ if use kernel_FreeBSD && use clang; then |
40 |
+ rm "${ED}"usr/lib/clang/${PV}/include/{std,float,iso,limits,tgmath,varargs}*.h || die |
41 |
+ fi |
42 |
} |
43 |
|
44 |
multilib_src_install() { |