$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
