commit: a98e3ef874336f0d5ac6aa325b083157b46a49fa
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 10 16:26:57 2016 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 10 16:27:23 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a98e3ef8
sys-devel/llvm: Fix missing ||die on FreeBSD-added code
sys-devel/llvm/llvm-3.7.1.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sys-devel/llvm/llvm-3.7.1.ebuild b/sys-devel/llvm/llvm-3.7.1.ebuild
index 2dbd2e5..6aa2ef2 100644
--- a/sys-devel/llvm/llvm-3.7.1.ebuild
+++ b/sys-devel/llvm/llvm-3.7.1.ebuild
@@ -433,7 +433,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() {