summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-02-10 17:26:57 +0100
committerMichał Górny <mgorny@gentoo.org>2016-02-10 17:27:23 +0100
commita98e3ef874336f0d5ac6aa325b083157b46a49fa (patch)
tree44cbf57f356c3bcefcce3a5ed6b96653931716c0 /sys-devel/llvm
parentsys-devel/llvm: Remove unnecessary revbump due to FreeBSD-related change (diff)
downloadgentoo-a98e3ef874336f0d5ac6aa325b083157b46a49fa.tar.gz
gentoo-a98e3ef874336f0d5ac6aa325b083157b46a49fa.tar.bz2
gentoo-a98e3ef874336f0d5ac6aa325b083157b46a49fa.zip
sys-devel/llvm: Fix missing ||die on FreeBSD-added code
Diffstat (limited to 'sys-devel/llvm')
-rw-r--r--sys-devel/llvm/llvm-3.7.1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-devel/llvm/llvm-3.7.1.ebuild b/sys-devel/llvm/llvm-3.7.1.ebuild
index 2dbd2e5e16f..6aa2ef22c63 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() {