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.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 070AD158094 for ; Thu, 25 Aug 2022 02:09:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2320E08F3; Thu, 25 Aug 2022 02:09:44 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 83D26E08DD for ; Thu, 25 Aug 2022 02:09:44 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8F9753410A3 for ; Thu, 25 Aug 2022 02:09:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F49F599 for ; Thu, 25 Aug 2022 02:09:42 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1661393367.d362b1c7e6ed7a7b238d62fe69c90230350b269c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/cproc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/cproc/cproc-0_pre20220805.ebuild sys-devel/cproc/cproc-9999.ebuild X-VCS-Directories: sys-devel/cproc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d362b1c7e6ed7a7b238d62fe69c90230350b269c X-VCS-Branch: master Date: Thu, 25 Aug 2022 02:09:42 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 81126b41-16c6-4ee2-800e-4da0704a7fc8 X-Archives-Hash: 6924eca8fa7219e33ea16e3b18c9ee66 commit: d362b1c7e6ed7a7b238d62fe69c90230350b269c Author: Sam James gentoo org> AuthorDate: Thu Aug 25 02:08:39 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Aug 25 02:09:27 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d362b1c7 sys-devel/cproc: style tweaks, EAPI 8, respect CC Signed-off-by: Sam James gentoo.org> sys-devel/cproc/cproc-0_pre20220805.ebuild | 15 ++++++++++----- sys-devel/cproc/cproc-9999.ebuild | 15 ++++++++++----- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/sys-devel/cproc/cproc-0_pre20220805.ebuild b/sys-devel/cproc/cproc-0_pre20220805.ebuild index 74f03bd8630d..163ffe80afba 100644 --- a/sys-devel/cproc/cproc-0_pre20220805.ebuild +++ b/sys-devel/cproc/cproc-0_pre20220805.ebuild @@ -1,11 +1,13 @@ # Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -if [[ "${PV}" = 9999 ]]; then - inherit git-r3 +inherit edo toolchain-funcs + +if [[ ${PV} = 9999 ]]; then EGIT_REPO_URI="https://git.sr.ht/~mcf/cproc" + inherit git-r3 else CPROC_COMMIT="6fabc79d81de56b6c1cdcc2242933fd792e2ddf9" CPROC_P="${PN}-${CPROC_COMMIT}" @@ -17,10 +19,11 @@ fi DESCRIPTION="C11 compiler using QBE as backend" HOMEPAGE="https://sr.ht/~mcf/cproc/" + LICENSE="ISC" SLOT="0" -DEPEND="sys-devel/qbe:=" +DEPEND="sys-devel/qbe" RDEPEND="${DEPEND}" src_prepare() { @@ -30,5 +33,7 @@ src_prepare() { } src_configure() { - ./configure --prefix=/usr || die + tc-export CC + + edo ./configure --prefix=/usr } diff --git a/sys-devel/cproc/cproc-9999.ebuild b/sys-devel/cproc/cproc-9999.ebuild index 74f03bd8630d..163ffe80afba 100644 --- a/sys-devel/cproc/cproc-9999.ebuild +++ b/sys-devel/cproc/cproc-9999.ebuild @@ -1,11 +1,13 @@ # Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -if [[ "${PV}" = 9999 ]]; then - inherit git-r3 +inherit edo toolchain-funcs + +if [[ ${PV} = 9999 ]]; then EGIT_REPO_URI="https://git.sr.ht/~mcf/cproc" + inherit git-r3 else CPROC_COMMIT="6fabc79d81de56b6c1cdcc2242933fd792e2ddf9" CPROC_P="${PN}-${CPROC_COMMIT}" @@ -17,10 +19,11 @@ fi DESCRIPTION="C11 compiler using QBE as backend" HOMEPAGE="https://sr.ht/~mcf/cproc/" + LICENSE="ISC" SLOT="0" -DEPEND="sys-devel/qbe:=" +DEPEND="sys-devel/qbe" RDEPEND="${DEPEND}" src_prepare() { @@ -30,5 +33,7 @@ src_prepare() { } src_configure() { - ./configure --prefix=/usr || die + tc-export CC + + edo ./configure --prefix=/usr }