$OpenBSD: patch-xpdf_makefile_mk,v 1.1 2009/01/31 01:06:20 robert Exp $
--- xpdf/makefile.mk.orig.port	Thu Jan 29 15:48:36 2009
+++ xpdf/makefile.mk	Thu Jan 29 15:49:07 2009
@@ -71,7 +71,7 @@ CONFIGURE_ACTION=./configure --without-x --enable-mult
 .ELSE
 #CONFIGURE_ACTION=./configure
 #CONFIGURE_ACTION=./configure --without-x --enable-multithreaded --enable-exceptions CFLAGS="-g -O0" CXXFLAGS="-g -O0"
-CONFIGURE_ACTION=./configure --without-x --enable-multithreaded --enable-exceptions
+CONFIGURE_ACTION=./configure --without-x --enable-multithreaded --enable-exceptions CFLAGS="-pthread" LDFLAGS="-pthread"
 .ENDIF
 
 BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS)
