aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/eterm
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-03-31 12:32:48 +0800
committerkris <kris@FreeBSD.org>2002-03-31 12:32:48 +0800
commitd2996296b6b1eeaf335174e75735d56fec52a423 (patch)
tree791e2265606ddb1801be5a6e6f383b7518e007a2 /chinese/eterm
parent1751c9d6bc1bf964e7f50b237743c7067ab20aa2 (diff)
downloadfreebsd-ports-gnome-d2996296b6b1eeaf335174e75735d56fec52a423.tar.gz
freebsd-ports-gnome-d2996296b6b1eeaf335174e75735d56fec52a423.tar.zst
freebsd-ports-gnome-d2996296b6b1eeaf335174e75735d56fec52a423.zip
Remove #include <malloc.h>. Build seems to still be broken.
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)