$NetBSD: patch-ak,v 1.2 2011/05/14 18:00:24 wiz Exp $ --- libjava/configure.host.orig 2011-02-25 16:07:42.000000000 +0100 +++ libjava/configure.host @@ -310,6 +310,9 @@ *-*-freebsd*) slow_pthread_self= ;; + *-*-netbsd*) + slow_pthread_self= + ;; *-mingw*) libgcj_flags="${libgcj_flags} -fno-omit-frame-pointer" # FIXME: win32_exception_handler( ) in win32.cc does not do the