1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Add the pthread library to the pkg-config "libs" option

This commit is contained in:
Pietro Cerutti 2011-08-05 09:48:07 +00:00
parent 842540e117
commit 633bcc7f16
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278948
2 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,7 @@ CONFIGURE_ARGS+= --with-profiling=gprof
.endif
post-patch:
${REINPLACE_CMD} -e '/^Libs:/s|$$| ${PTHREAD_LIBS}|' ${WRKSRC}/fox.pc.in
# CXXFLAGS safeness
@${REINPLACE_CMD} -E -e \
's|-O2|${CXXFLAGS}|g ; \

View File

@ -48,6 +48,7 @@ BROKEN= does not build on amd64
.endif
post-patch:
${REINPLACE_CMD} -e '/^Libs:/s|$$| ${PTHREAD_LIBS}|' ${WRKSRC}/fox17.pc.in
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e '/^SUBDIRS/s/ doc//' ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
.endif