From a98e3ef874336f0d5ac6aa325b083157b46a49fa Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 10 Feb 2016 17:26:57 +0100 Subject: 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(-) (limited to 'sys-devel') diff --git a/sys-devel/llvm/llvm-3.7.1.ebuild b/sys-devel/llvm/llvm-3.7.1.ebuild index 2dbd2e5e16fa..6aa2ef22c63f 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() { -- cgit v1.2.3-65-gdbad