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: sys-devel/bpf-toolchain/
Date: Thu, 15 Aug 2024 23:47:01 +0000 (UTC)	[thread overview]
Message-ID: <1723764860.9d4cd3b12cec5ef754121d7b0afa20d2845eee9b.sam@gentoo> (raw)

commit:     9d4cd3b12cec5ef754121d7b0afa20d2845eee9b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 15 23:34:03 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 15 23:34:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d4cd3b1

sys-devel/bpf-toolchain: add shadowman calls from mingw64-toolchain

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...-toolchain-14.2.0-r1.ebuild => bpf-toolchain-14.2.0-r2.ebuild} | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/sys-devel/bpf-toolchain/bpf-toolchain-14.2.0-r1.ebuild b/sys-devel/bpf-toolchain/bpf-toolchain-14.2.0-r2.ebuild
similarity index 95%
rename from sys-devel/bpf-toolchain/bpf-toolchain-14.2.0-r1.ebuild
rename to sys-devel/bpf-toolchain/bpf-toolchain-14.2.0-r2.ebuild
index 0c5a58f41988..093dcc4f54dd 100644
--- a/sys-devel/bpf-toolchain/bpf-toolchain-14.2.0-r1.ebuild
+++ b/sys-devel/bpf-toolchain/bpf-toolchain-14.2.0-r2.ebuild
@@ -203,6 +203,9 @@ src_install() {
 }
 
 pkg_postinst() {
+	use bin-symlinks && has_version dev-util/shadowman && [[ ! ${ROOT} ]] &&
+		eselect compiler-shadow update all
+
 	if [[ ! ${REPLACING_VERSIONS} ]]; then
 		elog "Note that this package is primarily intended for DTrace, systemd, and related"
 		elog "packages to depend on without needing a manual crossdev setup."
@@ -212,3 +215,8 @@ pkg_postinst() {
 		elog "    https://wiki.gentoo.org/wiki/Crossdev"
 	fi
 }
+
+pkg_postrm() {
+	use bin-symlinks && has_version dev-util/shadowman && [[ ! ${ROOT} ]] &&
+		eselect compiler-shadow clean all
+}


             reply	other threads:[~2024-08-15 23:47 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-15 23:47 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-02 10:00 [gentoo-commits] repo/gentoo:master commit in: sys-devel/bpf-toolchain/ Arthur Zamarin
2024-09-12 14:58 Sam James
2024-09-09 20:44 Arthur Zamarin
2024-09-09 13:46 Sam James
2024-09-08 21:59 Sam James
2024-08-31  6:39 Sam James
2024-08-23 13:00 Arthur Zamarin
2024-08-20 19:00 Sam James
2024-08-19 19:22 Sam James
2024-08-19 17:33 Sam James
2024-08-19 17:33 Sam James
2024-08-19 13:50 Jakov Smolić
2024-08-19 12:40 Arthur Zamarin
2024-08-19 12:40 Arthur Zamarin
2024-08-19 10:51 Arthur Zamarin
2024-08-19 10:44 Arthur Zamarin
2024-08-19  8:42 Sam James
2024-08-16  0:39 Sam James
2024-08-15 23:47 Sam James
2024-08-15 22:18 Sam James
2024-08-07  2:53 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=1723764860.9d4cd3b12cec5ef754121d7b0afa20d2845eee9b.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