- Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: converters)
Approved by: portmgr
This commit is contained in:
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
|
@ -22,7 +22,7 @@ USE_AUTOTOOLS= libtool
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|-O2||g; s|-lpthread|${PTHREAD_LIBS}|g' \
|
@${REINPLACE_CMD} -e 's|-O2||g' \
|
||||||
${WRKSRC}/${CONFIGURE_SCRIPT}
|
${WRKSRC}/${CONFIGURE_SCRIPT}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -20,7 +20,7 @@ LIB_DEPENDS= poppler.18:${PORTSDIR}/graphics/poppler
|
||||||
LIB_DEPENDS+= djvulibre:${PORTSDIR}/graphics/djvulibre
|
LIB_DEPENDS+= djvulibre:${PORTSDIR}/graphics/djvulibre
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ENV= LIBS=${PTHREAD_LIBS}
|
CONFIGURE_ENV= LIBS=-pthread
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue