public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Seth Price" <sprice623@aol.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/cc65/
Date: Thu, 24 Aug 2023 16:38:50 +0000 (UTC)	[thread overview]
Message-ID: <1692895118.5a5e5ff13e23f1fa621a1039939bfe8bc6893004.sprice623@gentoo> (raw)

commit:     5a5e5ff13e23f1fa621a1039939bfe8bc6893004
Author:     Seth Price <sprice623 <AT> aol <DOT> com>
AuthorDate: Thu Aug 24 16:32:27 2023 +0000
Commit:     Seth Price <sprice623 <AT> aol <DOT> com>
CommitDate: Thu Aug 24 16:38:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5a5e5ff1

dev-lang/cc65: do not call toolchain directly

Closes: https://bugs.gentoo.org/912926
Signed-off-by: Seth Price <sprice623 <AT> aol.com>

 dev-lang/cc65/{cc65-2.19-r2.ebuild => cc65-2.19-r3.ebuild} | 6 ++++--
 dev-lang/cc65/{cc65-9999.ebuild => cc65-9999-r1.ebuild}    | 4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-lang/cc65/cc65-2.19-r2.ebuild b/dev-lang/cc65/cc65-2.19-r3.ebuild
similarity index 67%
rename from dev-lang/cc65/cc65-2.19-r2.ebuild
rename to dev-lang/cc65/cc65-2.19-r3.ebuild
index d830a1e872..101856cdd6 100644
--- a/dev-lang/cc65/cc65-2.19-r2.ebuild
+++ b/dev-lang/cc65/cc65-2.19-r3.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit toolchain-funcs
+
 DESCRIPTION="Cross-development package for 65(C)02 systems"
 HOMEPAGE="https://cc65.github.io/"
 SRC_URI="https://github.com/cc65/cc65/archive/refs/tags/V${PV}.tar.gz"
@@ -12,10 +14,10 @@ SLOT="0"
 KEYWORDS="~amd64"
 
 src_compile() {
-	emake PREFIX="${EPREFIX}/usr"
+	emake CC="$(tc-getCC)" AR="$(tc-getAR)" PREFIX="${EPREFIX}/usr"
 }
 
 src_install() {
-	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+	emake CC="$(tc-getCC)" AR="$(tc-getAR)" DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
 	dodoc README.md
 }

diff --git a/dev-lang/cc65/cc65-9999.ebuild b/dev-lang/cc65/cc65-9999-r1.ebuild
similarity index 69%
rename from dev-lang/cc65/cc65-9999.ebuild
rename to dev-lang/cc65/cc65-9999-r1.ebuild
index f7f4043e76..184c42aa06 100644
--- a/dev-lang/cc65/cc65-9999.ebuild
+++ b/dev-lang/cc65/cc65-9999-r1.ebuild
@@ -13,10 +13,10 @@ LICENSE="ZLIB"
 SLOT="0"
 
 src_compile() {
-	emake PREFIX="${EPREFIX}/usr"
+	emake CC="$(tc-getCC)" AR="$(tc-getAR)" PREFIX="${EPREFIX}/usr"
 }
 
 src_install() {
-	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+	emake CC="$(tc-getCC)" AR="$(tc-getAR)" DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
 	dodoc README.md
 }


             reply	other threads:[~2023-08-24 16:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-24 16:38 Seth Price [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-29 17:43 [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/cc65/ Seth Price
2024-11-21 22:26 Seth Price
2023-08-24 16:39 Seth Price
2023-08-21 17:53 Seth Price
2023-08-21 17:52 Seth Price
2023-08-21 17:48 Seth Price
2023-08-13 17:37 Seth Price
2022-11-04 23:54 Seth Price

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1692895118.5a5e5ff13e23f1fa621a1039939bfe8bc6893004.sprice623@gentoo \
    --to=sprice623@aol.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox