aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--news/tin/Makefile6
-rw-r--r--www/lynx-current/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/news/tin/Makefile b/news/tin/Makefile
index c797babd9d15..f747d60e2f31 100644
--- a/news/tin/Makefile
+++ b/news/tin/Makefile
@@ -38,10 +38,10 @@ WITH_TIN_EDITOR?= /usr/bin/ee
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 602107
-WITH_TIN_SCREEN?= ncursesw
-.else
+.if ${OSVERSION} < 602107 || (${OSVERSION} >= 700000 && ${OSVERSION} < 700033)
WITH_TIN_SCREEN?= ncurses
+.else
+WITH_TIN_SCREEN?= ncursesw
.endif
# --with-mime-default-charset=US-ASCII needed to build tin in the non-ascii
diff --git a/www/lynx-current/Makefile b/www/lynx-current/Makefile
index 5cb652665a58..b05d0c460f2b 100644
--- a/www/lynx-current/Makefile
+++ b/www/lynx-current/Makefile
@@ -37,10 +37,10 @@ USE_OPENSSL= yes
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 602107
-CONFIGURE_ARGS+= --with-screen=ncursesw
-.else
+.if ${OSVERSION} < 602107 || (${OSVERSION} >= 700000 && ${OSVERSION} < 700033)
CONFIGURE_ARGS+= --with-screen=ncurses
+.else
+CONFIGURE_ARGS+= --with-screen=ncursesw
.endif
.ifdef USE_OPENSSL