mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- fix build on STABLE when libphtread does exists
This commit is contained in:
parent
3f5754bbcd
commit
61b4f17392
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138805
@ -57,9 +57,11 @@ pre-configure:
|
||||
.for file in config.guess config.sub install-sh
|
||||
@${CP} ${PREFIX}/System/Makefiles/${file} ${WRKSRC}
|
||||
.endfor
|
||||
${REINPLACE_CMD} -e "s|-lphread|${PTHREAD_LIBS}|" -e "s|CFLAGS =|CFLAGS+=|" \
|
||||
${REINPLACE_CMD} -e "s|-lphtread|${PTHREAD_LIBS}|g" -e "s|CFLAGS =|CFLAGS+=|" \
|
||||
-e "s|-Wall|-Wall ${PTHREAD_CFLAGS:S=""==}|" \
|
||||
${WRKSRC}/Tools/gsnd/portaudio/pa_unix_oss/Makefile
|
||||
${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
|
||||
${WRKSRC}/Tools/gsnd/GNUmakefile.postamble
|
||||
.if !defined(NOPORTDOCS)
|
||||
${REINPLACE_CMD} -e "s|doc=no|doc=yes|" ${WRKSRC}/GNUmakefile
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user