1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- Do not hardcode -lpthread

Reported by:	krismail
This commit is contained in:
Pav Lucistnik 2006-03-19 11:56:35 +00:00
parent ad28210176
commit 197c4532ad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=157661

View File

@ -32,6 +32,9 @@ CFLAGS+= -I ${LOCALBASE}/include
MAKE_ENV+= LIBS="-L${LOCALBASE}/lib"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${PREFIX}/bin
.ifndef NOPORTDOCS