commit:     832ac55e8bf28296ca16124377f359ea63b0184e
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  5 18:58:25 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Jan  5 19:00:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=832ac55e

dev-ada/gprbuild: fix gnatbind executable name

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/gprbuild/gprbuild-25.0.0-r1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-ada/gprbuild/gprbuild-25.0.0-r1.ebuild 
b/dev-ada/gprbuild/gprbuild-25.0.0-r1.ebuild
index bdd62d2fe9e0..82f8651e0b1a 100644
--- a/dev-ada/gprbuild/gprbuild-25.0.0-r1.ebuild
+++ b/dev-ada/gprbuild/gprbuild-25.0.0-r1.ebuild
@@ -10,7 +10,7 @@ inherit ada multiprocessing
 XMLADA=xmlada-${PV}
 
 DESCRIPTION="Multi-Language Management"
-HOMEPAGE="http://libre.adacore.com/";
+HOMEPAGE="https://github.com/AdaCore/gprbuild";
 SRC_URI="
        https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
                -> ${P}.tar.gz
@@ -35,6 +35,10 @@ src_prepare() {
                -e "s:@GNATBIND@:${GNATBIND}:g" \
                src/gprlib.adb \
                || die
+       sed -i \
+               -e "s|\"gnatbind\"|\"gnatbind-${GCC_PV}\"|" \
+               src/gprbind.adb \
+               || die
        cd gpr/src || die
        ln -s gpr-util-put_resource_usage__unix.adb \
                gpr-util-put_resource_usage.adb

Reply via email to