aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/py-lzma/Makefile2
-rw-r--r--archivers/squsq/Makefile2
-rw-r--r--archivers/upx/Makefile2
-rw-r--r--audio/cava/Makefile2
-rw-r--r--audio/eteroj-lv2/Makefile2
-rw-r--r--audio/gnuitar/Makefile2
-rw-r--r--audio/play/Makefile2
-rw-r--r--benchmarks/siege/Makefile2
-rw-r--r--biology/biosig/Makefile2
-rw-r--r--biology/wise/Makefile2
-rw-r--r--cad/calculix/Makefile2
-rw-r--r--cad/magic/Makefile2
-rw-r--r--comms/bladerf/Makefile2
-rw-r--r--comms/xlog/Makefile2
-rw-r--r--databases/mongodb70/Makefile2
-rw-r--r--databases/p5-Memcached-libmemcached/Makefile2
-rw-r--r--databases/pgpool-II-40/Makefile2
-rw-r--r--databases/pgpool-II-41/Makefile2
-rw-r--r--databases/pgpool-II-42/Makefile2
-rw-r--r--databases/pgpool-II-43/Makefile2
-rw-r--r--devel/dmucs/Makefile2
-rw-r--r--devel/frink/Makefile2
-rw-r--r--devel/leatherman/Makefile2
-rw-r--r--devel/libs11n/Makefile2
-rw-r--r--devel/libtecla/Makefile2
-rw-r--r--devel/pickle/Makefile2
-rw-r--r--devel/py-rchitect/Makefile2
-rw-r--r--devel/tcltls/Makefile2
-rw-r--r--devel/tla/Makefile2
-rw-r--r--editors/hexcurse/Makefile2
-rw-r--r--emulators/gngb/Makefile2
-rw-r--r--emulators/hugo/Makefile2
-rw-r--r--emulators/virtualbox-ose-kmod-legacy/Makefile2
-rw-r--r--games/libretro-bluemsx/Makefile2
-rw-r--r--games/libretro-mame2000/Makefile2
-rw-r--r--games/libretro-mame2003_plus/Makefile2
-rw-r--r--games/spellcast/Makefile2
-rw-r--r--games/tuxmath/Makefile2
-rw-r--r--graphics/bsd-plotutils/Makefile2
-rw-r--r--graphics/liblug/Makefile2
-rw-r--r--graphics/pixen/Makefile2
-rw-r--r--graphics/urt/Makefile2
-rw-r--r--irc/scrollz/Makefile2
-rw-r--r--japanese/Wnn6-lib/Makefile2
-rw-r--r--japanese/ebview-gtk2/Makefile2
-rw-r--r--japanese/kinput2/Makefile2
-rw-r--r--japanese/sj3-server/Makefile2
-rw-r--r--lang/eisl/Makefile2
-rw-r--r--lang/sagittarius-scheme/Makefile2
-rw-r--r--lang/solidity/Makefile2
-rw-r--r--mail/deforaos-mailer/Makefile2
-rw-r--r--mail/enma/Makefile2
-rw-r--r--mail/gnumail/Makefile2
-rw-r--r--mail/hbiff/Makefile2
-rw-r--r--mail/mailx/Makefile2
-rw-r--r--mail/meta1/Makefile2
-rw-r--r--mail/pantomime/Makefile2
-rw-r--r--mail/pfqueue/Makefile2
-rw-r--r--mail/rmilter/Makefile2
-rw-r--r--math/libpoly/Makefile2
-rw-r--r--math/scilab/Makefile2
-rw-r--r--math/spooles/Makefile2
-rw-r--r--misc/dynomite/Makefile2
-rw-r--r--net-im/pidgin-fetion/Makefile2
-rw-r--r--net-mgmt/ipv6calc/Makefile2
-rw-r--r--net-mgmt/nrpe3/Makefile2
-rw-r--r--net-mgmt/send/Makefile2
-rw-r--r--net-mgmt/tcptrack/Makefile2
-rw-r--r--net-p2p/shx/Makefile2
-rw-r--r--net/asterisk16/Makefile2
-rw-r--r--net/asterisk18/Makefile2
-rw-r--r--net/gq/Makefile2
-rw-r--r--net/guacamole-server/Makefile2
-rw-r--r--net/honeyd/Makefile2
-rw-r--r--net/libexosip2/Makefile2
-rw-r--r--net/libproxy/Makefile2
-rw-r--r--net/libtnl/Makefile2
-rw-r--r--net/p5-Net-TCLink/Makefile2
-rw-r--r--net/pichi/Makefile2
-rw-r--r--net/radsecproxy/Makefile2
-rw-r--r--net/tn5250/Makefile2
-rw-r--r--print/magicfilter/Makefile2
-rw-r--r--science/gtamsanalyzer/Makefile2
-rw-r--r--security/identify/Makefile2
-rw-r--r--security/lasso/Makefile2
-rw-r--r--security/libprelude/Makefile2
-rw-r--r--security/monkeysphere/Makefile2
-rw-r--r--security/opencryptoki/Makefile2
-rw-r--r--security/p5-Crypt-OpenSSL-PKCS10/Makefile2
-rw-r--r--security/py-python-axolotl-curve25519/Makefile2
-rw-r--r--security/starttls/Makefile2
-rw-r--r--sysutils/fluent-bit/Makefile2
-rw-r--r--textproc/augeas/Makefile2
-rw-r--r--textproc/jshon/Makefile2
-rw-r--r--textproc/p5-XML-Bare/Makefile2
-rw-r--r--www/libdatachannel/Makefile2
-rw-r--r--www/mod_auth_mysql2/Makefile2
-rw-r--r--www/p5-HTTP-MHTTP/Makefile2
-rw-r--r--www/sogo/Makefile2
-rw-r--r--www/trafficserver/Makefile2
-rw-r--r--www/varnish6/Makefile2
-rw-r--r--www/wget2/Makefile2
-rw-r--r--x11-toolkits/rep-gtk2/Makefile2
-rw-r--r--x11-toolkits/swt/Makefile2
-rw-r--r--x11-toolkits/xbae/Makefile2
-rw-r--r--x11/kitty/Makefile2
-rw-r--r--x11/libsx/Makefile2
-rw-r--r--x11/xdtm/Makefile2
108 files changed, 108 insertions, 108 deletions
diff --git a/archivers/py-lzma/Makefile b/archivers/py-lzma/Makefile
index 2ee88f54e6cb..2f79ab170478 100644
--- a/archivers/py-lzma/Makefile
+++ b/archivers/py-lzma/Makefile
@@ -33,7 +33,7 @@ post-install:
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/archivers/squsq/Makefile b/archivers/squsq/Makefile
index e4ff661a20e0..6f13ec854f2b 100644
--- a/archivers/squsq/Makefile
+++ b/archivers/squsq/Makefile
@@ -25,7 +25,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/archivers/upx/Makefile b/archivers/upx/Makefile
index 3a101bfd2bed..edb0441335ad 100644
--- a/archivers/upx/Makefile
+++ b/archivers/upx/Makefile
@@ -26,7 +26,7 @@ CPE_VENDOR= upx_project
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=unused-but-set-variable
.endif
diff --git a/audio/cava/Makefile b/audio/cava/Makefile
index 2bf1f762bc57..1798a98ba018 100644
--- a/audio/cava/Makefile
+++ b/audio/cava/Makefile
@@ -52,7 +52,7 @@ VT_PLIST_FILES= ${DATADIR}/cava.fnt
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=deprecated-non-prototype
.endif
diff --git a/audio/eteroj-lv2/Makefile b/audio/eteroj-lv2/Makefile
index 7247640a1f7c..70b38e5e08cf 100644
--- a/audio/eteroj-lv2/Makefile
+++ b/audio/eteroj-lv2/Makefile
@@ -28,7 +28,7 @@ PLIST_FILES= lib/lv2/eteroj.lv2/eteroj.so \
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/audio/gnuitar/Makefile b/audio/gnuitar/Makefile
index 0b115486cb2b..65caf24ccfc9 100644
--- a/audio/gnuitar/Makefile
+++ b/audio/gnuitar/Makefile
@@ -42,7 +42,7 @@ SUID_DESC= Use suid to allow highest priority (priv. dropped)
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/audio/play/Makefile b/audio/play/Makefile
index 978f9cf410d4..f58c839cbe9c 100644
--- a/audio/play/Makefile
+++ b/audio/play/Makefile
@@ -21,7 +21,7 @@ PLIST_FILES= bin/play man/ja/man1/play.1.gz
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/benchmarks/siege/Makefile b/benchmarks/siege/Makefile
index 066b4f2d8a3a..28e2f3ff3488 100644
--- a/benchmarks/siege/Makefile
+++ b/benchmarks/siege/Makefile
@@ -20,7 +20,7 @@ CONFIGURE_ENV= PERL="${PERL}"
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/biology/biosig/Makefile b/biology/biosig/Makefile
index d735cfd16f67..4dfc496ca72a 100644
--- a/biology/biosig/Makefile
+++ b/biology/biosig/Makefile
@@ -30,7 +30,7 @@ LDFLAGS+= -liconv
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/biology/wise/Makefile b/biology/wise/Makefile
index 863f30de76c8..8331a0ee0c81 100644
--- a/biology/wise/Makefile
+++ b/biology/wise/Makefile
@@ -47,7 +47,7 @@ DATAFILES= BLOSUM30.bla BLOSUM45.bla BLOSUM62.bla BLOSUM80.bla aa.rnd \
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/cad/calculix/Makefile b/cad/calculix/Makefile
index 82d43c702ba0..09924bb06395 100644
--- a/cad/calculix/Makefile
+++ b/cad/calculix/Makefile
@@ -42,7 +42,7 @@ PSVIEWER?= gv
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CPPFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/cad/magic/Makefile b/cad/magic/Makefile
index 770e775d22de..455aa64403bb 100644
--- a/cad/magic/Makefile
+++ b/cad/magic/Makefile
@@ -37,7 +37,7 @@ BINARY_ALIAS= python3=${PYTHON_CMD} # this is needed, see https://github.com/RTi
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/comms/bladerf/Makefile b/comms/bladerf/Makefile
index 26064dd71104..028d3482824f 100644
--- a/comms/bladerf/Makefile
+++ b/comms/bladerf/Makefile
@@ -27,7 +27,7 @@ PLIST_FILES= bin/bladeRF-cli \
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=unused-but-set-variable
.endif
diff --git a/comms/xlog/Makefile b/comms/xlog/Makefile
index 3c8190742154..8f0c846465be 100644
--- a/comms/xlog/Makefile
+++ b/comms/xlog/Makefile
@@ -35,7 +35,7 @@ NLS_CONFIGURE_OFF= --disable-nls
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=deprecated-non-prototype
.endif
diff --git a/databases/mongodb70/Makefile b/databases/mongodb70/Makefile
index 1c696fb5cad2..b7b331d9b426 100644
--- a/databases/mongodb70/Makefile
+++ b/databases/mongodb70/Makefile
@@ -90,7 +90,7 @@ SSL_MAKE_ARGS= --ssl
.include <bsd.port.pre.mk>
# MongoDB 7.0 fails on clang15.
-.if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
_LLVM_VERSION= 14
BUILD_DEPENDS+= clang${_LLVM_VERSION}:devel/llvm${_LLVM_VERSION}
CC= ${LOCALBASE}/bin/clang${_LLVM_VERSION}
diff --git a/databases/p5-Memcached-libmemcached/Makefile b/databases/p5-Memcached-libmemcached/Makefile
index 64a7625881c4..80ca682db0de 100644
--- a/databases/p5-Memcached-libmemcached/Makefile
+++ b/databases/p5-Memcached-libmemcached/Makefile
@@ -20,7 +20,7 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/databases/pgpool-II-40/Makefile b/databases/pgpool-II-40/Makefile
index 24c2247598cd..19bd238af931 100644
--- a/databases/pgpool-II-40/Makefile
+++ b/databases/pgpool-II-40/Makefile
@@ -38,7 +38,7 @@ SSL_CONFIGURE_WITH= openssl
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/databases/pgpool-II-41/Makefile b/databases/pgpool-II-41/Makefile
index 5fb5f66e6465..27e8e500f500 100644
--- a/databases/pgpool-II-41/Makefile
+++ b/databases/pgpool-II-41/Makefile
@@ -38,7 +38,7 @@ SSL_CONFIGURE_WITH= openssl
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/databases/pgpool-II-42/Makefile b/databases/pgpool-II-42/Makefile
index 30d7431d5512..9e169c195fa8 100644
--- a/databases/pgpool-II-42/Makefile
+++ b/databases/pgpool-II-42/Makefile
@@ -38,7 +38,7 @@ SSL_CONFIGURE_WITH= openssl
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/databases/pgpool-II-43/Makefile b/databases/pgpool-II-43/Makefile
index 6b3f6d5eca37..768fd56e480c 100644
--- a/databases/pgpool-II-43/Makefile
+++ b/databases/pgpool-II-43/Makefile
@@ -38,7 +38,7 @@ SSL_CONFIGURE_WITH= openssl
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/devel/dmucs/Makefile b/devel/dmucs/Makefile
index e8f69f0a84a4..398c04665467 100644
--- a/devel/dmucs/Makefile
+++ b/devel/dmucs/Makefile
@@ -25,7 +25,7 @@ PLIST_FILES= bin/dmucs bin/gethost bin/loadavg bin/monitor bin/remhost
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CPPFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/devel/frink/Makefile b/devel/frink/Makefile
index 95ee0c671da7..6463c08f4515 100644
--- a/devel/frink/Makefile
+++ b/devel/frink/Makefile
@@ -23,7 +23,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=strict-prototypes
.endif
diff --git a/devel/leatherman/Makefile b/devel/leatherman/Makefile
index ff5b8d2222e4..6ddd060dd609 100644
--- a/devel/leatherman/Makefile
+++ b/devel/leatherman/Makefile
@@ -29,7 +29,7 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
post-configure:
# This file is vendored in vendor/Catch-1.10.0.zip and extracted at configure step
${SED} -i '' -e '1s|\(.*\)|#include <sys/signal.h>\n\1|' ${CONFIGURE_WRKSRC}/src/Catch-1.10.0/single_include/catch.hpp
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
${REINPLACE_CMD} -e 's|ptrdiff_t|size_t|' ${CONFIGURE_WRKSRC}/src/Catch-1.10.0/single_include/catch.hpp
.endif
diff --git a/devel/libs11n/Makefile b/devel/libs11n/Makefile
index 559c8c488665..6001298e0ce8 100644
--- a/devel/libs11n/Makefile
+++ b/devel/libs11n/Makefile
@@ -20,7 +20,7 @@ WRKSRC_SUBDIR= src
.include <bsd.port.pre.mk>
-.if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 )
+.if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )))
PLIST_SUB+= PROFILE="@comment "
.else
PLIST_SUB+= PROFILE=""
diff --git a/devel/libtecla/Makefile b/devel/libtecla/Makefile
index b4e39cb06772..1976e52a429a 100644
--- a/devel/libtecla/Makefile
+++ b/devel/libtecla/Makefile
@@ -24,7 +24,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/devel/pickle/Makefile b/devel/pickle/Makefile
index 427eff1ea3ff..544fd9487500 100644
--- a/devel/pickle/Makefile
+++ b/devel/pickle/Makefile
@@ -37,7 +37,7 @@ BIN_SYMLINKS= bin/n14 \
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/devel/py-rchitect/Makefile b/devel/py-rchitect/Makefile
index 4bb2231071a7..2374f7463997 100644
--- a/devel/py-rchitect/Makefile
+++ b/devel/py-rchitect/Makefile
@@ -20,7 +20,7 @@ USE_PYTHON= distutils autoplist
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/devel/tcltls/Makefile b/devel/tcltls/Makefile
index 6e3d841be608..0480c0772178 100644
--- a/devel/tcltls/Makefile
+++ b/devel/tcltls/Makefile
@@ -32,7 +32,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/devel/tla/Makefile b/devel/tla/Makefile
index 7a093e9db138..bc3bcb5158b7 100644
--- a/devel/tla/Makefile
+++ b/devel/tla/Makefile
@@ -39,7 +39,7 @@ ORIGWRKSRC= ${WRKDIR}/${DISTNAME}/src
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CPPFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/editors/hexcurse/Makefile b/editors/hexcurse/Makefile
index d1d068223dce..2b29ef2492c7 100644
--- a/editors/hexcurse/Makefile
+++ b/editors/hexcurse/Makefile
@@ -20,7 +20,7 @@ PLIST_FILES= bin/hexcurse man/man1/hexcurse.1.gz
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=deprecated-non-prototype
.endif
diff --git a/emulators/gngb/Makefile b/emulators/gngb/Makefile
index d09881bf8dd9..1892a3c1640a 100644
--- a/emulators/gngb/Makefile
+++ b/emulators/gngb/Makefile
@@ -27,7 +27,7 @@ OPENGL_CONFIGURE_ENABLE=gl
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/emulators/hugo/Makefile b/emulators/hugo/Makefile
index 5da1c5c26f33..fcd3ea2b8e43 100644
--- a/emulators/hugo/Makefile
+++ b/emulators/hugo/Makefile
@@ -48,7 +48,7 @@ SDL_MIXER_CFLAGS= -DOGG_SUPPORT
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/emulators/virtualbox-ose-kmod-legacy/Makefile b/emulators/virtualbox-ose-kmod-legacy/Makefile
index 1f22215cd453..40f783cc46d1 100644
--- a/emulators/virtualbox-ose-kmod-legacy/Makefile
+++ b/emulators/virtualbox-ose-kmod-legacy/Makefile
@@ -77,7 +77,7 @@ KMK_ARCH= freebsd.${ARCH}
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/games/libretro-bluemsx/Makefile b/games/libretro-bluemsx/Makefile
index 451f6b608347..3197bb9b96a1 100644
--- a/games/libretro-bluemsx/Makefile
+++ b/games/libretro-bluemsx/Makefile
@@ -19,7 +19,7 @@ PLIST_FILES= lib/libretro/bluemsx_libretro.so
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/games/libretro-mame2000/Makefile b/games/libretro-mame2000/Makefile
index 2932af3207c4..10661009ae88 100644
--- a/games/libretro-mame2000/Makefile
+++ b/games/libretro-mame2000/Makefile
@@ -22,7 +22,7 @@ PLIST_FILES= lib/libretro/mame2000_libretro.so
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/games/libretro-mame2003_plus/Makefile b/games/libretro-mame2003_plus/Makefile
index eeb4d606b206..c4a8f579fe47 100644
--- a/games/libretro-mame2003_plus/Makefile
+++ b/games/libretro-mame2003_plus/Makefile
@@ -20,7 +20,7 @@ PLIST_FILES= lib/libretro/mame2003_plus_libretro.so
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/games/spellcast/Makefile b/games/spellcast/Makefile
index ac996cda9ce5..6e3b9410a498 100644
--- a/games/spellcast/Makefile
+++ b/games/spellcast/Makefile
@@ -24,7 +24,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/games/tuxmath/Makefile b/games/tuxmath/Makefile
index 41c71aaa016f..4041dfd6ebe0 100644
--- a/games/tuxmath/Makefile
+++ b/games/tuxmath/Makefile
@@ -53,7 +53,7 @@ SVG_CONFIGURE_WITH= rsvg
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/graphics/bsd-plotutils/Makefile b/graphics/bsd-plotutils/Makefile
index c638ae9221a4..247c8d1da8c3 100644
--- a/graphics/bsd-plotutils/Makefile
+++ b/graphics/bsd-plotutils/Makefile
@@ -25,7 +25,7 @@ FORTRAN_USES= fortran
.include <bsd.port.pre.mk>
-.if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 )
+.if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )))
PLIST_SUB+= PROFILE="@comment "
.else
PLIST_SUB+= PROFILE=""
diff --git a/graphics/liblug/Makefile b/graphics/liblug/Makefile
index efdb26426f6a..a56e8b2470dc 100644
--- a/graphics/liblug/Makefile
+++ b/graphics/liblug/Makefile
@@ -26,7 +26,7 @@ PLIST_FILES= lib/liblug.a
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/graphics/pixen/Makefile b/graphics/pixen/Makefile
index 4df47653c226..7c89eea52d59 100644
--- a/graphics/pixen/Makefile
+++ b/graphics/pixen/Makefile
@@ -19,7 +19,7 @@ ADDITIONAL_OBJCFLAGS+= -Dlog2=logb
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/graphics/urt/Makefile b/graphics/urt/Makefile
index 89f90cca261b..d6af3c2d63fc 100644
--- a/graphics/urt/Makefile
+++ b/graphics/urt/Makefile
@@ -32,7 +32,7 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/irc/scrollz/Makefile b/irc/scrollz/Makefile
index 3ab611a8f603..57d7257c0710 100644
--- a/irc/scrollz/Makefile
+++ b/irc/scrollz/Makefile
@@ -37,7 +37,7 @@ UTF8_CONFIGURE_ENABLE= utf8
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/japanese/Wnn6-lib/Makefile b/japanese/Wnn6-lib/Makefile
index 3f29d4b54865..691a3275d511 100644
--- a/japanese/Wnn6-lib/Makefile
+++ b/japanese/Wnn6-lib/Makefile
@@ -18,7 +18,7 @@ PORTDOCS= README
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/japanese/ebview-gtk2/Makefile b/japanese/ebview-gtk2/Makefile
index 5718f5dbd2f3..9d6c0f972cd4 100644
--- a/japanese/ebview-gtk2/Makefile
+++ b/japanese/ebview-gtk2/Makefile
@@ -28,7 +28,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/japanese/kinput2/Makefile b/japanese/kinput2/Makefile
index 39d90aca2309..7fdabbb618b3 100644
--- a/japanese/kinput2/Makefile
+++ b/japanese/kinput2/Makefile
@@ -91,7 +91,7 @@ CONF+= TRANSPORTDEFS="-DNO_TCP_TRANSPORT"
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/japanese/sj3-server/Makefile b/japanese/sj3-server/Makefile
index e091aa4f28db..7a5bfea4aa11 100644
--- a/japanese/sj3-server/Makefile
+++ b/japanese/sj3-server/Makefile
@@ -47,7 +47,7 @@ POSTPATCHES.nodocports= \
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/lang/eisl/Makefile b/lang/eisl/Makefile
index 3130a72c137c..92eca4d62633 100644
--- a/lang/eisl/Makefile
+++ b/lang/eisl/Makefile
@@ -34,7 +34,7 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-makefile
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/lang/sagittarius-scheme/Makefile b/lang/sagittarius-scheme/Makefile
index 08849c80522d..ecb913db05f7 100644
--- a/lang/sagittarius-scheme/Makefile
+++ b/lang/sagittarius-scheme/Makefile
@@ -33,7 +33,7 @@ OPTIONS_SUB= yes
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/lang/solidity/Makefile b/lang/solidity/Makefile
index 10766d583385..6d29a884ac74 100644
--- a/lang/solidity/Makefile
+++ b/lang/solidity/Makefile
@@ -43,7 +43,7 @@ PLIST_FILES= bin/solc \
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CXXFLAGS+= -Wno-unqualified-std-cast-call
.endif
diff --git a/mail/deforaos-mailer/Makefile b/mail/deforaos-mailer/Makefile
index 1cb2f8e28475..6f9d3cf81148 100644
--- a/mail/deforaos-mailer/Makefile
+++ b/mail/deforaos-mailer/Makefile
@@ -59,7 +59,7 @@ post-patch:
${REINPLACE_CMD} 's|-Wl,-pie||g' \
${WRKSRC}/src/Makefile \
${WRKSRC}/tests/Makefile
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
${REINPLACE_CMD} 's/stack-protector-all/stack-protector-all -Wno-error=int-conversion/g' \
${WRKSRC}/src/Makefile \
${WRKSRC}/src/account/Makefile \
diff --git a/mail/enma/Makefile b/mail/enma/Makefile
index 9fa659ab90af..343fc427462d 100644
--- a/mail/enma/Makefile
+++ b/mail/enma/Makefile
@@ -51,7 +51,7 @@ RUN_DEPENDS+= ${LOCALBASE}/libexec/postfix/smtpd:mail/postfix
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/mail/gnumail/Makefile b/mail/gnumail/Makefile
index e4da2a7caf8d..0e6634addbc6 100644
--- a/mail/gnumail/Makefile
+++ b/mail/gnumail/Makefile
@@ -21,7 +21,7 @@ USE_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES}
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/mail/hbiff/Makefile b/mail/hbiff/Makefile
index b8151ac8d443..89bf325cdbe1 100644
--- a/mail/hbiff/Makefile
+++ b/mail/hbiff/Makefile
@@ -18,7 +18,7 @@ PLIST_FILES= bin/hbiff man/man1/hbiff.1.gz
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/mail/mailx/Makefile b/mail/mailx/Makefile
index 91c82038c594..420d488a51d7 100644
--- a/mail/mailx/Makefile
+++ b/mail/mailx/Makefile
@@ -24,7 +24,7 @@ WRKSRC= ${WRKDIR}/mail-2.2.8
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/mail/meta1/Makefile b/mail/meta1/Makefile
index 25cf0c4c1521..58226e95235a 100644
--- a/mail/meta1/Makefile
+++ b/mail/meta1/Makefile
@@ -72,7 +72,7 @@ TLS_LDFLAGS= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/mail/pantomime/Makefile b/mail/pantomime/Makefile
index 953889e35531..42a069ddb3ac 100644
--- a/mail/pantomime/Makefile
+++ b/mail/pantomime/Makefile
@@ -24,7 +24,7 @@ DEFAULT_LIBVERSION= 1.3
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/mail/pfqueue/Makefile b/mail/pfqueue/Makefile
index 45c30fe5383e..c4f21721c889 100644
--- a/mail/pfqueue/Makefile
+++ b/mail/pfqueue/Makefile
@@ -21,7 +21,7 @@ INSTALL_TARGET= install-strip
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/mail/rmilter/Makefile b/mail/rmilter/Makefile
index ef22a1356216..f678a5f626a0 100644
--- a/mail/rmilter/Makefile
+++ b/mail/rmilter/Makefile
@@ -34,7 +34,7 @@ DKIM_CMAKE_OFF= -DENABLE_DKIM=OFF
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/math/libpoly/Makefile b/math/libpoly/Makefile
index 09cb3a214f0b..685d1a4b2f29 100644
--- a/math/libpoly/Makefile
+++ b/math/libpoly/Makefile
@@ -21,7 +21,7 @@ CMAKE_OFF= LIBPOLY_BUILD_PYTHON_API LIBPOLY_BUILD_STATIC LIBPOLY_BUILD_STATIC_PI
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=unused-but-set-variable
.endif
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index 3eb274c15f89..17328fd12fa8 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -132,7 +132,7 @@ CONFIGURE_ARGS+= --enable-debug
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/math/spooles/Makefile b/math/spooles/Makefile
index ab06eebca7fa..c8b002c4e35b 100644
--- a/math/spooles/Makefile
+++ b/math/spooles/Makefile
@@ -38,7 +38,7 @@ DOCS_DISTFILES= ${DISTNAME}${EXTRACT_SUFX} AllInOne.ps.gz Eigen.ps.gz \
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/misc/dynomite/Makefile b/misc/dynomite/Makefile
index cf0c9553e93d..899663cb3109 100644
--- a/misc/dynomite/Makefile
+++ b/misc/dynomite/Makefile
@@ -31,7 +31,7 @@ PLIST_FILES= bin/dynomite-hash-tool \
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/net-im/pidgin-fetion/Makefile b/net-im/pidgin-fetion/Makefile
index 29cecaa0a99b..c46d228eaa8f 100644
--- a/net-im/pidgin-fetion/Makefile
+++ b/net-im/pidgin-fetion/Makefile
@@ -25,7 +25,7 @@ PLIST_FILES= lib/purple-2/libfetion.so
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/net-mgmt/ipv6calc/Makefile b/net-mgmt/ipv6calc/Makefile
index f5cfe2d64bed..dccfcd5af307 100644
--- a/net-mgmt/ipv6calc/Makefile
+++ b/net-mgmt/ipv6calc/Makefile
@@ -22,7 +22,7 @@ SHEBANG_FILES= tools/*
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=deprecated-non-prototype
.endif
diff --git a/net-mgmt/nrpe3/Makefile b/net-mgmt/nrpe3/Makefile
index 8f1152e9ded9..324afabb16b8 100644
--- a/net-mgmt/nrpe3/Makefile
+++ b/net-mgmt/nrpe3/Makefile
@@ -68,7 +68,7 @@ SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/net-mgmt/send/Makefile b/net-mgmt/send/Makefile
index ef3e9932bde7..727bb7909f5d 100644
--- a/net-mgmt/send/Makefile
+++ b/net-mgmt/send/Makefile
@@ -30,7 +30,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/net-mgmt/tcptrack/Makefile b/net-mgmt/tcptrack/Makefile
index 286d4e32c1e6..2a0ea7a14b4a 100644
--- a/net-mgmt/tcptrack/Makefile
+++ b/net-mgmt/tcptrack/Makefile
@@ -20,7 +20,7 @@ PLIST_FILES= bin/tcptrack man/man1/tcptrack.1.gz
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=unused-but-set-variable
.endif
diff --git a/net-p2p/shx/Makefile b/net-p2p/shx/Makefile
index dc96afb8a465..afd77ac4853c 100644
--- a/net-p2p/shx/Makefile
+++ b/net-p2p/shx/Makefile
@@ -55,7 +55,7 @@ XMMS_CONFIGURE_ENABLE= xmms
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/net/asterisk16/Makefile b/net/asterisk16/Makefile
index 896c82523a9c..67f413434bd5 100644
--- a/net/asterisk16/Makefile
+++ b/net/asterisk16/Makefile
@@ -188,7 +188,7 @@ PJSIP_VERSION= 2.12.1
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
USES+= llvm:max=14
CPP= clang-cpp${LLVM_VERSION}
CC= clang${LLVM_VERSION}
diff --git a/net/asterisk18/Makefile b/net/asterisk18/Makefile
index 3e18e68a68a8..0997a72ad3b1 100644
--- a/net/asterisk18/Makefile
+++ b/net/asterisk18/Makefile
@@ -219,7 +219,7 @@ PJSIP_VERSION= 2.13
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
USES+= llvm:max=14
CPP= clang-cpp${LLVM_VERSION}
CC= clang${LLVM_VERSION}
diff --git a/net/gq/Makefile b/net/gq/Makefile
index 0a27cedf1f93..513cc231f6e1 100644
--- a/net/gq/Makefile
+++ b/net/gq/Makefile
@@ -43,7 +43,7 @@ DND_CONFIGURE_ENABLE= browser-dns
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
BROKEN= Fails to build with OpenSSL 1.1.1t and later
BROKEN_SSL= base openssl openssl30 openssl31
BROKEN_SSL_REASON= Fails to build with OpenSSL 1.1.1t and later
diff --git a/net/guacamole-server/Makefile b/net/guacamole-server/Makefile
index 5f1025f1012d..2b7f026daaa2 100644
--- a/net/guacamole-server/Makefile
+++ b/net/guacamole-server/Makefile
@@ -89,7 +89,7 @@ WEBP_LIB_DEPENDS= libwebp.so:graphics/webp
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=strict-prototypes \
-Wno-error=unused-but-set-variable
.endif
diff --git a/net/honeyd/Makefile b/net/honeyd/Makefile
index 7d15af738314..849ff0abfeab 100644
--- a/net/honeyd/Makefile
+++ b/net/honeyd/Makefile
@@ -36,7 +36,7 @@ CONFIGURE_ARGS+= --without-python
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CPPFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/net/libexosip2/Makefile b/net/libexosip2/Makefile
index 6a4b7c1fa406..7ca41b0a7f02 100644
--- a/net/libexosip2/Makefile
+++ b/net/libexosip2/Makefile
@@ -28,7 +28,7 @@ LIBS+= -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/net/libproxy/Makefile b/net/libproxy/Makefile
index 8ca3a19384b2..881f5be95934 100644
--- a/net/libproxy/Makefile
+++ b/net/libproxy/Makefile
@@ -55,7 +55,7 @@ RUN_DEPENDS+= libproxy-pacrunner>=${DISTVERSION}:net/libproxy-pacrunner
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${LIBPROXY_SLAVE:Mperl}
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/net/libtnl/Makefile b/net/libtnl/Makefile
index 8c4e90bae211..4eb65b06e6dc 100644
--- a/net/libtnl/Makefile
+++ b/net/libtnl/Makefile
@@ -25,7 +25,7 @@ WRKSRC= ${WRKDIR}/tnl/tnl
.include <bsd.port.pre.mk>
-.if defined(NO_PROFILE) || defined(NOPROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 )
+.if defined(NO_PROFILE) || defined(NOPROFILE) || ( ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )))
PLIST_SUB+= PROFILE='@comment '
.else
PLIST_SUB+= PROFILE=''
diff --git a/net/p5-Net-TCLink/Makefile b/net/p5-Net-TCLink/Makefile
index b64094d8d4e2..b9f05abfd0c2 100644
--- a/net/p5-Net-TCLink/Makefile
+++ b/net/p5-Net-TCLink/Makefile
@@ -20,7 +20,7 @@ LDFLAGS+= -L${OPENSSLLIB}
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/net/pichi/Makefile b/net/pichi/Makefile
index bb4a70029fb2..ec5cd5ec8a96 100644
--- a/net/pichi/Makefile
+++ b/net/pichi/Makefile
@@ -79,7 +79,7 @@ USES+= ssl
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=unqualified-std-cast-call
.endif
diff --git a/net/radsecproxy/Makefile b/net/radsecproxy/Makefile
index da603163ff6d..8831a304c4cf 100644
--- a/net/radsecproxy/Makefile
+++ b/net/radsecproxy/Makefile
@@ -22,7 +22,7 @@ CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE}
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=strict-prototypes
.endif
diff --git a/net/tn5250/Makefile b/net/tn5250/Makefile
index ea39e5adbe2a..94a5fb39d062 100644
--- a/net/tn5250/Makefile
+++ b/net/tn5250/Makefile
@@ -21,7 +21,7 @@ INSTALL_TARGET= install-strip
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/print/magicfilter/Makefile b/print/magicfilter/Makefile
index a48840de882e..a992cc2f23fe 100644
--- a/print/magicfilter/Makefile
+++ b/print/magicfilter/Makefile
@@ -26,7 +26,7 @@ CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/science/gtamsanalyzer/Makefile b/science/gtamsanalyzer/Makefile
index cf73bb6fc7cc..367cc66790a3 100644
--- a/science/gtamsanalyzer/Makefile
+++ b/science/gtamsanalyzer/Makefile
@@ -18,7 +18,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/Source
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/security/identify/Makefile b/security/identify/Makefile
index f1bc75162bde..5c423ec65411 100644
--- a/security/identify/Makefile
+++ b/security/identify/Makefile
@@ -18,7 +18,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/security/lasso/Makefile b/security/lasso/Makefile
index 7c905078e384..59f7b2fa8a3e 100644
--- a/security/lasso/Makefile
+++ b/security/lasso/Makefile
@@ -36,7 +36,7 @@ PYTHON_CONFIGURE_ENABLE= python
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/security/libprelude/Makefile b/security/libprelude/Makefile
index 36a5611f875c..ce8537411f86 100644
--- a/security/libprelude/Makefile
+++ b/security/libprelude/Makefile
@@ -36,7 +36,7 @@ PERL_CONFIGURE_WITH= perl=${PERL}
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/security/monkeysphere/Makefile b/security/monkeysphere/Makefile
index 17e4c372f059..2bf0fb742e29 100644
--- a/security/monkeysphere/Makefile
+++ b/security/monkeysphere/Makefile
@@ -36,7 +36,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=strict-prototypes
.endif
diff --git a/security/opencryptoki/Makefile b/security/opencryptoki/Makefile
index d2b72801240d..420b194a4293 100644
--- a/security/opencryptoki/Makefile
+++ b/security/opencryptoki/Makefile
@@ -45,7 +45,7 @@ GROUPS= _pkcs11
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/security/p5-Crypt-OpenSSL-PKCS10/Makefile b/security/p5-Crypt-OpenSSL-PKCS10/Makefile
index 84f9d5bf08ee..de5933117042 100644
--- a/security/p5-Crypt-OpenSSL-PKCS10/Makefile
+++ b/security/p5-Crypt-OpenSSL-PKCS10/Makefile
@@ -19,7 +19,7 @@ MAKE_ARGS+= PASTHRU_INC=-I${OPENSSLINC}
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/security/py-python-axolotl-curve25519/Makefile b/security/py-python-axolotl-curve25519/Makefile
index be5753626fe8..df3d870d2d3c 100644
--- a/security/py-python-axolotl-curve25519/Makefile
+++ b/security/py-python-axolotl-curve25519/Makefile
@@ -16,7 +16,7 @@ USE_PYTHON= autoplist distutils
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/security/starttls/Makefile b/security/starttls/Makefile
index f364e8077546..b257f7aa5314 100644
--- a/security/starttls/Makefile
+++ b/security/starttls/Makefile
@@ -18,7 +18,7 @@ CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE}
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/sysutils/fluent-bit/Makefile b/sysutils/fluent-bit/Makefile
index 7515112d58db..8456bf2d5d5e 100644
--- a/sysutils/fluent-bit/Makefile
+++ b/sysutils/fluent-bit/Makefile
@@ -48,7 +48,7 @@ USES+= compiler:gcc-c++11-lib
USES+= compiler:c11
.endif
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/textproc/augeas/Makefile b/textproc/augeas/Makefile
index b2ea1b26e647..ef9107cefc1b 100644
--- a/textproc/augeas/Makefile
+++ b/textproc/augeas/Makefile
@@ -24,7 +24,7 @@ LENSESDIR= ${PREFIX}/share/augeas/lenses
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+=-Wno-error=int-conversion
.endif
diff --git a/textproc/jshon/Makefile b/textproc/jshon/Makefile
index ce3d55ee3778..2b750965305f 100644
--- a/textproc/jshon/Makefile
+++ b/textproc/jshon/Makefile
@@ -26,7 +26,7 @@ ZSH_PLIST_FILES= share/zsh/site-functions/jshon_zsh_completion
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=strict-prototypes
.endif
diff --git a/textproc/p5-XML-Bare/Makefile b/textproc/p5-XML-Bare/Makefile
index 61124fb1d52e..c802d99ae172 100644
--- a/textproc/p5-XML-Bare/Makefile
+++ b/textproc/p5-XML-Bare/Makefile
@@ -17,7 +17,7 @@ USE_PERL5= configure
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/www/libdatachannel/Makefile b/www/libdatachannel/Makefile
index df5ddf8acb81..c217901cec18 100644
--- a/www/libdatachannel/Makefile
+++ b/www/libdatachannel/Makefile
@@ -26,7 +26,7 @@ CMAKE_ON= USE_SYSTEM_SRTP NO_EXAMPLES NO_TESTS
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=unused-but-set-variable \
-Wno-error=strict-prototypes
.endif
diff --git a/www/mod_auth_mysql2/Makefile b/www/mod_auth_mysql2/Makefile
index e5adb7be31ac..1d48bd26a6e0 100644
--- a/www/mod_auth_mysql2/Makefile
+++ b/www/mod_auth_mysql2/Makefile
@@ -28,7 +28,7 @@ OPENSSL_VARS= AP_EXTRAS+=-DMYSQL_USE_SSL
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
AP_EXTRAS+= '-Wc, -Wno-error=int-conversion'
.endif
diff --git a/www/p5-HTTP-MHTTP/Makefile b/www/p5-HTTP-MHTTP/Makefile
index 072db8c072bc..d1061a98b19e 100644
--- a/www/p5-HTTP-MHTTP/Makefile
+++ b/www/p5-HTTP-MHTTP/Makefile
@@ -22,7 +22,7 @@ MAKE_JOBS_UNSAFE= yes
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/www/sogo/Makefile b/www/sogo/Makefile
index 0812982f874e..5c80eef2ff0c 100644
--- a/www/sogo/Makefile
+++ b/www/sogo/Makefile
@@ -59,7 +59,7 @@ SUB_LIST+= GNUSTEP_LOCAL_TOOLS=${GNUSTEP_LOCAL_TOOLS} \
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CPPFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/www/trafficserver/Makefile b/www/trafficserver/Makefile
index d3780f89db3e..949e53723bfc 100644
--- a/www/trafficserver/Makefile
+++ b/www/trafficserver/Makefile
@@ -76,7 +76,7 @@ post-patch:
@${REINPLACE_CMD} -e 's/#ifdef HAVE_EVENTFD/#if defined(HAVE_EVENTFD) \&\& TS_USE_EPOLL == 1/' \
${WRKSRC}/src/tscore/EventNotify.cc \
${WRKSRC}/include/tscore/EventNotify.h
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
@${REINPLACE_CMD} -e 's/std::nullptr_t/nullptr_t/g' \
${WRKSRC}/include/tscore/Ptr.h
.endif
diff --git a/www/varnish6/Makefile b/www/varnish6/Makefile
index b1d993b18f40..e4a38740c946 100644
--- a/www/varnish6/Makefile
+++ b/www/varnish6/Makefile
@@ -49,7 +49,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=deprecated-non-prototype
.endif
diff --git a/www/wget2/Makefile b/www/wget2/Makefile
index 638e102ed096..f8117e614ffb 100644
--- a/www/wget2/Makefile
+++ b/www/wget2/Makefile
@@ -103,7 +103,7 @@ BZIP2_CONFIGURE_WITH= bzip2
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/x11-toolkits/rep-gtk2/Makefile b/x11-toolkits/rep-gtk2/Makefile
index f4342027914a..23a86abf4d3a 100644
--- a/x11-toolkits/rep-gtk2/Makefile
+++ b/x11-toolkits/rep-gtk2/Makefile
@@ -26,7 +26,7 @@ PLIST_FILES= include/rep-gtk/rep-gtk.h lib/rep/gui/gtk-2/gtk.a \
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/x11-toolkits/swt/Makefile b/x11-toolkits/swt/Makefile
index a41cc26309e9..f631314ee607 100644
--- a/x11-toolkits/swt/Makefile
+++ b/x11-toolkits/swt/Makefile
@@ -52,7 +52,7 @@ post-extract:
@${CP} ${FILESDIR}/*.css ${WRKSRC}/org/eclipse/swt/internal/gtk/
post-patch:
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
${REINPLACE_CMD} -e 's|-DGTK|-DGTK -Wno-error=deprecated-non-prototype|g' \
${WRKSRC}/make_freebsd.mak
.endif
diff --git a/x11-toolkits/xbae/Makefile b/x11-toolkits/xbae/Makefile
index 20ab9e68ba30..2cae21c5393f 100644
--- a/x11-toolkits/xbae/Makefile
+++ b/x11-toolkits/xbae/Makefile
@@ -26,7 +26,7 @@ INSTALL_TARGET= install-strip
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/x11/kitty/Makefile b/x11/kitty/Makefile
index ee92438fd5d7..1be55ed442a7 100644
--- a/x11/kitty/Makefile
+++ b/x11/kitty/Makefile
@@ -72,7 +72,7 @@ _EMPTY_DIRS= kittens/choose kittens/diff kittens/unicode_input kittens kitty
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=invalid-utf8 -Winvalid-utf8
.endif
diff --git a/x11/libsx/Makefile b/x11/libsx/Makefile
index e62de199e1e9..0cacd53c17eb 100644
--- a/x11/libsx/Makefile
+++ b/x11/libsx/Makefile
@@ -20,7 +20,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
diff --git a/x11/xdtm/Makefile b/x11/xdtm/Makefile
index 0fea9014de61..43a0fbc85ad7 100644
--- a/x11/xdtm/Makefile
+++ b/x11/xdtm/Makefile
@@ -19,7 +19,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif