$NetBSD: patch-aa,v 1.3 2008/09/16 22:25:50 dholland Exp $

--- configure.orig	2005-07-30 09:41:24.000000000 -0400
+++ configure	2008-09-16 18:16:49.000000000 -0400
@@ -20938,7 +20938,7 @@ fi
 # Set things up for different OS's
 # We define the name of the OS so the code can act accordingly
 # We also need to add the right LDFLAGS
-case $host_os in
+case $build_os in
 solaris2.[6-7])
 
 for ac_header in kstat.h
@@ -21410,7 +21410,7 @@ cat >>confdefs.h <<\_ACEOF
 _ACEOF
 
 	;;
-netbsdelf2*)
+netbsd*)
 
 cat >>confdefs.h <<\_ACEOF
 #define ALLBSD
