1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +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:
Joe Marcus Clarke 2007-02-04 22:37:34 +00:00
parent 708030f3f3
commit fdda551374
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=184179

View File

@ -294,9 +294,11 @@ gecko-post-patch:
s|echo aout|echo elf|g' \
${WRKSRC}/security/coreconf/FreeBSD.mk \
${WRKSRC}/js/src/Makefile.in
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
${WRKSRC}/directory/c-sdk/config/FreeBSD.mk \
${WRKSRC}/directory/c-sdk/configure
@if [ -d ${WRKSRC}/directory/c-sdk ]; then \
${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
${WRKSRC}/directory/c-sdk/config/FreeBSD.mk \
${WRKSRC}/directory/c-sdk/configure ; \
fi
@${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g ; \
s|-lpthread|${PTHREAD_LIBS}|g ; \
s|echo aout|echo elf|g ; \