Skip to content

Commit

Permalink
dev-ada/gprbuild: Fix gnatbind path
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/668964
Signed-off-by: Alfredo Tupone <[email protected]>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
  • Loading branch information
atupone committed Oct 19, 2018
1 parent fde471e commit 1340f40
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dev-ada/gprbuild/files/gprbuild-2018-gentoo.patch
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,16 @@
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 @@
Expand Down
File renamed without changes.

0 comments on commit 1340f40

Please sign in to comment.