public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/core_unix/
Date: Thu, 20 Apr 2023 18:59:27 +0000 (UTC)	[thread overview]
Message-ID: <1682017140.296f14a222a1cb690b376b2e4617d95250d1602c.tupone@gentoo> (raw)

commit:     296f14a222a1cb690b376b2e4617d95250d1602c
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 20 18:58:29 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Apr 20 18:59:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=296f14a2

dev-ml/core_unix: don't use gcc directly

Closes: https://bugs.gentoo.org/892469
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/core_unix/core_unix-0.15.2-r1.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/dev-ml/core_unix/core_unix-0.15.2-r1.ebuild b/dev-ml/core_unix/core_unix-0.15.2-r1.ebuild
index c543a96d0275..afbc6c1676e2 100644
--- a/dev-ml/core_unix/core_unix-0.15.2-r1.ebuild
+++ b/dev-ml/core_unix/core_unix-0.15.2-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-inherit dune
+inherit dune toolchain-funcs
 
 DESCRIPTION="Unix-specific portions of Core"
 HOMEPAGE="https://github.com/janestreet/core_unix"
@@ -25,3 +25,12 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 BDEPEND=""
+
+src_prepare() {
+	sed -i \
+		-e "s:gcc:$(tc-getCC):" \
+		unix_pseudo_terminal/src/discover.sh \
+		|| die
+
+	default
+}


             reply	other threads:[~2023-04-20 18:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-20 18:59 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-29 21:04 [gentoo-commits] repo/gentoo:master commit in: dev-ml/core_unix/ Andreas K. Hüttel
2024-06-08  7:12 Sam James
2024-06-08  6:33 Arthur Zamarin
2024-06-08  5:18 Arthur Zamarin
2024-06-08  5:18 Arthur Zamarin
2023-07-17 19:50 Alfredo Tupone
2023-06-15 18:20 Arthur Zamarin
2023-04-30  4:14 Sam James
2023-04-30  4:08 Sam James
2023-04-30  4:08 Sam James
2023-04-24 12:21 Alfredo Tupone
2023-02-24 22:20 Sam James
2023-02-24 16:56 Sam James
2023-02-20 20:27 Arthur Zamarin
2023-01-28 21:23 Alfredo Tupone
2023-01-27 22:00 Alfredo Tupone
2022-04-27  7:00 Alfredo Tupone

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=1682017140.296f14a222a1cb690b376b2e4617d95250d1602c.tupone@gentoo \
    --to=tupone@gentoo.org \
    --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