1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Avoid use of FreeBSD's unique booby-trapped malloc.h.

Sposored by:	David O'Brien and Sofia Pappatheodorou
This commit is contained in:
Trevor Johnson 2003-01-17 12:44:07 +00:00
parent 5ae0a3a05b
commit 2cea4ecb17
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73340

View File

@ -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 \