summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/llvm/llvm-3.8.0_rc2.ebuild4
-rw-r--r--sys-devel/llvm/llvm-9999.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys-devel/llvm/llvm-3.8.0_rc2.ebuild b/sys-devel/llvm/llvm-3.8.0_rc2.ebuild
index b3b7e4e536b4..5fcf094f3307 100644
--- a/sys-devel/llvm/llvm-3.8.0_rc2.ebuild
+++ b/sys-devel/llvm/llvm-3.8.0_rc2.ebuild
@@ -418,7 +418,9 @@ src_install() {
multilib-minimal_src_install
# Remove unnecessary headers on FreeBSD, bug #417171
- use kernel_FreeBSD && use clang && rm "${ED}"usr/lib/clang/${PV}/include/{std,float,iso,limits,tgmath,varargs}*.h
+ if use kernel_FreeBSD && use clang; then
+ rm "${ED}"usr/lib/clang/${PV}/include/{std,float,iso,limits,tgmath,varargs}*.h || die
+ fi
}
multilib_src_install() {
diff --git a/sys-devel/llvm/llvm-9999.ebuild b/sys-devel/llvm/llvm-9999.ebuild
index 4cef57bcd458..97ed7fdc8b55 100644
--- a/sys-devel/llvm/llvm-9999.ebuild
+++ b/sys-devel/llvm/llvm-9999.ebuild
@@ -395,7 +395,9 @@ src_install() {
multilib-minimal_src_install
# Remove unnecessary headers on FreeBSD, bug #417171
- use kernel_FreeBSD && use clang && rm "${ED}"usr/lib/clang/${PV}/include/{std,float,iso,limits,tgmath,varargs}*.h
+ if use kernel_FreeBSD && use clang; then
+ rm "${ED}"usr/lib/clang/${PV}/include/{std,float,iso,limits,tgmath,varargs}*.h || die
+ fi
}
multilib_src_install() {