mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- 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
@ -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>
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user