aboutsummaryrefslogtreecommitdiff
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
parent27d4bf81121a3da5af90914796392ee0170915c1 (diff)
downloadports-b50c44981d13d21fa7acbcd57908a0fbd663b054.tar.gz
ports-b50c44981d13d21fa7acbcd57908a0fbd663b054.zip
Notes
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