aboutsummaryrefslogtreecommitdiff
path: root/www/mozilla
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2007-02-04 22:37:34 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2007-02-04 22:37:34 +0000
commitfdda55137462fce56847acdc5b9b971e3c477501 (patch)
tree60d5be2f27f686cd97abdac80488e109602aac60 /www/mozilla
parent708030f3f35c77254aad4301f0ee0385ba5cfac5 (diff)
downloadports-fdda55137462fce56847acdc5b9b971e3c477501.tar.gz
ports-fdda55137462fce56847acdc5b9b971e3c477501.zip
Protect the c-sdk LDAP reinplaces with a check to make sure the c-sdk
directory exists. Reported by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=184179
Diffstat (limited to 'www/mozilla')
-rw-r--r--www/mozilla/Makefile.common8
1 files changed, 5 insertions, 3 deletions
diff --git a/www/mozilla/Makefile.common b/www/mozilla/Makefile.common
index ba553e4cdc26..ba37784260a8 100644
--- a/www/mozilla/Makefile.common
+++ b/www/mozilla/Makefile.common
@@ -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 ; \