$NetBSD: patch-ao,v 1.9 2007/03/03 16:51:37 joerg Exp $

--- cmd/dot/Makefile.in.orig	2007-03-03 16:07:40.000000000 +0100
+++ cmd/dot/Makefile.in
@@ -418,7 +418,7 @@ AM_CPPFLAGS = \
 man_MANS = dot.1 
 pdf_DATA = dot.pdf
 dot_SOURCES = dot.c
-dot_LDADD = $(top_builddir)/lib/gvc/libgvc.la
+dot_LDADD = $(top_builddir)/lib/gvc/libgvc.la ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
 
 # This automagic technique for building the list of builtins requires that the
 # symbols be in the binary image, but libtool makes it difficult
