$NetBSD: patch-share_gprconfig_linker.xml,v 1.3 2016/11/25 20:36:49 marino Exp $

Tailor standard gprbuild to recognize gcc-aux / Ada framework

--- share/gprconfig/linker.xml.orig	2015-04-28 14:21:56 UTC
+++ share/gprconfig/linker.xml
@@ -687,11 +687,14 @@
     </config>
   </configuration>
 
-  <!-- linux, freebsd and Irix-->
+  <!-- linux, bsd and Irix-->
   <configuration>
     <targets>
        <target name="^.*linux.*$" />
        <target name="^.*freebsd.*$" />
+       <target name="^.*dragonfly.*$" />
+       <target name="^.*openbsd.*$" />
+       <target name="^.*netbsd.*$" />
        <target name="^.*irix.*$" />
     </targets>
     <config>
@@ -763,10 +766,13 @@
     </config>
   </configuration>
 
-  <!-- freebsd -->
+  <!-- bsd -->
   <configuration>
     <targets>
        <target name="^.*freebsd.*$" />
+       <target name="^.*dragonfly.*$" />
+       <target name="^.*openbsd.*$" />
+       <target name="^.*netbsd.*$" />
     </targets>
     <config>
    for Run_Path_Option  use ("-Wl,-rpath,");
@@ -1308,6 +1314,12 @@
        <target name="^.*mingw.*$" />
        <target name="^.*linux.*$" />
        <target name="^.*freebsd.*$" />
+       <target name="^.*dragonfly.*$" />
+       <target name="^.*openbsd.*$" />
+       <target name="^.*netbsd.*$" />
+       <target name="^.*dragonfly.*$" />
+       <target name="^.*openbsd.*$" />
+       <target name="^.*netbsd.*$" />
      </targets>
     <compilers negate="true">
        <compiler language="C++" />
@@ -1392,6 +1404,9 @@
        <target name="^.*mingw.*$" />
        <target name="^.*linux.*$" />
        <target name="^.*freebsd.*$" />
+       <target name="^.*dragonfly.*$" />
+       <target name="^.*openbsd.*$" />
+       <target name="^.*netbsd.*$" />
      </targets>
     <compilers>
        <compiler language="C++" />
