From c47308bcb031c0f3ee0b7270cb387b648b9185f4 Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Thu, 7 Feb 2013 15:40:02 +0000 Subject: [PATCH] - Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: converters) Approved by: portmgr --- converters/ktextdecode/Makefile | 2 +- converters/pdf2djvu/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/converters/ktextdecode/Makefile b/converters/ktextdecode/Makefile index e2b533b6256f..c0e0cb8657a1 100644 --- a/converters/ktextdecode/Makefile +++ b/converters/ktextdecode/Makefile @@ -22,7 +22,7 @@ USE_AUTOTOOLS= libtool 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 diff --git a/converters/pdf2djvu/Makefile b/converters/pdf2djvu/Makefile index b03407f08ce8..aaf872181364 100644 --- a/converters/pdf2djvu/Makefile +++ b/converters/pdf2djvu/Makefile @@ -20,7 +20,7 @@ LIB_DEPENDS= poppler.18:${PORTSDIR}/graphics/poppler 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