Index: converters/ktextdecode/Makefile =================================================================== --- converters/ktextdecode/Makefile (revision 308671) +++ converters/ktextdecode/Makefile (working copy) @@ -19,7 +19,7 @@ USE_GMAKE= yes post-patch: - @${REINPLACE_CMD} -e 's|-O2||g; s|-lpthread|${PTHREAD_LIBS}|g' \ + @${REINPLACE_CMD} -e 's|-O2||g' \ ${WRKSRC}/${CONFIGURE_SCRIPT} .include Index: converters/pdf2djvu/Makefile =================================================================== --- converters/pdf2djvu/Makefile (revision 308671) +++ converters/pdf2djvu/Makefile (working copy) @@ -20,7 +20,7 @@ LIB_DEPENDS+= djvulibre:${PORTSDIR}/graphics/djvulibre GNU_CONFIGURE= yes -CONFIGURE_ENV= LIBS=${PTHREAD_LIBS} +CONFIGURE_ENV= LIBS=-pthread CPPFLAGS+= -I${LOCALBASE}/include USE_GMAKE= yes