summaryrefslogtreecommitdiff
path: root/korean/han
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-03-31 03:16:00 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-03-31 03:16:00 +0000
commit71dddcfbd5d428b7ebd4db42d21f143b44a01617 (patch)
tree4f53ae257a82b2458ba9a0d3f16e175052c5d4ce /korean/han
parent- Add BUILD_DEPENDS/RUN_DEPENDS to devel/pkgconfig (diff)
Remove #include <malloc.h>
Notes
Notes: svn path=/head/; revision=57008
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}' \