diff options
-rw-r--r-- | chinese/eterm/Makefile | 4 |
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) |