ports/devel/gprbuild/files/patch-gprbuild.gpr
John Marino 8483905680 devel/gprbuild: New version as result of gcc-aux upgrade to gcc49
GPRBuild was previously based on the 2012 release, but it never should
have gone past the 2011 issue.  GPRBuild needs to use the same sources as
the GNAT that builds it, but it was built with the embedded sources
instead.  These "GPL" sources were ahead of the "FSF" sources, and
GPRBuild only worked by chance.  Using the proper GNAT Sources (gnat_util)
resulted in build failure!  Now gcc-aux has been updated and now
GPRBuild 2013 can be properly built with FSF GNAT 4.9 sources.
2014-03-14 08:36:59 +00:00

26 lines
839 B
Text

--- gprbuild.gpr.orig 2013-04-16 14:36:04.000000000 +0000
+++ gprbuild.gpr
@@ -1,4 +1,5 @@
with "xmlada";
+with "gnat_util";
project Gprbuild is
type OS_Type is ("unix", "avms", "ivms", "Windows_NT");
@@ -24,7 +25,7 @@ project Gprbuild is
"gprinstall-main.adb",
"gprslave.adb");
- for Source_Dirs use ("src", "gnat");
+ for Source_Dirs use ("src");
case Build_Tool is
when "gprbuild" =>
@@ -173,8 +174,6 @@ project Gprbuild is
when "unix" | "Windows_NT" =>
for Body ("gprlib.build_shared_lib")
use "gprlib-build_shared_lib-nosymbols.adb";
- for Body ("mlib.tgt.specific")
- use "mlib-tgt-specific.adb";
when "avms" =>
for Body ("gprlib.build_shared_lib")
use "gprlib-build_shared_lib-vms.adb";