$NetBSD: patch-ba,v 1.9 2010/02/20 08:59:04 schwarz Exp $

--- configure.orig	2009-02-27 23:21:46.000000000 +0100
+++ configure	2010-02-20 09:52:42.000000000 +0100
@@ -3945,12 +3945,6 @@
 $as_echo "$wine_cv_toolsdir" >&6; }
 TOOLSDIR=$wine_cv_toolsdir
 
-if test -n "$host_alias" -a "$host_alias" != "$build_alias"
-then
-    TARGETFLAGS="-b $host_alias $TARGETFLAGS"
-
-fi
-
 for ac_prog in flex
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
@@ -17913,6 +17907,11 @@
 
         EXTRA_BINARIES="wine-pthread"
  ;;
+      netbsd*)
+        MAIN_BINARY="wine-kthread"
+
+        EXTRA_BINARIES="wine-pthread"
+ ;;
     esac
     ;;
 esac
