$NetBSD$

--- configure.orig	2006-01-12 20:37:05.000000000 +0000
+++ configure
@@ -1934,7 +1934,7 @@ linux* | gnu* | k*bsd*-gnu)
 echo "${ECHO_T}*** GNU, building POSIX version. we need pthread and rt." >&6
 	PPC_LDADD="$PPC_LDADD -lpthread -lrt"
 ;;
-freebsd*)
+freebsd* | dragonfly*)
 	OSAPI_DIR=posix
 	if test "x$enable_ui" = "xno"; then
 		enable_ui="x11"
