summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vic/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/multimedia/vic/Makefile b/multimedia/vic/Makefile
index 1c142b3..0866c83 100644
--- a/multimedia/vic/Makefile
+++ b/multimedia/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
OpenPOWER on IntegriCloud