diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-03-31 04:32:48 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-03-31 04:32:48 +0000 |
commit | 6170380fae371bde499c36149582884bc591de21 (patch) | |
tree | 5f05cf09e3eeecab3cfb3210339329e78384cf1c /chinese/eterm | |
parent | Use FORBIDDEN to display notice about manual fetching of distfile. (diff) |
Remove #include <malloc.h>. Build seems to still be broken.
Notes
Notes:
svn path=/head/; revision=57020
Diffstat (limited to 'chinese/eterm')
-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) |