aboutsummaryrefslogtreecommitdiff
path: root/devel/ecgi
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-01-26 08:08:36 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-01-26 08:08:36 +0000
commitda5c62b32df78f954471d48d8bc8ddabbe4328d0 (patch)
treee37812d6091ad9f6b0da872f94337a99fd68bbd5 /devel/ecgi
parent3473265a9deeb16495a28ec74c581161b1a32d32 (diff)
downloadports-da5c62b32df78f954471d48d8bc8ddabbe4328d0.tar.gz
ports-da5c62b32df78f954471d48d8bc8ddabbe4328d0.zip
Notes
Diffstat (limited to 'devel/ecgi')
-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