diff options
author | 2024-10-01 03:05:31 +0100 | |
---|---|---|
committer | 2024-10-01 03:05:31 +0100 | |
commit | 0929102584fd193df5b3d64829615f0a81587b10 (patch) | |
tree | 7a98e706c1488db36bbecca07fd1369b2025bfce /dev-lang/ada-bootstrap | |
parent | toolchain.eclass: go back to PATH lookup for Ada wrappers (diff) | |
download | gentoo-0929102584fd193df5b3d64829615f0a81587b10.tar.gz gentoo-0929102584fd193df5b3d64829615f0a81587b10.tar.bz2 gentoo-0929102584fd193df5b3d64829615f0a81587b10.zip |
dev-lang/ada-bootstrap: install gcc-config-style symlinks
Needed for the logic in toolchain.eclass to match what we do for
sys-devel/gcc.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/ada-bootstrap')
-rw-r--r-- | dev-lang/ada-bootstrap/ada-bootstrap-0_p2021-r1.ebuild (renamed from dev-lang/ada-bootstrap/ada-bootstrap-0_p2021.ebuild) | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-lang/ada-bootstrap/ada-bootstrap-0_p2021.ebuild b/dev-lang/ada-bootstrap/ada-bootstrap-0_p2021-r1.ebuild index 9756936109d0..a254049ff182 100644 --- a/dev-lang/ada-bootstrap/ada-bootstrap-0_p2021.ebuild +++ b/dev-lang/ada-bootstrap/ada-bootstrap-0_p2021-r1.ebuild @@ -186,6 +186,14 @@ src_install() { # -j1 to match bug #906155, other packages may be fragile too emake -C "${WORKDIR}"/build -j1 MAKEINFO=: V=1 DESTDIR="${D}" install + # Make `gcc-config`-style symlinks + local tool + cd "${ED}"/usr/lib/ada-bootstrap/bin || die + for tool in gnat{,bind,chop,clean,kr,link,ls,make,name,prep} ; do + ln -s ${tool} ${CBUILD}-${tool} || die + ln -s ${tool} ${CBUILD}-${tool}-10 || die + done + # Delete libdep.a, which has a colliding name and is useless for bpf, # which does not make use of cross-library dependencies: the libdep.a # for the native binutils will do. |