dev-ada/gprbuild: Fix gnatbind path
authorTupone Alfredo <tupone@gentoo.org>
Fri, 19 Oct 2018 20:29:47 +0000 (22:29 +0200)
committerTupone Alfredo <tupone@gentoo.org>
Fri, 19 Oct 2018 20:30:10 +0000 (22:30 +0200)
Closes: https://bugs.gentoo.org/668964
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

dev-ada/gprbuild/files/gprbuild-2018-gentoo.patch
dev-ada/gprbuild/gprbuild-2018-r3.ebuild [moved from dev-ada/gprbuild/gprbuild-2018-r2.ebuild with 100% similarity]

index 9f62ec9ff9d4b91372662ec552735c0645e23f36..1f967b61d4c76aec2e7aba0fd18080092dba731b 100644 (file)
        for Language_Kind            ("Ada") use "unit_based";
        for Dependency_Kind          ("Ada") use "ALI_File";
        for Leading_Required_Switches        ("Ada") use
+@@ -77,6 +77,9 @@
+       for Objects_Path_File     ("Ada") use "ADA_PRJ_OBJECTS_FILE";
+       for Driver         ("Ada") use
+           "${GPRCONFIG_PREFIX}libexec/gprbuild/gprbind";
++      for Switches ("Ada") use ("--gnatbind_path=gnatbind-@VER@");
++      for Required_Switches ("Ada") use
++        Binder'Required_Switches ("Ada") &amp; ("--RTS=${RUNTIME_DIR(ada)}");
+    end Binder;
+ 
+    for Toolchain_Version ("Ada") use "GNAT ${VERSION(ada)}";
 --- a/share/gprconfig/c.xml    2018-10-17 21:31:44.442501471 +0200
 +++ b/share/gprconfig/c.xml    2018-10-17 21:33:06.562088044 +0200
 @@ -14,7 +14,7 @@