summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2018-10-19 22:29:47 +0200
committerTupone Alfredo <tupone@gentoo.org>2018-10-19 22:30:10 +0200
commit1340f40143dcafb4f0d64de0fb7b58de01a892f5 (patch)
treec11bed39ff94c227729537e04273114fe811d87d /dev-ada/gprbuild/files
parentdev-libs/softhsm: fix libressl (diff)
downloadgentoo-1340f40143dcafb4f0d64de0fb7b58de01a892f5.tar.gz
gentoo-1340f40143dcafb4f0d64de0fb7b58de01a892f5.tar.bz2
gentoo-1340f40143dcafb4f0d64de0fb7b58de01a892f5.zip
dev-ada/gprbuild: Fix gnatbind path
Closes: https://bugs.gentoo.org/668964 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'dev-ada/gprbuild/files')
-rw-r--r--dev-ada/gprbuild/files/gprbuild-2018-gentoo.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-ada/gprbuild/files/gprbuild-2018-gentoo.patch b/dev-ada/gprbuild/files/gprbuild-2018-gentoo.patch
index 9f62ec9ff9d4..1f967b61d4c7 100644
--- a/dev-ada/gprbuild/files/gprbuild-2018-gentoo.patch
+++ b/dev-ada/gprbuild/files/gprbuild-2018-gentoo.patch
@@ -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 @@