aboutsummaryrefslogtreecommitdiffstats
path: root/korean/han
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-03-31 11:16:00 +0800
committerkris <kris@FreeBSD.org>2002-03-31 11:16:00 +0800
commit4e0745a429742553847e68bfedbf8326de3fd2b4 (patch)
tree0603a913c2401916c3744e3f1d655cc55862b8b1 /korean/han
parentb0465ec848997aa04cc4b96e4254418d973c3947 (diff)
downloadfreebsd-ports-gnome-4e0745a429742553847e68bfedbf8326de3fd2b4.tar.gz
freebsd-ports-gnome-4e0745a429742553847e68bfedbf8326de3fd2b4.tar.zst
freebsd-ports-gnome-4e0745a429742553847e68bfedbf8326de3fd2b4.zip
Remove #include <malloc.h>
Diffstat (limited to 'korean/han')
-rw-r--r--korean/han/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/korean/han/Makefile b/korean/han/Makefile
index 304e0c5f3a70..51d16362117d 100644
--- a/korean/han/Makefile
+++ b/korean/han/Makefile
@@ -16,6 +16,10 @@ ONLY_FOR_ARCHS= i386
USE_GMAKE= YES
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/src/vt.c ${WRKSRC}/lib/mem.c
+
post-configure:
${SED} -e 's%%WRKSRC%%${WRKSRC}' \
-e 's%%PREFIX%%${PREFIX}' \