aboutsummaryrefslogtreecommitdiffstats
path: root/www/harvest/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/harvest/Makefile')
-rw-r--r--www/harvest/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/harvest/Makefile b/www/harvest/Makefile
index 2c1077f9186..56a303be326 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