From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AADD21395E1 for ; Tue, 1 Nov 2016 09:07:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A7F1E0B1F; Tue, 1 Nov 2016 09:07:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 59C6CE0B1F for ; Tue, 1 Nov 2016 09:07:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4C7CE3410E6 for ; Tue, 1 Nov 2016 09:07:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8136D24B1 for ; Tue, 1 Nov 2016 09:07:28 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1477991238.023069664f237e624cd5658c5364b1aab0d46cc7.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/clang/clang-9999.ebuild X-VCS-Directories: sys-devel/clang/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 023069664f237e624cd5658c5364b1aab0d46cc7 X-VCS-Branch: master Date: Tue, 1 Nov 2016 09:07:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f258b30b-649d-433a-a7ca-d7949b32ec1d X-Archives-Hash: c06247791e34282ae83c8d565c00cecd commit: 023069664f237e624cd5658c5364b1aab0d46cc7 Author: Michał Górny gentoo org> AuthorDate: Tue Nov 1 09:02:11 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Nov 1 09:07:18 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02306966 sys-devel/clang: Pass runtime headers through header check sys-devel/clang/clang-9999.ebuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild index a962a81..a4c4aa4 100644 --- a/sys-devel/clang/clang-9999.ebuild +++ b/sys-devel/clang/clang-9999.ebuild @@ -207,6 +207,10 @@ src_install() { multilib-minimal_src_install + # Move runtime headers to /usr/lib/clang, where they belong + dodir /usr/lib + mv "${ED}usr/include/clangrt" "${ED}usr/lib/clang" || die + # Apply CHOST and version suffix to clang tools local clang_version=4.0 local clang_tools=( clang clang++ clang-cl clang-cpp ) @@ -247,9 +251,10 @@ src_install() { multilib_src_install() { cmake-utils_src_install - # move headers to the correct directory - dodir /usr/lib/clang - cp -pR "${ED}usr/$(get_libdir)/clang"/* "${ED}usr/lib/clang/" || die + # move headers to include/ to get them checked for ABI mismatch + # (then to the correct directory in src_install()) + insinto /usr/include/clangrt + doins -r "${ED}usr/$(get_libdir)/clang"/. rm -r "${ED}usr/$(get_libdir)/clang" || die }