$NetBSD$

--- libstdc++-v3/configure.host.orig	2004-08-27 13:52:30.000000000 -0600
+++ libstdc++-v3/configure.host
@@ -244,4 +244,8 @@ case "${host}" in
   x86_64-*-linux*)
     abi_baseline_pair="x86_64-linux-gnu"
     ;;
+  *-netbsd*)
+    abi_baseline_pair=${ABI_BASELINE_PAIR}
+    ;;
+
 esac
