aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-07-26 19:16:11 +0800
committervs <vs@FreeBSD.org>2004-07-26 19:16:11 +0800
commit40ed9062cda1a5bfc6a7ca55080e5c665e9f927b (patch)
tree31ca719bad5645766d8874d5a978c29e722f606b /chinese
parent7a80b29e2f2a9ea6405669bd5e3af930f94fc934 (diff)
downloadfreebsd-ports-gnome-40ed9062cda1a5bfc6a7ca55080e5c665e9f927b.tar.gz
freebsd-ports-gnome-40ed9062cda1a5bfc6a7ca55080e5c665e9f927b.tar.zst
freebsd-ports-gnome-40ed9062cda1a5bfc6a7ca55080e5c665e9f927b.zip
Unbreak on 4.X, use QString::null instead of ""
PR: ports/69519 Submitted by: Cheng-Lung Sung Approved by: maintainer
Diffstat (limited to 'chinese')
-rw-r--r--chinese/qterm/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/chinese/qterm/Makefile b/chinese/qterm/Makefile
index b6ebabe75514..694f5670be78 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>