public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/ada-bootstrap/
Date: Tue, 31 Dec 2024 19:34:15 +0000 (UTC)	[thread overview]
Message-ID: <1735673635.339e6ccf840a55f3178313021c3d881915916163.sam@gentoo> (raw)

commit:     339e6ccf840a55f3178313021c3d881915916163
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 31 18:58:16 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 31 19:33:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=339e6ccf

dev-lang/ada-bootstrap: find BINPKG automatically

For HPPA, the version is going to be newer and it's easier to do this
than hardcode another value.

Bug: https://bugs.gentoo.org/946647
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/ada-bootstrap/ada-bootstrap-14.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-lang/ada-bootstrap/ada-bootstrap-14.ebuild b/dev-lang/ada-bootstrap/ada-bootstrap-14.ebuild
index 8b2f04f9d7c5..4e2c475ea048 100644
--- a/dev-lang/ada-bootstrap/ada-bootstrap-14.ebuild
+++ b/dev-lang/ada-bootstrap/ada-bootstrap-14.ebuild
@@ -3,8 +3,6 @@
 
 EAPI=8
 
-BINPKG=gcc-14.2.1_p20241116-1
-
 # The binaries in SRC_URI are generated by the following (roughly):
 # * taking an amd64 stage3
 # * adding USE=ada to make.conf
@@ -98,6 +96,9 @@ src_install() {
 	local chost=${TARBALL_TO_UNPACK/${P}-}
 	chost=${chost%%.gpkg.tar}
 
+	BINPKG=$(find "${WORKDIR}"/ -type d -mindepth 1 -maxdepth 1 -iname 'gcc-*')
+	BINPKG="${BINPKG#${WORKDIR}}"
+
 	dodir /usr/lib/ada-bootstrap
 	mv "${WORKDIR}"/${BINPKG}/image/usr/ "${ED}"/usr/lib/ada-bootstrap || die
 


             reply	other threads:[~2024-12-31 19:34 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-31 19:34 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-24  7:35 [gentoo-commits] repo/gentoo:master commit in: dev-lang/ada-bootstrap/ Sam James
2025-01-23 21:16 Sam James
2025-01-23  6:36 Sam James
2025-01-23  3:02 Sam James
2025-01-22 23:44 Sam James
2025-01-22 19:46 Sam James
2025-01-07 20:09 Sam James
2025-01-05  8:42 WANG Xuerui
2025-01-01 20:09 Sam James
2025-01-01 19:33 Sam James
2025-01-01 19:33 Sam James
2025-01-01 19:33 Sam James
2025-01-01 10:25 Sam James
2025-01-01 10:25 Sam James
2025-01-01  5:15 Sam James
2024-12-31 19:34 Sam James
2024-12-31  8:12 Sam James
2024-12-31  8:12 Sam James
2024-12-31  8:12 Sam James
2024-12-31  3:18 Jakov Smolić
2024-12-18 23:17 Sam James
2024-12-18  3:15 Sam James
2024-12-18  1:49 Sam James
2024-12-17 19:07 Sam James
2024-12-17 19:00 Sam James
2024-12-17 18:08 Sam James
2024-12-17 12:22 Sam James
2024-12-17 10:57 Sam James
2024-12-17 10:53 Sam James
2024-10-02  1:01 Sam James
2024-10-01  8:03 Sam James
2024-10-01  8:03 Sam James
2024-10-01  7:44 Sam James
2024-10-01  7:37 Sam James
2024-10-01  7:32 Sam James
2024-10-01  7:10 Sam James
2024-10-01  6:58 Sam James
2024-10-01  2:06 Sam James
2024-10-01  1:46 Sam James

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=1735673635.339e6ccf840a55f3178313021c3d881915916163.sam@gentoo \
    --to=sam@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