summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-02 04:16:51 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-02 04:16:51 +0000
commitb50c44981d13d21fa7acbcd57908a0fbd663b054 (patch)
treeed1663d82eb627c5d6bbdbfa52f7eb978d7e3cfa /chinese
parent- PORTVERSION 0.4.3 => 0.4.4. (diff)
Fix for -CURRENT, malloc.h->stdlib.h
Spotted by: Bento
Diffstat (limited to 'chinese')
-rw-r--r--chinese/hc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/chinese/hc/Makefile b/chinese/hc/Makefile
index a6551700f211..7e737ac6b68f 100644
--- a/chinese/hc/Makefile
+++ b/chinese/hc/Makefile
@@ -21,6 +21,9 @@ EXTRACT_ONLY= hc-30.tar.gz
ALL_TARGET= hc b2g g2b
MAN1= hc.1
+pre-patch:
+ @${PERL} -pi -e 's|malloc.h|stdlib.h|' ${WRKSRC}/hclib.c
+
do-install:
@${MKDIR} ${PREFIX}/share/chinese
${INSTALL_PROGRAM} ${WRKSRC}/hc ${PREFIX}/bin