--- xpdf/makefile.mk.orig.port	Thu Apr 23 14:31:38 2009
+++ xpdf/makefile.mk	Wed Apr 29 00:38:06 2009
@@ -81,7 +81,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-libpaper-library --without-x --enable-multithreaded --enable-exceptions
+CONFIGURE_ACTION=./configure --without-libpaper-library --without-x --enable-multithreaded --enable-exceptions CFLAGS="-pthread" LDFLAGS="-pthread"
 .ENDIF
 
 BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS)
