summaryrefslogtreecommitdiff
path: root/www/mozilla/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mozilla/Makefile')
-rw-r--r--www/mozilla/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile
index 1dbd257cf310..3813ffe87675 100644
--- a/www/mozilla/Makefile
+++ b/www/mozilla/Makefile
@@ -189,6 +189,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \
-e 's|%%HEADERS_SUFX%%||g' \
${WRKSRC}/config/autoconf.mk.in
+ @${FIND} ${WRKSRC}/other-licenses/libical -name "*.c" | ${XARGS} \
+ ${REINPLACE_CMD} 's|<malloc.h>|<stdlib.h>|g'
post-build:
${SED} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%MOZILLA%%|${MOZILLA}|g" \