diff options
author | pat <pat@FreeBSD.org> | 2002-01-02 04:16:51 +0000 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-01-02 04:16:51 +0000 |
commit | 543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e (patch) | |
tree | 09358f3b37255b97a358ba5c645a6ba3d61f221c /multimedia/vic | |
parent | e14aab3c1c36a15c1f30e7bdda043c0b3ab152b4 (diff) | |
download | FreeBSD-ports-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.zip FreeBSD-ports-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.tar.gz |
Fix for -CURRENT, malloc.h->stdlib.h
Spotted by: Bento
Diffstat (limited to 'multimedia/vic')
-rw-r--r-- | multimedia/vic/Makefile | 4 |
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 |