From d03fc9b7bafde85ac8b9ee54e9cbc326f9e43b99 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 29 Jan 2017 10:58:29 +0100 Subject: sys-devel/clang: Fix FreeBSD include removal to use real clang version --- sys-devel/clang/clang-4.0.0_rc1.ebuild | 2 +- sys-devel/clang/clang-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sys-devel/clang') diff --git a/sys-devel/clang/clang-4.0.0_rc1.ebuild b/sys-devel/clang/clang-4.0.0_rc1.ebuild index 7ff007690fb6..db09b6754cc7 100644 --- a/sys-devel/clang/clang-4.0.0_rc1.ebuild +++ b/sys-devel/clang/clang-4.0.0_rc1.ebuild @@ -248,7 +248,7 @@ src_install() { # Remove unnecessary headers on FreeBSD, bug #417171 if use kernel_FreeBSD; then - rm "${ED}"usr/lib/clang/${PV}/include/{std,float,iso,limits,tgmath,varargs}*.h || die + rm "${ED}"usr/lib/clang/${llvm_version}/include/{std,float,iso,limits,tgmath,varargs}*.h || die fi } diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild index f3b9ea7a01c7..f004373e4f34 100644 --- a/sys-devel/clang/clang-9999.ebuild +++ b/sys-devel/clang/clang-9999.ebuild @@ -256,7 +256,7 @@ src_install() { # Remove unnecessary headers on FreeBSD, bug #417171 if use kernel_FreeBSD; then - rm "${ED}"usr/lib/clang/${PV}/include/{std,float,iso,limits,tgmath,varargs}*.h || die + rm "${ED}"usr/lib/clang/${llvm_version}/include/{std,float,iso,limits,tgmath,varargs}*.h || die fi } -- cgit v1.2.3-65-gdbad