diff options
author | Sam James <sam@gentoo.org> | 2024-08-16 00:34:03 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-08-16 00:34:20 +0100 |
commit | 9d4cd3b12cec5ef754121d7b0afa20d2845eee9b (patch) | |
tree | b69af3e3753d1c089aa83b8bc715e065089e2bf0 /sys-devel/bpf-toolchain | |
parent | dev-libs/tree-sitter-vimdoc: Keyword 3.0.0 x86, #937973 (diff) | |
download | gentoo-9d4cd3b12cec5ef754121d7b0afa20d2845eee9b.tar.gz gentoo-9d4cd3b12cec5ef754121d7b0afa20d2845eee9b.tar.bz2 gentoo-9d4cd3b12cec5ef754121d7b0afa20d2845eee9b.zip |
sys-devel/bpf-toolchain: add shadowman calls from mingw64-toolchain
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/bpf-toolchain')
-rw-r--r-- | sys-devel/bpf-toolchain/bpf-toolchain-14.2.0-r2.ebuild (renamed from sys-devel/bpf-toolchain/bpf-toolchain-14.2.0-r1.ebuild) | 8 |
1 files changed, 8 insertions, 0 deletions
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 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 +} |