From 2cea4ecb1713dc398c61503e6a58770c11f5867a Mon Sep 17 00:00:00 2001 From: Trevor Johnson Date: Fri, 17 Jan 2003 12:44:07 +0000 Subject: [PATCH] Avoid use of FreeBSD's unique booby-trapped malloc.h. Sposored by: David O'Brien and Sofia Pappatheodorou --- www/mmosaic/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/www/mmosaic/Makefile b/www/mmosaic/Makefile index ac4e5913890a..2d1608d11dd5 100644 --- a/www/mmosaic/Makefile +++ b/www/mmosaic/Makefile @@ -26,6 +26,13 @@ USE_MOTIF= yes USE_X_PREFIX= yes WRKSRC= ${WRKDIR}/mMosaic-src-${PORTVERSION} +post-patch: +.for ii in libhtmlw/HTML-PSformat.c libhtmlw/HTML.c libhtmlw/HTMLcolors.c \ + libmc/mc_obj.c libnut/list.c src/proxy-dialogs.c + ${MV} ${WRKSRC}/${ii} ${WRKSRC}/${ii}.orig + ${GREP} -v malloc.h ${WRKSRC}/${ii}.orig > ${WRKSRC}/${ii} +.endfor + pre-install: ${ECHO_CMD} bin/mmosaic > ${PLIST} cd ${WRKSRC}/Copyrights; for i in `find * -type f`; do \