summaryrefslogtreecommitdiff
path: root/mbone/vic
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-02 04:16:51 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-02 04:16:51 +0000
commitb50c44981d13d21fa7acbcd57908a0fbd663b054 (patch)
treeed1663d82eb627c5d6bbdbfa52f7eb978d7e3cfa /mbone/vic
parent- PORTVERSION 0.4.3 => 0.4.4. (diff)
Fix for -CURRENT, malloc.h->stdlib.h
Spotted by: Bento
Diffstat (limited to 'mbone/vic')
-rw-r--r--mbone/vic/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mbone/vic/Makefile b/mbone/vic/Makefile
index 1c142b3fbaf2..0866c835fa97 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