aboutsummaryrefslogtreecommitdiffstats
path: root/mbone
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-01-02 12:16:51 +0800
committerpat <pat@FreeBSD.org>2002-01-02 12:16:51 +0800
commit543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e (patch)
tree09358f3b37255b97a358ba5c645a6ba3d61f221c /mbone
parente14aab3c1c36a15c1f30e7bdda043c0b3ab152b4 (diff)
downloadfreebsd-ports-graphics-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.tar.gz
freebsd-ports-graphics-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.tar.zst
freebsd-ports-graphics-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.zip
Fix for -CURRENT, malloc.h->stdlib.h
Spotted by: Bento
Diffstat (limited to 'mbone')
-rw-r--r--mbone/vic/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mbone/vic/Makefile b/mbone/vic/Makefile
index 1c142b3fbaf..0866c835fa9 100644
--- a/mbone/vic/Makefile
+++ b/mbone/vic/Makefile
@@ -28,6 +28,10 @@ CONFIGURE_ARGS= -x-libraries=${PREFIX}/lib \
-with-tk=${LOCALBASE}
MAN1= vic.1
+pre-patch:
+ @${FIND} ${WRKSRC} -name "*.[c,h]" | ${XARGS} ${PERL} -pi -e \
+ 's|malloc.h|stdlib.h|'
+
post-install:
strip ${PREFIX}/bin/vic
strip ${PREFIX}/bin/histtolut