diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-01-29 10:58:29 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-01-29 10:59:43 +0100 |
commit | d03fc9b7bafde85ac8b9ee54e9cbc326f9e43b99 (patch) | |
tree | e3438334cede298acf7950ab90b0773cc37ef537 /sys-devel/clang | |
parent | sys-kernel/aufs-sources: Bump to latest aufs, genpatches and linux release (diff) | |
download | gentoo-d03fc9b7bafde85ac8b9ee54e9cbc326f9e43b99.tar.gz gentoo-d03fc9b7bafde85ac8b9ee54e9cbc326f9e43b99.tar.bz2 gentoo-d03fc9b7bafde85ac8b9ee54e9cbc326f9e43b99.zip |
sys-devel/clang: Fix FreeBSD include removal to use real clang version
Diffstat (limited to 'sys-devel/clang')
-rw-r--r-- | sys-devel/clang/clang-4.0.0_rc1.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/clang/clang-9999.ebuild | 2 |
2 files changed, 2 insertions, 2 deletions
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 } |