summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/mozilla-devel/Makefile2
-rw-r--r--www/mozilla/Makefile2
-rw-r--r--www/seamonkey/Makefile2
-rw-r--r--www/seamonkey2/Makefile2
4 files changed, 8 insertions, 0 deletions
diff --git a/www/mozilla-devel/Makefile b/www/mozilla-devel/Makefile
index 93bb8d9e2905..e801dafc5525 100644
--- a/www/mozilla-devel/Makefile
+++ b/www/mozilla-devel/Makefile
@@ -186,6 +186,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \
-e 's|%%HEADERS_SUFX%%|-devel|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" \
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" \
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile
index 93bb8d9e2905..e801dafc5525 100644
--- a/www/seamonkey/Makefile
+++ b/www/seamonkey/Makefile
@@ -186,6 +186,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \
-e 's|%%HEADERS_SUFX%%|-devel|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" \
diff --git a/www/seamonkey2/Makefile b/www/seamonkey2/Makefile
index 93bb8d9e2905..e801dafc5525 100644
--- a/www/seamonkey2/Makefile
+++ b/www/seamonkey2/Makefile
@@ -186,6 +186,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \
-e 's|%%HEADERS_SUFX%%|-devel|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" \