From: Michał Górny Date: Wed, 17 Feb 2016 21:51:00 +0000 (+0100) Subject: sys-devel/llvm: Extend the FreeBSD fix fix to remaining ebuilds X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ed99fa624d7f39a7055358dd2663b8b3f6b6c48b;p=gentoo.git sys-devel/llvm: Extend the FreeBSD fix fix to remaining ebuilds --- 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() {