summaryrefslogtreecommitdiffstats
path: root/chinese/qterm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/qterm/Makefile')
-rw-r--r--chinese/qterm/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/chinese/qterm/Makefile b/chinese/qterm/Makefile
index 915778b..7fed7ce 100644
--- a/chinese/qterm/Makefile
+++ b/chinese/qterm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= qterm
-PORTVERSION= 0.1.7
+PORTVERSION= 0.2.0
CATEGORIES= chinese
MASTER_SITES= http://qterm.gnuchina.org/qterm-${PORTVERSION}/ \
ftp://freebsd.sinica.edu.tw/pub/statue/qterm/
@@ -17,5 +17,10 @@ COMMENT= QTerm is a BBS client in Unix
USE_QT_VER= 3
USE_GMAKE= yes
HAS_CONFIGURE= yes
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/qterm/qtermtelnet.cpp
.include <bsd.port.mk>
OpenPOWER on IntegriCloud