1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

s/-pthread/${PTHREAD_LIBS}/

This commit is contained in:
Joe Marcus Clarke 2003-01-27 03:54:56 +00:00
parent 583ed1dee3
commit bf3736fb9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74060

View File

@ -25,7 +25,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|-pthread|g ; \
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
.include <bsd.port.mk>