summaryrefslogtreecommitdiffstats
path: root/www/mozilla
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-02-05 06:41:19 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-02-05 06:41:19 +0800
commit48e7c394714d49c72ec8cefabd66e4f101678940 (patch)
tree4553cb183fbafaed938655e8bbc01fa4fe1b44ef /www/mozilla
parent9b545fe2edb624ccaa092717e23db95a95e361a1 (diff)
downloadmarcuscom-ports-48e7c394714d49c72ec8cefabd66e4f101678940.tar
marcuscom-ports-48e7c394714d49c72ec8cefabd66e4f101678940.tar.gz
marcuscom-ports-48e7c394714d49c72ec8cefabd66e4f101678940.tar.bz2
marcuscom-ports-48e7c394714d49c72ec8cefabd66e4f101678940.tar.lz
marcuscom-ports-48e7c394714d49c72ec8cefabd66e4f101678940.tar.xz
marcuscom-ports-48e7c394714d49c72ec8cefabd66e4f101678940.tar.zst
marcuscom-ports-48e7c394714d49c72ec8cefabd66e4f101678940.zip
Protect the c-sdk LDAP reinplaces with a test to make sure the c-sdk
directory exists. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8286 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/mozilla')
-rw-r--r--www/mozilla/Makefile.common10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/mozilla/Makefile.common b/www/mozilla/Makefile.common
index 9f64f93b9..22f48d7ad 100644
--- a/www/mozilla/Makefile.common
+++ b/www/mozilla/Makefile.common
@@ -4,7 +4,7 @@
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/www/mozilla/Makefile.common,v 1.42 2007/01/14 08:25:35 marcus Exp $
+# $MCom: ports/www/mozilla/Makefile.common,v 1.43 2007/02/04 01:41:08 marcus Exp $
# This file contains some reusable components for mozilla ports. It's of
# use primarily to apps from the mozilla project itself (such as Firefox,
@@ -285,9 +285,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 ; \