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:
parent
842540e117
commit
633bcc7f16
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278948
@ -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 ; \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user