aboutsummaryrefslogtreecommitdiffstats
path: root/www/harvest/Makefile
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-03-31 11:10:17 +0800
committerkris <kris@FreeBSD.org>2002-03-31 11:10:17 +0800
commitf8025d5ff2d6c2adf9118ff37b4636c31a78b49b (patch)
treea4e8477b93399940b0ad0bb974924db1727a3ef1 /www/harvest/Makefile
parentefa8f77c3aebe3beb87249d8d3c9b8bae7f383ed (diff)
downloadfreebsd-ports-gnome-f8025d5ff2d6c2adf9118ff37b4636c31a78b49b.tar.gz
freebsd-ports-gnome-f8025d5ff2d6c2adf9118ff37b4636c31a78b49b.tar.zst
freebsd-ports-gnome-f8025d5ff2d6c2adf9118ff37b4636c31a78b49b.zip
Remove #include <malloc.h>
Don't statically initialize a FILE *
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 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