aboutsummaryrefslogtreecommitdiff
path: root/chinese/eterm
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-03-31 04:32:48 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-03-31 04:32:48 +0000
commit6170380fae371bde499c36149582884bc591de21 (patch)
tree5f05cf09e3eeecab3cfb3210339329e78384cf1c /chinese/eterm
parente6a347678d18070631043957141b499449181c06 (diff)
downloadports-6170380fae371bde499c36149582884bc591de21.tar.gz
ports-6170380fae371bde499c36149582884bc591de21.zip
Notes
Diffstat (limited to 'chinese/eterm')
-rw-r--r--chinese/eterm/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/chinese/eterm/Makefile b/chinese/eterm/Makefile
index e55bd5f3b68e..846ec38f23c1 100644
--- a/chinese/eterm/Makefile
+++ b/chinese/eterm/Makefile
@@ -29,6 +29,10 @@ CONFIGURE_ENV= LIBS="-lxpg4"
MAN1= Eterm.1
INSTALLS_SHLIB= yes
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/libmej/debug.c ${WRKSRC}/libmej/strings.c
+
post-install:
@${CHMOD} 4711 ${PREFIX}/bin/Eterm
.if !defined(NOPORTDOCS)