pkgsrc/devel/gprbuild-aux/patches/patch-share_gprconfig_gnat.xml
marino b44cf5b8a4 devel/gprbuild-aux: Update version GPL 2012 to GPL 2013
GPRBuild needs to be built with GNAT sources, so it now depends on
the new library lang/gnat_util.  It installs two new programs:
gprinstall and gprslave.  This is the latest version published by
Adacore.
2014-04-30 16:28:09 +00:00

24 lines
807 B
XML

$NetBSD: patch-share_gprconfig_gnat.xml,v 1.2 2014/04/30 16:28:09 marino Exp $
Tailor standard gprbuild to recognize gcc-aux / Ada framework
--- share/gprconfig/gnat.xml.orig 2013-01-16 21:07:55.000000000 +0000
+++ share/gprconfig/gnat.xml
@@ -63,7 +63,7 @@
</config>
</configuration>
- <!-- GNAT -->
+ <!-- GNAT (tailored to lang/gcc-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