- Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: converters)

Approved by:	portmgr
This commit is contained in:
Pietro Cerutti 2013-02-07 15:40:02 +00:00
parent 9650053021
commit c47308bcb0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311870
2 changed files with 2 additions and 2 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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