summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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}' \