$NetBSD: patch-share_gprconfig_linker.xml,v 1.2 2014/04/30 16:28:09 marino Exp $

Tailor standard gprbuild to recognize gcc-aux / Ada framework

--- share/gprconfig/linker.xml.orig	2013-01-25 17:01:24.000000000 +0000
+++ share/gprconfig/linker.xml
@@ -519,11 +519,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>
@@ -557,10 +560,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,");
@@ -888,6 +894,9 @@
        <target name="^.*mingw.*$" />
        <target name="^.*linux.*$" />
        <target name="^.*freebsd.*$" />
+       <target name="^.*dragonfly.*$" />
+       <target name="^.*openbsd.*$" />
+       <target name="^.*netbsd.*$" />
      </targets>
     <compilers negate="true">
        <compiler language="C++" />
@@ -929,6 +938,9 @@
        <target name="^.*mingw.*$" />
        <target name="^.*linux.*$" />
        <target name="^.*freebsd.*$" />
+       <target name="^.*dragonfly.*$" />
+       <target name="^.*openbsd.*$" />
+       <target name="^.*netbsd.*$" />
      </targets>
     <compilers negate="true">
        <compiler language="C++" />
@@ -970,6 +982,9 @@
        <target name="^.*mingw.*$" />
        <target name="^.*linux.*$" />
        <target name="^.*freebsd.*$" />
+       <target name="^.*dragonfly.*$" />
+       <target name="^.*openbsd.*$" />
+       <target name="^.*netbsd.*$" />
      </targets>
     <compilers>
        <compiler language="C++" />
