aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-01-26 16:08:36 +0800
committerkris <kris@FreeBSD.org>2002-01-26 16:08:36 +0800
commit2376e21ad8ae9f64571cfb3cbbf08f4596e66641 (patch)
tree69fcb60dfe7ddd002018b589e2acef9104f3460d /devel
parent03ee3567a6544f2f70736d956a1190f7e51fdab2 (diff)
downloadfreebsd-ports-gnome-2376e21ad8ae9f64571cfb3cbbf08f4596e66641.tar.gz
freebsd-ports-gnome-2376e21ad8ae9f64571cfb3cbbf08f4596e66641.tar.zst
freebsd-ports-gnome-2376e21ad8ae9f64571cfb3cbbf08f4596e66641.zip
Fix build on -current
Diffstat (limited to 'devel')
-rw-r--r--devel/ecgi/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/ecgi/Makefile b/devel/ecgi/Makefile
index 9ef432475b2a..d7fbdab1ce0c 100644
--- a/devel/ecgi/Makefile
+++ b/devel/ecgi/Makefile
@@ -18,6 +18,9 @@ INSTALLS_SHLIB= yes
HEADER_FILES= ecgi.h ecgitk.h include/memfile.h
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' ${WRKSRC}/src/memfile.c
+
do-install:
@${INSTALL_DATA} ${WRKSRC}/libecgi.a ${PREFIX}/lib
@${INSTALL_PROGRAM} ${WRKSRC}/libecgi.so ${PREFIX}/lib