mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Protect the c-sdk LDAP reinplaces with a check to make sure the c-sdk
directory exists. Reported by: pointyhat via kris
This commit is contained in:
parent
708030f3f3
commit
fdda551374
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=184179
@ -294,9 +294,11 @@ gecko-post-patch:
|
|||||||
s|echo aout|echo elf|g' \
|
s|echo aout|echo elf|g' \
|
||||||
${WRKSRC}/security/coreconf/FreeBSD.mk \
|
${WRKSRC}/security/coreconf/FreeBSD.mk \
|
||||||
${WRKSRC}/js/src/Makefile.in
|
${WRKSRC}/js/src/Makefile.in
|
||||||
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
|
@if [ -d ${WRKSRC}/directory/c-sdk ]; then \
|
||||||
${WRKSRC}/directory/c-sdk/config/FreeBSD.mk \
|
${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
|
||||||
${WRKSRC}/directory/c-sdk/configure
|
${WRKSRC}/directory/c-sdk/config/FreeBSD.mk \
|
||||||
|
${WRKSRC}/directory/c-sdk/configure ; \
|
||||||
|
fi
|
||||||
@${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g ; \
|
@${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g ; \
|
||||||
s|-lpthread|${PTHREAD_LIBS}|g ; \
|
s|-lpthread|${PTHREAD_LIBS}|g ; \
|
||||||
s|echo aout|echo elf|g ; \
|
s|echo aout|echo elf|g ; \
|
||||||
|
Loading…
Reference in New Issue
Block a user