summaryrefslogtreecommitdiff
path: root/www/harvest/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-03-31 03:10:17 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-03-31 03:10:17 +0000
commit0d089f0cc8af77a0192118f92602c80382aac9a2 (patch)
treea24591a073731e03093436cdffc3f6100a7f922a /www/harvest/Makefile
parentRemove #include <malloc.h>. Build still fails (bison failure). (diff)
Remove #include <malloc.h>
Don't statically initialize a FILE *
Notes
Notes: svn path=/head/; revision=57005
Diffstat (limited to '')
-rw-r--r--www/harvest/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/harvest/Makefile b/www/harvest/Makefile
index 2c1077f9186d..56a303be326b 100644
--- a/www/harvest/Makefile
+++ b/www/harvest/Makefile
@@ -17,6 +17,13 @@ EXTRACT_SUFX= -src.tar.gz
MAINTAINER= ports@FreeBSD.org
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/src/configure ${WRKSRC}/src/broker/broker.h \
+ ${WRKSRC}/src/gatherer/essence/main.c \
+ ${WRKSRC}/src/gatherer/include/essence.h \
+ ${WRKSRC}/components/gatherer/standard/dvi2tty/dvi2tty.h
+
pre-install:
${MKDIR} ${PREFIX}/harvest