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 | e6a347678d18070631043957141b499449181c06 (diff) | |
download | ports-6170380fae371bde499c36149582884bc591de21.tar.gz ports-6170380fae371bde499c36149582884bc591de21.zip |
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) |