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:
parent
290aa042c4
commit
5f00925706
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179307
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user