repo/gentoo:master commit in: sys-devel/cproc/

"Joonas Niilola" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1786697146.759caa37fbce3156b2118559ff9829552204d7c7.juippis@gentoo>
commit:     759caa37fbce3156b2118559ff9829552204d7c7
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Mon Jun  8 19:52:50 2026 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Aug 14 08:45:46 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=759caa37

sys-devel/cproc: add 0_pre20260527

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1107
Merges: https://codeberg.org/gentoo/gentoo/pulls/1107
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-devel/cproc/Manifest                                   |  1 +
 .../{cproc-9999.ebuild => cproc-0_pre20260527.ebuild}      | 14 +++++++++++---
 sys-devel/cproc/cproc-9999.ebuild                          | 14 +++++++++++---
 3 files changed, 23 insertions(+), 6 deletions(-)

diff --git a/sys-devel/cproc/Manifest b/sys-devel/cproc/Manifest
index 3b2092ba242b..6e26fb008fa6 100644
--- a/sys-devel/cproc/Manifest
+++ b/sys-devel/cproc/Manifest
@@ -1 +1,2 @@
+DIST cproc-6e8426cba04bb95952355e3967b749b47037c7c2.tar.gz 97524 BLAKE2B 86866c6f5c34519e28a9dcbb26a67117a93c679e8d43695269ebe8f1ba13cf3746eb6a4951267b532e2f01432147af16ca114ebebd6b9c343933910c943fed62 SHA512 f4bca7bdc110160102d9c758c1fc181373726787b93a5be20bb0079774b481cc42a5a432dae5155842c277e1fbe6d65f41bf9cf0004c521d28313d86435916fa
 DIST cproc-e963ced5c2b0a102778b19906eaef1af92ed7862.tar.gz 89816 BLAKE2B 60a94fedc517e522fb7435565762180dc69bf69e974fc1fbe1b9490ccbe082845963557d1773f52100b723b15f08fabe6d3abc7da5ab90c8aca601a152fec692 SHA512 5e047d7554c7397d80f7120c0df4c7738a5b32e235bea78fbc5b406ed44b4cfc79ff9e09a5be1d302a56a9c35e45c7e1be8931d64e49418823d092d1aaaf1397

diff --git a/sys-devel/cproc/cproc-9999.ebuild b/sys-devel/cproc/cproc-0_pre20260527.ebuild
similarity index 63%
copy from sys-devel/cproc/cproc-9999.ebuild
copy to sys-devel/cproc/cproc-0_pre20260527.ebuild
index cb98d7443072..f5d7c2d8e935 100644
--- a/sys-devel/cproc/cproc-9999.ebuild
+++ b/sys-devel/cproc/cproc-0_pre20260527.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2024 Gentoo Authors
+# Copyright 2021-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -9,7 +9,7 @@ if [[ ${PV} = 9999 ]]; then
 	EGIT_REPO_URI="https://git.sr.ht/~mcf/cproc"
 	inherit git-r3
 else
-	CPROC_COMMIT="c19a0bd9b78be94b455af55ad8ceb9be49410974"
+	CPROC_COMMIT="6e8426cba04bb95952355e3967b749b47037c7c2"
 	CPROC_P="${PN}-${CPROC_COMMIT}"
 	SRC_URI="https://git.sr.ht/~mcf/cproc/archive/${CPROC_COMMIT}.tar.gz -> ${CPROC_P}.tar.gz"
 	S="${WORKDIR}/${CPROC_P}"
@@ -29,5 +29,13 @@ RDEPEND="${DEPEND}"
 src_configure() {
 	tc-export CC
 
-	edo ./configure --prefix=/usr
+	local toolprefix="${CTARGET:-${CBUILD}}"
+
+	edo ./configure \
+		--prefix=/usr \
+		--host="${CHOST}" \
+		--target="${CTARGET:-${CBUILD}}" \
+		--with-cpp="${toolprefix}-cpp" \
+		--with-as="${toolprefix}-as" \
+		--with-ld="${toolprefix}-ld"
 }

diff --git a/sys-devel/cproc/cproc-9999.ebuild b/sys-devel/cproc/cproc-9999.ebuild
index cb98d7443072..65713cab2e53 100644
--- a/sys-devel/cproc/cproc-9999.ebuild
+++ b/sys-devel/cproc/cproc-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2024 Gentoo Authors
+# Copyright 2021-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -23,11 +23,19 @@ HOMEPAGE="https://sr.ht/~mcf/cproc/"
 LICENSE="ISC"
 SLOT="0"
 
-DEPEND="sys-devel/qbe"
+DEPEND=">=sys-devel/qbe-1.3"
 RDEPEND="${DEPEND}"
 
 src_configure() {
 	tc-export CC
 
-	edo ./configure --prefix=/usr
+	local toolprefix="${CTARGET:-${CBUILD}}"
+
+	edo ./configure \
+		--prefix=/usr \
+		--host="${CHOST}" \
+		--target="${CTARGET:-${CBUILD}}" \
+		--with-cpp="${toolprefix}-cpp" \
+		--with-as="${toolprefix}-as" \
+		--with-ld="${toolprefix}-ld"
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.