From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id ACC021582EF for ; Sat, 08 Feb 2025 00:18:47 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 981C3343090 for ; Sat, 08 Feb 2025 00:18:47 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id DCC90110472; Sat, 08 Feb 2025 00:18:42 +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 bobolink.gentoo.org (Postfix) with ESMTPS id D5277110472 for ; Sat, 08 Feb 2025 00:18:42 +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 88C3C343019 for ; Sat, 08 Feb 2025 00:18:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 216B826CA for ; Sat, 08 Feb 2025 00:18:41 +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: <1738973897.cb364948d367130f17b217bf23ab6ef6d56170ac.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/dev86/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/dev86/dev86-1.0.1.ebuild X-VCS-Directories: sys-devel/dev86/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: cb364948d367130f17b217bf23ab6ef6d56170ac X-VCS-Branch: master Date: Sat, 08 Feb 2025 00:18:41 +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: cb34be05-f092-4a72-bc1c-ab525d73aa8b X-Archives-Hash: 26ada2e60f7be715b266d7096df004e8 commit: cb364948d367130f17b217bf23ab6ef6d56170ac Author: Sam James gentoo org> AuthorDate: Sat Feb 8 00:16:38 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Feb 8 00:18:17 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb364948 sys-devel/dev86: build fixes * Use the bootblocks target instead as it couldn't find includes. I suspect it may work if dev86 is already installed? * Set PATH to help find more components (though a patch does this too, it was needed when `emake`ing into the bootblocks directory as we did previously, but then I gave up on that) Signed-off-by: Sam James gentoo.org> sys-devel/dev86/dev86-1.0.1.ebuild | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/sys-devel/dev86/dev86-1.0.1.ebuild b/sys-devel/dev86/dev86-1.0.1.ebuild index 139510962c07..97dee3fb2656 100644 --- a/sys-devel/dev86/dev86-1.0.1.ebuild +++ b/sys-devel/dev86/dev86-1.0.1.ebuild @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 + inherit toolchain-funcs DESCRIPTION="Bruce's C compiler - Simple C compiler to generate 8086 code" @@ -39,19 +40,20 @@ src_compile() { ln -s ../kinclude/arch libc/include/arch || die ln -s ../kinclude/linuxmt libc/include/linuxmt || die + # This is needed to help find `bcc` and `bcc-cpp`. + export PATH=${S}/bcc:${S}/cpp:${S}/copt:${S}/bin:${PATH} + # First `make` is also a config, so set all the path vars here emake -j1 \ - CC="$(tc-getCC)" \ + CC="$(tc-getCC) -std=gnu17" \ LIBDIR="/usr/$(get_libdir)/bcc" \ INCLDIR="/usr/$(get_libdir)/bcc" \ all - - export PATH=${S}/bin:${PATH} - - cd bootblocks || die - emake \ - HOSTCC="$(tc-getCC)" - + emake -j1 \ + CC="$(tc-getCC) -std=gnu17" \ + LIBDIR="/usr/$(get_libdir)/bcc" \ + INCLDIR="/usr/$(get_libdir)/bcc" \ + bootblocks } src_install() {