summaryrefslogtreecommitdiffstats
path: root/chinese/qterm
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-07-26 11:16:11 +0000
committervs <vs@FreeBSD.org>2004-07-26 11:16:11 +0000
commit40ed9062cda1a5bfc6a7ca55080e5c665e9f927b (patch)
tree31ca719bad5645766d8874d5a978c29e722f606b /chinese/qterm
parent7a80b29e2f2a9ea6405669bd5e3af930f94fc934 (diff)
downloadFreeBSD-ports-40ed9062cda1a5bfc6a7ca55080e5c665e9f927b.zip
FreeBSD-ports-40ed9062cda1a5bfc6a7ca55080e5c665e9f927b.tar.gz
Unbreak on 4.X, use QString::null instead of ""
PR: ports/69519 Submitted by: Cheng-Lung Sung Approved by: maintainer
Diffstat (limited to 'chinese/qterm')
-rw-r--r--chinese/qterm/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/chinese/qterm/Makefile b/chinese/qterm/Makefile
index b6ebabe..694f567 100644
--- a/chinese/qterm/Makefile
+++ b/chinese/qterm/Makefile
@@ -26,10 +26,6 @@ USE_PYTHON= -2.3
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-BROKEN= "Does not compile on FreeBSD 4.x"
-.endif
-
pre-everything::
@${ECHO_MSG} "Define WITHOUT_PYTHON to\
disable PYTHON scripts support."
@@ -39,5 +35,9 @@ post-patch:
${WRKSRC}/qterm/qtermtelnet.cpp
@${REINPLACE_CMD} -e 's,-lssl,-lssl -lcrypto,' \
${WRKSRC}/configure
+.if ${OSVERSION} < 500000
+ @${REINPLACE_CMD} -e 's,?"":,?QString::null:,' \
+ ${WRKSRC}/qterm/qtermconfig.cpp
+.endif
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud