summaryrefslogtreecommitdiff
path: root/chinese/qterm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/qterm/Makefile')
-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>