$NetBSD: patch-ab,v 1.2 2004/04/29 22:23:33 recht Exp $

--- src/template/netbsd.orig	2003-10-10 00:55:46.000000000 +0200
+++ src/template/netbsd	2004-04-29 15:05:29.000000000 +0200
@@ -1,2 +1,5 @@
 THREAD_SUPPORT=yes
 NEED_REENTRANT_FUNCS=yes	# 1.6 2003-09-14
+case $build in
+	*-netbsdelf[2-9]* | *-netbsdelf1.6[L-Z]* | *-netbsdelf1.6[A-Z][A-Z]* ) THREAD_CPPFLAGS="-pthread"; THREAD_LIBS="-pthread" ;;
+esac
