aboutsummaryrefslogtreecommitdiff
path: root/mbone/vic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mbone/vic/Makefile')
-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