From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1445157-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 82BCD158094
	for <garchives@archives.gentoo.org>; Sun,  9 Oct 2022 20:07:54 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8136CE08DD;
	Sun,  9 Oct 2022 20:07:53 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 640C1E08DD
	for <gentoo-commits@lists.gentoo.org>; Sun,  9 Oct 2022 20:07:53 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 0814E341083
	for <gentoo-commits@lists.gentoo.org>; Sun,  9 Oct 2022 20:07:52 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 503615F7
	for <gentoo-commits@lists.gentoo.org>; Sun,  9 Oct 2022 20:07:50 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
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" <mgorny@gentoo.org>
Message-ID: <1665344917.c273403f0950cbaaea87ddf9eeef78ee56742371.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-devel/clang-common/clang-common-15.0.2-r1.ebuild sys-devel/clang-common/clang-common-15.0.2.9999.ebuild sys-devel/clang-common/clang-common-15.0.2.ebuild sys-devel/clang-common/clang-common-16.0.0.9999.ebuild sys-devel/clang-common/clang-common-16.0.0_pre20221006-r1.ebuild sys-devel/clang-common/clang-common-16.0.0_pre20221006.ebuild
X-VCS-Directories: sys-devel/clang-common/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: c273403f0950cbaaea87ddf9eeef78ee56742371
X-VCS-Branch: master
Date: Sun,  9 Oct 2022 20:07:50 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 518359ca-965d-4fa4-9309-e37560398c8f
X-Archives-Hash: 095969a701cd60890e77062a9da4c9c5

commit:     c273403f0950cbaaea87ddf9eeef78ee56742371
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  9 19:48:37 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct  9 19:48:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c273403f

sys-devel/clang-common: Move common config into gentoo-common.cfg

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 ...{clang-common-15.0.2.ebuild => clang-common-15.0.2-r1.ebuild} | 9 +++++++--
 sys-devel/clang-common/clang-common-15.0.2.9999.ebuild           | 9 +++++++--
 sys-devel/clang-common/clang-common-16.0.0.9999.ebuild           | 9 +++++++--
 ...20221006.ebuild => clang-common-16.0.0_pre20221006-r1.ebuild} | 9 +++++++--
 4 files changed, 28 insertions(+), 8 deletions(-)

diff --git a/sys-devel/clang-common/clang-common-15.0.2.ebuild b/sys-devel/clang-common/clang-common-15.0.2-r1.ebuild
similarity index 93%
rename from sys-devel/clang-common/clang-common-15.0.2.ebuild
rename to sys-devel/clang-common/clang-common-15.0.2-r1.ebuild
index 71e8aa15b6d8..9962f257ccc0 100644
--- a/sys-devel/clang-common/clang-common-15.0.2.ebuild
+++ b/sys-devel/clang-common/clang-common-15.0.2-r1.ebuild
@@ -76,12 +76,17 @@ src_install() {
 		# It is used to specify the selected GCC installation.
 	EOF
 
+	newins - gentoo-common.cfg <<-EOF
+		# This file contains flags common to clang, clang++ and clang-cpp.
+		@gentoo-runtimes.cfg
+		@gentoo-gcc-install.cfg
+	EOF
+
 	local tool
 	for tool in clang{,++,-cpp}; do
 		newins - "${tool}.cfg" <<-EOF
 			# This configuration file is used by ${tool} driver.
-			@gentoo-runtimes.cfg
-			@gentoo-gcc-install.cfg
+			@gentoo-common.cfg
 		EOF
 	done
 }

diff --git a/sys-devel/clang-common/clang-common-15.0.2.9999.ebuild b/sys-devel/clang-common/clang-common-15.0.2.9999.ebuild
index e318815568c5..0ff52691cc71 100644
--- a/sys-devel/clang-common/clang-common-15.0.2.9999.ebuild
+++ b/sys-devel/clang-common/clang-common-15.0.2.9999.ebuild
@@ -75,12 +75,17 @@ src_install() {
 		# It is used to specify the selected GCC installation.
 	EOF
 
+	newins - gentoo-common.cfg <<-EOF
+		# This file contains flags common to clang, clang++ and clang-cpp.
+		@gentoo-runtimes.cfg
+		@gentoo-gcc-install.cfg
+	EOF
+
 	local tool
 	for tool in clang{,++,-cpp}; do
 		newins - "${tool}.cfg" <<-EOF
 			# This configuration file is used by ${tool} driver.
-			@gentoo-runtimes.cfg
-			@gentoo-gcc-install.cfg
+			@gentoo-common.cfg
 		EOF
 	done
 }

diff --git a/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild b/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild
index e318815568c5..0ff52691cc71 100644
--- a/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild
+++ b/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild
@@ -75,12 +75,17 @@ src_install() {
 		# It is used to specify the selected GCC installation.
 	EOF
 
+	newins - gentoo-common.cfg <<-EOF
+		# This file contains flags common to clang, clang++ and clang-cpp.
+		@gentoo-runtimes.cfg
+		@gentoo-gcc-install.cfg
+	EOF
+
 	local tool
 	for tool in clang{,++,-cpp}; do
 		newins - "${tool}.cfg" <<-EOF
 			# This configuration file is used by ${tool} driver.
-			@gentoo-runtimes.cfg
-			@gentoo-gcc-install.cfg
+			@gentoo-common.cfg
 		EOF
 	done
 }

diff --git a/sys-devel/clang-common/clang-common-16.0.0_pre20221006.ebuild b/sys-devel/clang-common/clang-common-16.0.0_pre20221006-r1.ebuild
similarity index 93%
rename from sys-devel/clang-common/clang-common-16.0.0_pre20221006.ebuild
rename to sys-devel/clang-common/clang-common-16.0.0_pre20221006-r1.ebuild
index e318815568c5..0ff52691cc71 100644
--- a/sys-devel/clang-common/clang-common-16.0.0_pre20221006.ebuild
+++ b/sys-devel/clang-common/clang-common-16.0.0_pre20221006-r1.ebuild
@@ -75,12 +75,17 @@ src_install() {
 		# It is used to specify the selected GCC installation.
 	EOF
 
+	newins - gentoo-common.cfg <<-EOF
+		# This file contains flags common to clang, clang++ and clang-cpp.
+		@gentoo-runtimes.cfg
+		@gentoo-gcc-install.cfg
+	EOF
+
 	local tool
 	for tool in clang{,++,-cpp}; do
 		newins - "${tool}.cfg" <<-EOF
 			# This configuration file is used by ${tool} driver.
-			@gentoo-runtimes.cfg
-			@gentoo-gcc-install.cfg
+			@gentoo-common.cfg
 		EOF
 	done
 }