commit:     10333a7cf45d01db927fdddb8cb48f263e9463ed
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  1 07:31:56 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct  1 07:31:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10333a7c

dev-lang/ada-bootstrap: fix setting PATH harder

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

 dev-lang/ada-bootstrap/ada-bootstrap-0_p2021-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/ada-bootstrap/ada-bootstrap-0_p2021-r1.ebuild 
b/dev-lang/ada-bootstrap/ada-bootstrap-0_p2021-r1.ebuild
index 7cabb8ddfd0e..861ee96ad1c4 100644
--- a/dev-lang/ada-bootstrap/ada-bootstrap-0_p2021-r1.ebuild
+++ b/dev-lang/ada-bootstrap/ada-bootstrap-0_p2021-r1.ebuild
@@ -134,7 +134,7 @@ src_configure() {
        local adabdir=/usr/lib/${PN}
        local prefix=${EPREFIX}${adabdir}
 
-       export PATH=${GNATDIR}/bin:${PWD}/bin:${PATH}
+       export PATH="${WORKDIR}"/${GNATDIR}/bin:${S}/bin:${PWD}/bin:${PATH}
 
        # This version is GCC 4.7.4 with a bolted-on newer GNAT; be very
        # conservative, we just want it to build for bootstrapping proper

Reply via email to