1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Respect PTHREAD_LIBS.

Approved by:	nobutaka (maintainer)
This commit is contained in:
Norikatsu Shigemura 2006-12-09 14:46:27 +00:00
parent 290aa042c4
commit 5f00925706
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179307

View File

@ -24,12 +24,12 @@ INSTALLS_SHLIB= yes
USE_AUTOTOOLS= libtool:15 autoconf:259
post-patch:
@${REINPLACE_CMD} -e \
's|THREAD_LIBS=.*$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \
${REINPLACE_CMD} -e \
's|THREAD_LIBS="[^"]*"$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \
s|THREAD_CFLAGS=.*$$|THREAD_CFLAGS="\$$THREAD_CFLAGS"|g ; \
s|-L/usr/local/lib|-L${LOCALBASE}/lib|g ; \
s|-I/usr/local/include|-I${LOCALBASE}/include|g' \
${WRKSRC}/configure ${WRKSRC}/missing \
${WRKSRC}/aclocal.m4 ${WRKSRC}/autogen.sh
${WRKSRC}/configure ${WRKSRC}/configure.ac \
${WRKSRC}/missing ${WRKSRC}/aclocal.m4 ${WRKSRC}/autogen.sh
.include <bsd.port.mk>