freebsd-ports/devel/gprbuild/files/patch-share_gprconfig_gnat.xml
John Marino 5f8894b154 devel/gprbuild: Upgrade version 2014 => 2015
This upgrade was necessary because the latest version introduces new
switches that Adacore software already uses.  I'd been working around
it be replacing, for example, "gprinstall" with manual install targets.

More importantly, gprbuild is built with project files.  This requires
either gnatmake (which will drop this functionality on next gcc version)
or a copy of gprbuild already installed.  Since I don't want to carry
binary bootstraps, I wrote a new BSD-style makefile to avoid gprbuild
as a dependency for itself.

Unlike GPS 2014, it uses the gnat sources that it was provided with
instead of gnat_util library.  The gpr* sources use functions not yes
in FSF GNAT and only one regression patch is needed when built by
gcc5-aux.  This probably cannot be built by gcc-aux, but there are
already several things preventing the return to gcc-aux (over gcc5-aux).

I didn't bother with the examples so these are no longer installed, and
I didn't install "info" version of documention which follows my other
ports.  (pdf, txt, and html versions are still installed)
2015-06-28 05:57:34 +00:00

21 lines
653 B
XML

--- share/gprconfig/gnat.xml.orig 2014-10-13 22:03:37 UTC
+++ share/gprconfig/gnat.xml
@@ -63,7 +63,7 @@
</config>
</configuration>
- <!-- GNAT -->
+ <!-- GNAT (tailored to lang/gcc5-aux) -->
<configuration>
&filter_gnat;
<config>
@@ -75,7 +75,7 @@
end Naming;
package Compiler is
- for Driver ("Ada") use "${PATH(ada)}${PREFIX(ada)}gcc";
+ for Driver ("Ada") use "${PATH(ada)}${PREFIX(ada)}ada";
for Language_Kind ("Ada") use "unit_based";
for Dependency_Kind ("Ada") use "ALI_File";
for Leading_Required_Switches ("Ada") use