aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2026-03-05 20:06:49 +0000
committerRene Ladan <rene@FreeBSD.org>2026-05-07 21:47:29 +0000
commit2a7c0561200c6cf9d0c0252cd4a7ab446eca8e4a (patch)
treea405889b26b94321a8886605c61785250ba83802
parentaf218a4ee29a6b999b647da7263011a6ec9f6785 (diff)
all: drop support for FreeBSD 13, mips and risc64sf
Reviewed by: many (*) Differential Revision: https://reviews.freebsd.org/D55624 Differential Revision: https://reviews.freebsd.org/D55642 (merged in from bofh) many (*) acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka nobutaka pkubaj se tagattie thj Anton Saietskii GenericRikka Gert Doering Jan Bramkamp Oleh Hushchenkov Oleksandr Kryvulia Ralf van der Enden Yamagi desktop kde python tcltk office
-rw-r--r--Mk/Features/ssp.mk3
-rw-r--r--Mk/Uses/qt-dist.mk2
-rw-r--r--accessibility/hyprsunset/Makefile2
-rw-r--r--archivers/lxqt-archiver/Makefile8
-rw-r--r--archivers/py-borgbackup/Makefile16
-rw-r--r--archivers/py-borgbackup/files/acl_extended_file_np.c83
-rw-r--r--archivers/py-borgbackup/files/extrapatch-setup.py11
-rw-r--r--astro/openuniverse/Makefile9
-rw-r--r--audio/ardour/Makefile12
-rw-r--r--audio/ardour/pkg-plist4
-rw-r--r--audio/denemo/Makefile2
-rw-r--r--audio/id3lib/Makefile3
-rw-r--r--audio/ncmpcpp/Makefile6
-rw-r--r--audio/pipewire-spa-oss/Makefile2
-rw-r--r--audio/siren/Makefile3
-rw-r--r--audio/xmcd/Makefile2
-rw-r--r--benchmarks/libmicro/Makefile1
-rw-r--r--biology/avida/Makefile2
-rw-r--r--biology/btllib/Makefile2
-rw-r--r--biology/bwa/Makefile4
-rw-r--r--biology/canu/Makefile2
-rw-r--r--biology/hhsuite/Makefile2
-rw-r--r--biology/metaeuk/Makefile2
-rw-r--r--biology/migrate/Makefile1
-rw-r--r--biology/minimap2/Makefile2
-rw-r--r--biology/mmseqs2/Makefile2
-rw-r--r--biology/plink/Makefile2
-rw-r--r--biology/preseq/Makefile2
-rw-r--r--biology/salmon/Makefile2
-rw-r--r--biology/star/Makefile2
-rw-r--r--cad/astk-serveur/Makefile2
-rw-r--r--cad/fritzing/Makefile8
-rw-r--r--cad/gnucap/Makefile3
-rw-r--r--cad/opencascade/Makefile2
-rw-r--r--comms/librs232/Makefile2
-rw-r--r--comms/mgetty+sendfax/Makefile1
-rw-r--r--comms/snap7/files/patch-mips__bsd.mk15
-rw-r--r--comms/uhd/Makefile4
-rw-r--r--converters/iconv/Makefile2
-rw-r--r--databases/db18/Makefile2
-rw-r--r--databases/kyotocabinet/Makefile3
-rw-r--r--databases/ldb25/Makefile2
-rw-r--r--databases/ldb28/Makefile2
-rw-r--r--databases/ldb29/Makefile2
-rw-r--r--databases/libcouchbase/Makefile2
-rw-r--r--databases/postgresql-plv8js/Makefile2
-rw-r--r--databases/soci/Makefile2
-rw-r--r--devel/aarch64-none-elf-gcc/Makefile3
-rw-r--r--devel/avr-gcc/Makefile2
-rw-r--r--devel/bcc/Makefile2
-rw-r--r--devel/binutils/Makefile9
-rw-r--r--devel/boost-all/compiled.mk3
-rw-r--r--devel/boost-libs/Makefile2
-rw-r--r--devel/cjose/Makefile2
-rw-r--r--devel/cpu_features/Makefile4
-rw-r--r--devel/critcl/Makefile2
-rw-r--r--devel/cxxtools/Makefile8
-rw-r--r--devel/cxxtools/pkg-plist2
-rw-r--r--devel/dbus/Makefile8
-rw-r--r--devel/efivar/Makefile1
-rw-r--r--devel/folly/Makefile1
-rw-r--r--devel/gcc-arm-embedded/Makefile2
-rw-r--r--devel/hyprwire/Makefile6
-rw-r--r--devel/judy/Makefile3
-rw-r--r--devel/kunifiedpush/Makefile2
-rw-r--r--devel/libdistance/Makefile2
-rw-r--r--devel/libhoard/Makefile3
-rw-r--r--devel/libmtrie/Makefile2
-rw-r--r--devel/libruin/Makefile3
-rw-r--r--devel/libvex/Makefile2
-rw-r--r--devel/lightning/Makefile2
-rw-r--r--devel/llvm-cheri/Makefile2
-rw-r--r--devel/llvm-cheriot/Makefile2
-rw-r--r--devel/llvm12/Makefile4
-rw-r--r--devel/llvm13/Makefile4
-rw-r--r--devel/llvm14/Makefile4
-rw-r--r--devel/llvm15/Makefile4
-rw-r--r--devel/llvm16/Makefile4
-rw-r--r--devel/llvm17/Makefile4
-rw-r--r--devel/llvm18/Makefile4
-rw-r--r--devel/llvm19/Makefile4
-rw-r--r--devel/llvm20/Makefile4
-rw-r--r--devel/llvm21/Makefile4
-rw-r--r--devel/llvm22/Makefile4
-rw-r--r--devel/love/Makefile2
-rw-r--r--devel/mongo-c-driver/Makefile2
-rw-r--r--devel/notcurses/Makefile11
-rw-r--r--devel/objconv/Makefile2
-rw-r--r--devel/ocaml-extlib/Makefile2
-rw-r--r--devel/p5-Data-MessagePack-Stream/Makefile3
-rw-r--r--devel/pcre/Makefile1
-rw-r--r--devel/pcre2/Makefile2
-rw-r--r--devel/pecl-grpc/Makefile3
-rw-r--r--devel/pickle/Makefile2
-rw-r--r--devel/py-greenlet/Makefile3
-rw-r--r--devel/radare2/Makefile2
-rw-r--r--devel/skalibs/Makefile2
-rw-r--r--devel/tex-libtexluajit/Makefile2
-rw-r--r--dns/dnsdist/Makefile11
-rw-r--r--dns/dog/Makefile2
-rw-r--r--editors/libreoffice/Makefile5
-rw-r--r--emulators/mesen/Makefile2
-rw-r--r--emulators/ppsspp/Makefile2
-rw-r--r--filesystems/fusefs-libs3/files/extra-patch-test_meson.build15
-rw-r--r--filesystems/py-libzfs/Makefile5
-rw-r--r--finance/fabric/Makefile2
-rw-r--r--french/aster/Makefile2
-rw-r--r--ftp/fastdfs/Makefile3
-rw-r--r--games/anki/Makefile2
-rw-r--r--games/crafty/Makefile2
-rw-r--r--games/flightgear-data/Makefile2
-rw-r--r--games/freecell-solver/Makefile1
-rw-r--r--games/gcompris-qt/Makefile2
-rw-r--r--games/lmpc/Makefile2
-rw-r--r--games/openrct2/Makefile2
-rw-r--r--games/regoth/Makefile1
-rw-r--r--games/ufoai-data/Makefile2
-rw-r--r--games/urbanterror-data/Makefile3
-rw-r--r--games/xoids/Makefile3
-rw-r--r--graphics/R-cran-s2/Makefile2
-rw-r--r--graphics/drm-515-kmod/Makefile4
-rw-r--r--graphics/drm-61-kmod/Makefile3
-rw-r--r--graphics/drm-66-kmod/Makefile2
-rw-r--r--graphics/drm-latest-kmod/Makefile2
-rw-r--r--graphics/dspdfviewer/Makefile2
-rw-r--r--graphics/exiv2/Makefile3
-rw-r--r--graphics/freeimage/Makefile3
-rw-r--r--graphics/gdchart/Makefile2
-rw-r--r--graphics/gifsicle/Makefile3
-rw-r--r--graphics/mozjpeg/Makefile2
-rw-r--r--graphics/ttyplot/Makefile2
-rw-r--r--graphics/wings/Makefile2
-rw-r--r--irc/undernet-ircu/Makefile4
-rw-r--r--japanese/man/Makefile2
-rw-r--r--japanese/mecab/Makefile3
-rw-r--r--japanese/mozc-server/Makefile1
-rw-r--r--java/openjdk11/Makefile5
-rw-r--r--java/openjdk17/Makefile2
-rw-r--r--java/openjdk23/Makefile1
-rw-r--r--lang/dotnet/Makefile7
-rw-r--r--lang/ecl/Makefile3
-rw-r--r--lang/erlang-runtime22/Makefile2
-rw-r--r--lang/erlang-runtime23/Makefile2
-rw-r--r--lang/f2c/Makefile3
-rw-r--r--lang/gauche/Makefile2
-rw-r--r--lang/inko/Makefile2
-rw-r--r--lang/luajit-openresty/Makefile4
-rw-r--r--lang/mono6.8/Makefile2
-rw-r--r--lang/mosh/Makefile1
-rw-r--r--lang/mosml/Makefile2
-rw-r--r--lang/opencoarrays/Makefile2
-rw-r--r--lang/opensycl/Makefile1
-rw-r--r--lang/perl5-devel/Makefile3
-rw-r--r--lang/perl5.38/Makefile3
-rw-r--r--lang/perl5.40/Makefile3
-rw-r--r--lang/perl5.42/Makefile3
-rw-r--r--lang/php82/Makefile3
-rw-r--r--lang/php83/Makefile3
-rw-r--r--lang/php84/Makefile3
-rw-r--r--lang/php85/Makefile3
-rw-r--r--lang/python27/Makefile2
-rw-r--r--lang/swift510/Makefile8
-rw-r--r--lang/swipl/Makefile2
-rw-r--r--mail/fetchmail/Makefile2
-rw-r--r--mail/rmilter/Makefile3
-rw-r--r--math/colpack/Makefile2
-rw-r--r--math/gecode/Makefile2
-rw-r--r--math/gmp/Makefile4
-rw-r--r--math/gretl/Makefile2
-rw-r--r--math/lean4/Makefile1
-rw-r--r--math/lp_solve/Makefile2
-rw-r--r--math/onednn/Makefile2
-rw-r--r--math/onednn252/Makefile2
-rw-r--r--math/pari/Makefile2
-rw-r--r--misc/free42/files/patch-gtk_build-intel-lib.sh4
-rw-r--r--misc/libpostal/Makefile3
-rw-r--r--misc/mtx/Makefile6
-rw-r--r--misc/mtx/files/patch-mtx.h358
-rw-r--r--misc/mtx/files/patch-mtx1.c (renamed from misc/mtx/files/extra-patch-FreeBSD_14)359
-rw-r--r--misc/qman/Makefile11
-rw-r--r--misc/thrill/Makefile2
-rw-r--r--multimedia/ab25/Makefile8
-rw-r--r--multimedia/ffmpeg3/Makefile2
-rw-r--r--multimedia/gst123/Makefile9
-rw-r--r--multimedia/lms/Makefile7
-rw-r--r--multimedia/oscam/Makefile8
-rw-r--r--multimedia/ossia-score/Makefile1
-rw-r--r--multimedia/tsduck/Makefile2
-rw-r--r--net-im/kaccounts-integration/Makefile6
-rw-r--r--net-im/prosody/Makefile8
-rw-r--r--net-im/prosody/files/freebsd-13-patches/patch-spec_util__crypto__spec.lua35
-rw-r--r--net-im/prosody/files/freebsd-13-patches/patch-util-src_crypto.c171
-rw-r--r--net-mgmt/andwatch/Makefile2
-rw-r--r--net-mgmt/ipfixcol2/Makefile6
-rw-r--r--net-mgmt/net-snmp/Makefile3
-rw-r--r--net-mgmt/ocsinventory-agent/Makefile2
-rw-r--r--net-mgmt/p5-FusionInventory-Agent/Makefile1
-rw-r--r--net-p2p/hostd/Makefile2
-rw-r--r--net-p2p/ncdc/Makefile6
-rw-r--r--net-p2p/qbittorrent/Makefile7
-rw-r--r--net-p2p/renterd/Makefile2
-rw-r--r--net-p2p/tremotesf/Makefile11
-rw-r--r--net-p2p/walletd/Makefile2
-rw-r--r--net/aoe/Makefile1
-rw-r--r--net/asterisk20/Makefile2
-rw-r--r--net/asterisk22/Makefile2
-rw-r--r--net/bctoolbox/Makefile6
-rw-r--r--net/bird2/Makefile10
-rw-r--r--net/bird2/files/extra-patch-netlink-route/patch-sysdep_bsd-netlink_netlink-route.h370
-rw-r--r--net/bird2/files/extra-patch-netlink-route/patch-sysdep_bsd-netlink_netlink-sys.h10
-rw-r--r--net/cloud-init/Makefile2
-rw-r--r--net/delegate/Makefile3
-rw-r--r--net/eternalterminal/Makefile2
-rw-r--r--net/gotify-server/Makefile8
-rw-r--r--net/hsflowd/Makefile3
-rw-r--r--net/kdenetwork-filesharing/Makefile7
-rw-r--r--net/librdkafka/Makefile3
-rw-r--r--net/libusrsctp/Makefile7
-rw-r--r--net/messagelib/Makefile2
-rw-r--r--net/openmpi/Makefile2
-rw-r--r--net/openmpi4/Makefile2
-rw-r--r--net/openvswitch/Makefile2
-rw-r--r--net/p5-Net-AMQP-RabbitMQ/Makefile3
-rw-r--r--net/pvm/Makefile2
-rw-r--r--net/realtek-rge-kmod/Makefile2
-rw-r--r--net/relayd/files/patch-share_mk_bsd.own.mk2
-rw-r--r--net/samba416/Makefile2
-rw-r--r--net/samba419/Makefile2
-rw-r--r--net/samba420/Makefile2
-rw-r--r--net/samba422/Makefile2
-rw-r--r--net/samba423/Makefile2
-rw-r--r--net/tcplog_dumper/Makefile2
-rw-r--r--net/vpp/Makefile2
-rw-r--r--net/wifi-firmware-kmod/Makefile.inc7
-rw-r--r--net/wifibox-core/Makefile10
-rw-r--r--net/wifibox-core/pkg-plist1
-rw-r--r--ports-mgmt/pkg-devel/Makefile2
-rw-r--r--ports-mgmt/pkg-provides/Makefile2
-rw-r--r--security/cyrus-sasl2/Makefile1
-rw-r--r--security/cyrus-sasl2/Makefile.common2
-rw-r--r--security/ftimes/Makefile1
-rw-r--r--security/git-crypt/Makefile2
-rw-r--r--security/gost-engine/Makefile2
-rw-r--r--security/helib/Makefile2
-rw-r--r--security/kanidm/Makefile1
-rw-r--r--security/libhijack/Makefile1
-rw-r--r--security/libp11/Makefile9
-rw-r--r--security/libp11/pkg-plist4
-rw-r--r--security/nettle/Makefile5
-rw-r--r--security/nmap-devel/Makefile5
-rw-r--r--security/nmap/Makefile5
-rw-r--r--security/openssl-oqsprovider/Makefile6
-rw-r--r--security/openssl-unsafe/Makefile2
-rw-r--r--security/openssl/Makefile2
-rw-r--r--security/openssl34/Makefile2
-rw-r--r--security/openssl35/Makefile2
-rw-r--r--security/openssl36/Makefile2
-rw-r--r--security/openvpn-devel/Makefile1
-rw-r--r--security/openvpn/Makefile1
-rw-r--r--security/opie/Makefile2
-rw-r--r--security/osv-scanner/Makefile2
-rw-r--r--security/p11-kit/Makefile4
-rw-r--r--security/p5-Crypt-Curve25519/Makefile3
-rw-r--r--security/p5-Crypt-RHash/Makefile2
-rw-r--r--security/p5-Digest-GOST/Makefile2
-rw-r--r--security/pam_ssh_agent_auth/Makefile2
-rw-r--r--security/pgpin/Makefile1
-rw-r--r--security/picocrypt/Makefile2
-rw-r--r--security/rcracki_mt/Makefile2
-rw-r--r--security/samhain/Makefile3
-rw-r--r--security/softether5/Makefile3
-rw-r--r--security/sudo/Makefile2
-rw-r--r--security/tclsasl/Makefile2
-rw-r--r--security/tpm2-openssl/Makefile2
-rw-r--r--security/vaultwarden/Makefile1
-rw-r--r--sysutils/arc_summary/Makefile10
-rw-r--r--sysutils/arc_summary/distinfo2
-rw-r--r--sysutils/barrier/Makefile2
-rw-r--r--sysutils/bhyvemgr/Makefile2
-rw-r--r--sysutils/cmogstored/Makefile3
-rw-r--r--sysutils/deskflow/Makefile2
-rw-r--r--sysutils/dmidecode/Makefile2
-rw-r--r--sysutils/flashrom/Makefile1
-rw-r--r--sysutils/fluent-bit/Makefile3
-rw-r--r--sysutils/fwupd/Makefile2
-rw-r--r--sysutils/inxi/Makefile2
-rw-r--r--sysutils/mbgtools/Makefile2
-rw-r--r--sysutils/nut-devel/Makefile1
-rw-r--r--sysutils/nut/Makefile1
-rw-r--r--sysutils/p5-Unix-Processors/Makefile3
-rw-r--r--sysutils/py-pywatchman/Makefile3
-rw-r--r--sysutils/radeontop/Makefile2
-rw-r--r--sysutils/runit/Makefile3
-rw-r--r--sysutils/slurm-wlm/Makefile2
-rw-r--r--sysutils/tmux/Makefile13
-rw-r--r--sysutils/twa-kmod/Makefile1
-rw-r--r--sysutils/watchman/Makefile3
-rw-r--r--sysutils/zidrav/Makefile2
-rw-r--r--textproc/es-hunspell/Makefile2
-rw-r--r--textproc/es-hyphen/Makefile2
-rw-r--r--textproc/htmldoc/Makefile2
-rw-r--r--textproc/kmfl-european-latin/Makefile2
-rw-r--r--textproc/libucl/Makefile3
-rw-r--r--textproc/nunnimcax/Makefile2
-rw-r--r--textproc/py-ufal.udpipe/Makefile2
-rw-r--r--www/bozohttpd/Makefile2
-rw-r--r--www/cpp-httplib/Makefile2
-rw-r--r--www/gatling/Makefile3
-rw-r--r--www/mod_auth_gssapi/Makefile6
-rw-r--r--www/py-adblock/Makefile2
-rw-r--r--www/qt5-webengine/Makefile4
-rw-r--r--www/sogo2/Makefile1
-rw-r--r--www/tomcat-native2/Makefile2
-rw-r--r--www/w3m/Makefile2
-rw-r--r--x11-toolkits/aquamarine/Makefile6
-rw-r--r--x11-toolkits/hyprtoolkit/Makefile6
-rw-r--r--x11-wm/dwm/Makefile2
-rw-r--r--x11-wm/hyprland/Makefile6
-rw-r--r--x11-wm/sway/Makefile4
-rw-r--r--x11-wm/swayfx/Makefile4
-rw-r--r--x11/contour/Makefile5
-rw-r--r--x11/kde-gear/Makefile1
-rw-r--r--x11/kitty/Makefile12
-rw-r--r--x11/nvidia-kmod/Makefile4
-rw-r--r--x11/pixman/Makefile8
-rw-r--r--x11/plasma6-plasma-workspace/Makefile2
-rw-r--r--x11/squeekboard/Makefile2
-rw-r--r--x11/swayimg/Makefile6
-rw-r--r--x11/wmenu/Makefile8
-rw-r--r--x11/xdg-desktop-portal-wlr/Makefile6
-rw-r--r--x11/xfce4-goodies/Makefile1
331 files changed, 533 insertions, 1911 deletions
diff --git a/Mk/Features/ssp.mk b/Mk/Features/ssp.mk
index b6be18ce35e8..31069b3d0273 100644
--- a/Mk/Features/ssp.mk
+++ b/Mk/Features/ssp.mk
@@ -12,8 +12,7 @@
_SSP_MK_INCLUDED= yes
SSP_Include_MAINTAINER= portmgr@FreeBSD.org
-. if !defined(SSP_UNSAFE) && \
- (! ${ARCH:Mmips*})
+. if !defined(SSP_UNSAFE)
# Overridable as a user may want to use -fstack-protector-all
SSP_CFLAGS?= -fstack-protector-strong
CFLAGS+= ${SSP_CFLAGS}
diff --git a/Mk/Uses/qt-dist.mk b/Mk/Uses/qt-dist.mk
index 309513fdda63..4fdbc8587bde 100644
--- a/Mk/Uses/qt-dist.mk
+++ b/Mk/Uses/qt-dist.mk
@@ -265,7 +265,7 @@ _EXTRA_PATCHES_QT5= ${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_fe
${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_features_qt__module.prf \
${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_common_bsd_bsd.conf \
${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_freebsd-clang_qmake.conf
-. if ${ARCH:Mmips*} || (${ARCH:Mpowerpc*} && !exists(/usr/bin/clang))
+. if ${ARCH:Mpowerpc*} && !exists(/usr/bin/clang)
_EXTRA_PATCHES_QT5+= ${PORTSDIR}/devel/${_QT_RELNAME}/files/extra-patch-mkspecs_common_g++-base.conf \
${PORTSDIR}/devel/${_QT_RELNAME}/files/extra-patch-mkspecs_common_gcc-base.conf \
${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_freebsd-g++_qmake.conf
diff --git a/accessibility/hyprsunset/Makefile b/accessibility/hyprsunset/Makefile
index 6dc928094dd2..b037f27b2330 100644
--- a/accessibility/hyprsunset/Makefile
+++ b/accessibility/hyprsunset/Makefile
@@ -11,8 +11,6 @@ WWW= https://github.com/hyprwm/hyprsunset
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_13= fails to build: /usr/local/include/date/date.h:6636:15: error: no member named 'read' in namespace 'date::detail'; did you mean '::read'?
-
BUILD_DEPENDS= hyprwayland-scanner>=0.4.0:devel/hyprwayland-scanner \
hyprland-protocols>=0.4.0:graphics/hyprland-protocols \
wayland-protocols>0:graphics/wayland-protocols
diff --git a/archivers/lxqt-archiver/Makefile b/archivers/lxqt-archiver/Makefile
index e2d922fb7fb3..5943433f290b 100644
--- a/archivers/lxqt-archiver/Makefile
+++ b/archivers/lxqt-archiver/Makefile
@@ -23,10 +23,4 @@ USE_QT= tools:build base:run
USE_LXQT= buildtools2 libfmqt6 lxqt
USE_XORG= xcb
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 1400504
-RUN_DEPENDS+= unzip:archivers/unzip
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/archivers/py-borgbackup/Makefile b/archivers/py-borgbackup/Makefile
index 10af723e4f2d..66d0c3d0af95 100644
--- a/archivers/py-borgbackup/Makefile
+++ b/archivers/py-borgbackup/Makefile
@@ -38,20 +38,6 @@ OPTIONS_DEFAULT= FUSE
FUSE_DESC= Support to mount locally borg backup files
FUSE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}llfuse>0:filesystems/py-llfuse@${PY_FLAVOR}
-.include <bsd.port.pre.mk>
-
-.if (${OPSYS} == FreeBSD) && ${OSVERSION} < 1400033 # why 1400033?
-# 1. check for the OLDEST (last in list) history entry on the file, when it was added:
-# git -C /usr/src hist lib/libc/posix1e/acl_extended_file_np.c
-# 2. check for the version you have obtained what __FreeBSD_version was
-# and increment by one. This is inaccurate for the interim between file addition
-# and __FreeBSD_version bump back then, but those versions were no releases and
-# should no longer be in the field.
-EXTRA_PATCHES += ${FILESDIR}/extrapatch-setup.py
-post-patch:
- ${CP} ${FILESDIR}/acl_extended_file_np.c ${WRKSRC}/src/borg/platform/
-.endif
-
_BORGHOME=${WRKDIR}/testhome
_BORGENV=-i BORG_PASSPHRASE=secret123 PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} HOME=${_BORGHOME}
post-install:
@@ -87,4 +73,4 @@ do-test:
# the PATH dance works around a strange "pkg-config" file not found error.
cd ${WRKSRC} && ${SETENV} ${_BORGENV} PATH=${PATH}:${LOCALBASE}/bin tox-${PYTHON_VER} -e ${PY_FLAVOR} -vv
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/archivers/py-borgbackup/files/acl_extended_file_np.c b/archivers/py-borgbackup/files/acl_extended_file_np.c
deleted file mode 100644
index 269ceeb56fe7..000000000000
--- a/archivers/py-borgbackup/files/acl_extended_file_np.c
+++ /dev/null
@@ -1,83 +0,0 @@
-/*-
- * SPDX-License-Identifier: BSD-2-Clause
- *
- * Copyright (c) 2021 Gleb Popov
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-/* taken from FreeBSD src branch as of 559a218c9b25 Wed Nov 1 16:43:37 2023 -0600 */
-/*
- * acl_extended_file_np: Check if the file has extended ACLs set.
- */
-
-#include <sys/param.h>
-#include <sys/errno.h>
-#include <sys/acl.h>
-
-#include <unistd.h>
-
-typedef acl_t (*acl_get_func)(const char *, acl_type_t);
-typedef long (*pathconf_func)(const char *, int);
-
-static int
-_acl_extended_file(acl_get_func f, pathconf_func pathconf_f, const char* path_p);
-
-int
-acl_extended_file_np(const char *path_p)
-{
- return (_acl_extended_file(acl_get_file, pathconf, path_p));
-}
-
-int
-acl_extended_file_nofollow_np(const char *path_p)
-{
- return (_acl_extended_file(acl_get_link_np, lpathconf, path_p));
-}
-
-int
-acl_extended_link_np(const char *path_p)
-{
- return (_acl_extended_file(acl_get_link_np, lpathconf, path_p));
-}
-
-int
-_acl_extended_file(acl_get_func acl_get, pathconf_func pathconf_f, const char* path_p)
-{
- acl_t acl;
- int retval, istrivial, acltype = ACL_TYPE_ACCESS;
-
- retval = pathconf_f(path_p, _PC_ACL_NFS4);
- if (retval > 0)
- acltype = ACL_TYPE_NFS4;
-
- acl = acl_get(path_p, acltype);
- if (acl == NULL)
- return (-1);
-
- retval = acl_is_trivial_np(acl, &istrivial);
- acl_free(acl);
- if (retval == -1)
- return (-1);
-
- return (!istrivial);
-}
diff --git a/archivers/py-borgbackup/files/extrapatch-setup.py b/archivers/py-borgbackup/files/extrapatch-setup.py
deleted file mode 100644
index f0128d2bb589..000000000000
--- a/archivers/py-borgbackup/files/extrapatch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig 2024-07-02 22:06:38 UTC
-+++ setup.py
-@@ -181,7 +181,7 @@ if not on_rtd:
- syncfilerange_ext = Extension(
- "borg.platform.syncfilerange", [platform_syncfilerange_source], extra_compile_args=cflags
- )
-- freebsd_ext = Extension("borg.platform.freebsd", [platform_freebsd_source], extra_compile_args=cflags)
-+ freebsd_ext = Extension("borg.platform.freebsd", [platform_freebsd_source, 'src/borg/platform/acl_extended_file_np.c'], extra_compile_args=cflags)
- darwin_ext = Extension("borg.platform.darwin", [platform_darwin_source], extra_compile_args=cflags)
- windows_ext = Extension("borg.platform.windows", [platform_windows_source], extra_compile_args=cflags)
-
diff --git a/astro/openuniverse/Makefile b/astro/openuniverse/Makefile
index 044fea401d05..6f26b43df742 100644
--- a/astro/openuniverse/Makefile
+++ b/astro/openuniverse/Makefile
@@ -17,13 +17,6 @@ USE_GL= gl glu glut
USE_XORG= ice sm x11 xext xi xmu xorgproto
GNU_CONFIGURE= yes
-
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS}_${OSREL:R} == FreeBSD_13
-LIBS+= -lcompat
-.else
LIBS+= -lutil
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/ardour/Makefile b/audio/ardour/Makefile
index b9014cb13054..7b5c870f17cd 100644
--- a/audio/ardour/Makefile
+++ b/audio/ardour/Makefile
@@ -113,14 +113,4 @@ post-install:
post-install-VST3-on:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/ardour-vst3-scanner
-.include <bsd.port.pre.mk>
-
-# Some peripheral libraries are only built with libusb-1.0 >= 1.0.16
-.if ${OPSYS} == FreeBSD && \
- (1500000 <= ${OSVERSION} && ${OSVERSION} <= 1500019)
-PLIST_SUB+= LIBUSB="@comment "
-.else
-PLIST_SUB+= LIBUSB=""
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/ardour/pkg-plist b/audio/ardour/pkg-plist
index 6d4e251041fb..adc4ae80cf5c 100644
--- a/audio/ardour/pkg-plist
+++ b/audio/ardour/pkg-plist
@@ -92,7 +92,7 @@ lib/%%ARDOUR_MAJOR%%/panners/libpanvbap.so
lib/%%ARDOUR_MAJOR%%/sanityCheck
lib/%%ARDOUR_MAJOR%%/surfaces/libardour_cc121.so
lib/%%ARDOUR_MAJOR%%/surfaces/libardour_console1.so
-%%LIBUSB%%lib/%%ARDOUR_MAJOR%%/surfaces/libardour_contourdesign.so
+lib/%%ARDOUR_MAJOR%%/surfaces/libardour_contourdesign.so
lib/%%ARDOUR_MAJOR%%/surfaces/libardour_faderport.so
lib/%%ARDOUR_MAJOR%%/surfaces/libardour_faderport16.so
lib/%%ARDOUR_MAJOR%%/surfaces/libardour_faderport2.so
@@ -105,7 +105,7 @@ lib/%%ARDOUR_MAJOR%%/surfaces/libardour_launchpad_pro.so
lib/%%ARDOUR_MAJOR%%/surfaces/libardour_launchpad_x.so
lib/%%ARDOUR_MAJOR%%/surfaces/libardour_mcp.so
lib/%%ARDOUR_MAJOR%%/surfaces/libardour_osc.so
-%%LIBUSB%%lib/%%ARDOUR_MAJOR%%/surfaces/libardour_push2.so
+lib/%%ARDOUR_MAJOR%%/surfaces/libardour_push2.so
lib/%%ARDOUR_MAJOR%%/surfaces/libardour_ssl_uf8.so
lib/%%ARDOUR_MAJOR%%/surfaces/libardour_us2400.so
lib/%%ARDOUR_MAJOR%%/surfaces/libardour_websockets.so
diff --git a/audio/denemo/Makefile b/audio/denemo/Makefile
index 3dd14cc6f44d..057668c533f4 100644
--- a/audio/denemo/Makefile
+++ b/audio/denemo/Makefile
@@ -10,8 +10,6 @@ WWW= http://www.denemo.org/
LICENSE= GPLv3+
-BROKEN_mips= fails to package: tar: Pathname cannot be converted from UTF-8 to current locale
-
LIB_DEPENDS= libaubio.so:audio/aubio \
libfluidsynth.so:audio/fluidsynth \
libjack.so:audio/jack \
diff --git a/audio/id3lib/Makefile b/audio/id3lib/Makefile
index 6feeb9e2aec6..a607a96264d7 100644
--- a/audio/id3lib/Makefile
+++ b/audio/id3lib/Makefile
@@ -11,9 +11,6 @@ WWW= https://github.com/thekhalifa/id3lib \
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_mips= fails to link: '_ZTSN12_GLOBAL__N_117ConstIteratorImplE' referenced in section '.data.rel.ro' of tag.lo: defined in discarded section
-BROKEN_mips64= fails to link: '_ZTSN12_GLOBAL__N_117ConstIteratorImplE' referenced in section '.data.rel.ro' of tag.lo: defined in discarded section
-
USES= cmake compiler:c11 cpe iconv pkgconfig
CMAKE_OFF= WITH_DOCS WITH_TESTS
diff --git a/audio/ncmpcpp/Makefile b/audio/ncmpcpp/Makefile
index 99762a5c1a52..c5109087518c 100644
--- a/audio/ncmpcpp/Makefile
+++ b/audio/ncmpcpp/Makefile
@@ -50,12 +50,6 @@ VISUALIZER_LIB_DEPENDS= libfftw3.so:math/fftw3
VISUALIZER_CONFIGURE_ENABLE= visualizer
VISUALIZER_CONFIGURE_WITH= fftw
-.include <bsd.port.options.mk>
-
-.if ${OPSYS}_${OSREL:R} == FreeBSD_13
-CONFIGURE_ENV= ncursesw_CFLAGS="-L${NCURSESLIB}" ncursesw_LIBS="-lncursesw"
-.endif
-
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpcpp ${STAGEDIR}${PREFIX}/bin/
diff --git a/audio/pipewire-spa-oss/Makefile b/audio/pipewire-spa-oss/Makefile
index b83662aad2fb..5fb5308690ef 100644
--- a/audio/pipewire-spa-oss/Makefile
+++ b/audio/pipewire-spa-oss/Makefile
@@ -10,7 +10,7 @@ WWW= https://github.com/shkhln/pw-oss
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-ONLY_FOR_ARCHS= aarch64 amd64 riscv64 riscv64sf
+ONLY_FOR_ARCHS= aarch64 amd64 riscv64
LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire
diff --git a/audio/siren/Makefile b/audio/siren/Makefile
index f2ec7255bacf..77e9b4b9441c 100644
--- a/audio/siren/Makefile
+++ b/audio/siren/Makefile
@@ -11,9 +11,6 @@ WWW= https://www.kariliq.nl/siren/
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENCE
-BROKEN_mips= fails to configure: cannot find program /nxb-bin/usr/bin/cc
-BROKEN_mips64= fails to configure: cannot find program /nxb-bin/usr/bin/cc
-
USES= localbase:ldflags ncurses pkgconfig
HAS_CONFIGURE= yes
USE_CSTD= c99
diff --git a/audio/xmcd/Makefile b/audio/xmcd/Makefile
index 99f62bb9d706..ea777939dba3 100644
--- a/audio/xmcd/Makefile
+++ b/audio/xmcd/Makefile
@@ -8,8 +8,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Motif CD player
WWW= https://www.ibiblio.org/tkan/xmcd/
-BROKEN_mips64= Fails to compile: many undefined symbols in xorg.cf
-
LIB_DEPENDS+= libvorbis.so:audio/libvorbis \
libFLAC.so:audio/flac
RUN_DEPENDS+= lame:audio/lame
diff --git a/benchmarks/libmicro/Makefile b/benchmarks/libmicro/Makefile
index 5942d4219857..23b9000ad35f 100644
--- a/benchmarks/libmicro/Makefile
+++ b/benchmarks/libmicro/Makefile
@@ -8,7 +8,6 @@ COMMENT= Set of utilities to benchmark productivity of system calls
LICENSE= CDDL
-BROKEN_mips64= Fails to build: bin-mips64: no such file or directory
BROKEN_riscv64= Fails to build: bin-riscv64: no such file or directory
USES= gmake
diff --git a/biology/avida/Makefile b/biology/avida/Makefile
index a933fe8d50d1..5e6787f76e10 100644
--- a/biology/avida/Makefile
+++ b/biology/avida/Makefile
@@ -13,8 +13,6 @@ LICENSE= GPLv3
BROKEN_aarch64= invokes x86 assembler
BROKEN_armv6= invokes x86 assembler
BROKEN_armv7= invokes x86 assembler
-BROKEN_mips= invokes x86 assembler
-BROKEN_mips64= invokes x86 assembler
BROKEN_riscv64= invokes x86 assembler
USES= compiler:c11 cmake ncurses
diff --git a/biology/btllib/Makefile b/biology/btllib/Makefile
index 32eee1f92648..62223f1016c2 100644
--- a/biology/btllib/Makefile
+++ b/biology/btllib/Makefile
@@ -10,7 +10,7 @@ WWW= https://github.com/bcgsc/btllib
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc # temporary until https://github.com/bcgsc/btllib/issues/117 is fixed
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc # temporary until https://github.com/bcgsc/btllib/issues/117 is fixed
BUILD_DEPENDS= bash:shells/bash \
samtools:biology/samtools \
diff --git a/biology/bwa/Makefile b/biology/bwa/Makefile
index eacf6225f663..1c12dbd1792b 100644
--- a/biology/bwa/Makefile
+++ b/biology/bwa/Makefile
@@ -12,10 +12,6 @@ WWW= https://bio-bwa.sourceforge.net/ \
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-# Recheck these after 0.7.18 update
-BROKEN_mips= fails to compile: cc1: unrecognized command line option "-msse2"
-BROKEN_mips64= fails to compile: cc1: unrecognized command line option "-msse2"
-
BUILD_DEPENDS= simde>0:devel/simde
USES= gmake localbase perl5 shebangfix
diff --git a/biology/canu/Makefile b/biology/canu/Makefile
index 17c1de5bc649..ee78df2e8a4e 100644
--- a/biology/canu/Makefile
+++ b/biology/canu/Makefile
@@ -12,7 +12,7 @@ WWW= https://canu.readthedocs.io/
LICENSE= GPLv2
LICENSE_FILE= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/README.license.GPL
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc powerpcspe
NOT_FOR_ARCHS_REASON= Requires 64-bit processor
LIB_DEPENDS= libboost_regex.so:devel/boost-libs
diff --git a/biology/hhsuite/Makefile b/biology/hhsuite/Makefile
index 36bda4005cdb..4bcc116f6dd9 100644
--- a/biology/hhsuite/Makefile
+++ b/biology/hhsuite/Makefile
@@ -11,7 +11,7 @@ WWW= https://github.com/soedinglab/hh-suite
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe # not for 32-bit architectures, see https://github.com/soedinglab/hh-suite/issues/322#issuecomment-1264416293
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc powerpcspe # not for 32-bit architectures, see https://github.com/soedinglab/hh-suite/issues/322#issuecomment-1264416293
LIB_DEPENDS= libmpi.so:net/openmpi
diff --git a/biology/metaeuk/Makefile b/biology/metaeuk/Makefile
index 9db291c2eaba..4fa1a37a2cc4 100644
--- a/biology/metaeuk/Makefile
+++ b/biology/metaeuk/Makefile
@@ -10,7 +10,7 @@ WWW= https://github.com/soedinglab/metaeuk
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENCE.md
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc # 32-bit platforms produce wrong results based on https://github.com/soedinglab/metaeuk/issues/85#issuecomment-1888379107
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc # 32-bit platforms produce wrong results based on https://github.com/soedinglab/metaeuk/issues/85#issuecomment-1888379107
NOT_FOR_ARCHS+= powerpc64 # many modules produce wrong results on big-endian architectures
BUILD_DEPENDS= xxd:editors/vim
diff --git a/biology/migrate/Makefile b/biology/migrate/Makefile
index e65dd71ab5f2..56474226ad04 100644
--- a/biology/migrate/Makefile
+++ b/biology/migrate/Makefile
@@ -15,7 +15,6 @@ LICENSE_FILE= ${WRKSRC}/../README
# Waiting on build reports, 2024-03-27
#BROKEN_armv6= fails to build: make[2]: cannot open makefile
#BROKEN_armv7= fails to build: make[2]: cannot open makefile
-#BROKEN_mips= fails to build: make[2]: cannot open makefile
#BROKEN_riscv64= fails to build: make[2]: cannot open makefile
GNU_CONFIGURE= yes
diff --git a/biology/minimap2/Makefile b/biology/minimap2/Makefile
index dd10b6869afe..18fa010b086a 100644
--- a/biology/minimap2/Makefile
+++ b/biology/minimap2/Makefile
@@ -10,7 +10,7 @@ WWW= https://github.com/lh3/minimap2
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-NOT_FOR_ARCHS= i386 mips powerpc powerpcspe
+NOT_FOR_ARCHS= i386 powerpc powerpcspe
NOT_FOR_ARCHS_REASON= Requires 64-bit processor, except ARM NEON
BUILD_DEPENDS= simde>0:devel/simde
diff --git a/biology/mmseqs2/Makefile b/biology/mmseqs2/Makefile
index 99675e1f9180..17e450037c93 100644
--- a/biology/mmseqs2/Makefile
+++ b/biology/mmseqs2/Makefile
@@ -9,7 +9,7 @@ WWW= https://github.com/soedinglab/MMseqs2/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc powerpcspe
BUILD_DEPENDS= zstd>0:archivers/zstd
diff --git a/biology/plink/Makefile b/biology/plink/Makefile
index ca5cd584fc19..7637a5d28c18 100644
--- a/biology/plink/Makefile
+++ b/biology/plink/Makefile
@@ -11,7 +11,7 @@ WWW= https://www.cog-genomics.org/plink/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= aarch64 mips64 powerpc64
+NOT_FOR_ARCHS= aarch64 powerpc64
NOT_FOR_ARCHS_REASON= 64bit code requires SSE2 instructions
USES= gmake fortran
diff --git a/biology/preseq/Makefile b/biology/preseq/Makefile
index 5a3de8a5ea2c..68a11c680f53 100644
--- a/biology/preseq/Makefile
+++ b/biology/preseq/Makefile
@@ -11,7 +11,7 @@ WWW= https://github.com/smithlabcode/preseq
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc powerpcspe
NOT_FOR_ARCHS_REASON= 32-bit platforms are not useful for bioinformatics
LIB_DEPENDS= libhts.so:biology/htslib
diff --git a/biology/salmon/Makefile b/biology/salmon/Makefile
index c4f91d79f8d1..1b8fbd1b77a9 100644
--- a/biology/salmon/Makefile
+++ b/biology/salmon/Makefile
@@ -11,7 +11,7 @@ WWW= https://github.com/COMBINE-lab/salmon
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc powerpcspe
NOT_FOR_ARCHS_REASON= Requires 64-bit processor
# libtool and auto* are run manually in submodules, so don't put them in USES
diff --git a/biology/star/Makefile b/biology/star/Makefile
index 8e01f3198cd4..b89e1ccb823a 100644
--- a/biology/star/Makefile
+++ b/biology/star/Makefile
@@ -11,7 +11,7 @@ WWW= https://github.com/alexdobin/STAR
LICENSE= GPLv3
LICENSE_FILE= ${WRKDIR}/STAR-${DISTVERSION}/LICENSE
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc powerpcspe
NOT_FOR_ARCHS_REASON= Requires 64-bit processor
.if !exists(/usr/include/omp.h)
BROKEN= requires OpenMP support that is missing on this architecture
diff --git a/cad/astk-serveur/Makefile b/cad/astk-serveur/Makefile
index 8a61707efcad..a59348a28697 100644
--- a/cad/astk-serveur/Makefile
+++ b/cad/astk-serveur/Makefile
@@ -14,7 +14,7 @@ WWW= http://www.code-aster.org/
LICENSE= GPLv2
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc powerpcspe
NOT_FOR_ARCHS_REASON= ARG_MAX is too small for Code_Aster on 32 bits systems
#-----------------------------------------------------------------------
diff --git a/cad/fritzing/Makefile b/cad/fritzing/Makefile
index af2a9d9caf83..ba968c882fb3 100644
--- a/cad/fritzing/Makefile
+++ b/cad/fritzing/Makefile
@@ -50,10 +50,4 @@ post-install:
-f ${STAGEDIR}${DATADIR} \
-platform offscreen
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400000 && ${SSL_DEFAULT} == "base"
-IGNORE= Requires OpenSSL >= 3
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/cad/gnucap/Makefile b/cad/gnucap/Makefile
index fc3228c742f7..d095a0a5d015 100644
--- a/cad/gnucap/Makefile
+++ b/cad/gnucap/Makefile
@@ -11,9 +11,6 @@ WWW= http://www.gnucap.org/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_mips= defined in discarded section
-BROKEN_mips64= defined in discarded section
-
USES= gmake
USE_LDCONFIG= yes
diff --git a/cad/opencascade/Makefile b/cad/opencascade/Makefile
index bf68aa7280ea..3f9403e96efa 100644
--- a/cad/opencascade/Makefile
+++ b/cad/opencascade/Makefile
@@ -144,7 +144,7 @@ DOXYGEN_CMAKE_ON= -DBUILD_DOC_Overview:BOOL=ON \
.include <bsd.port.options.mk>
-.if ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == mips || ${ARCH} == powerpc || ${ARCH} == powerpcspe || ${ARCH} == "i386"
+.if ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == powerpc || ${ARCH} == powerpcspe || ${ARCH} == "i386"
BITS= 32
.else
BITS= 64
diff --git a/comms/librs232/Makefile b/comms/librs232/Makefile
index de950269b672..569621e67c67 100644
--- a/comms/librs232/Makefile
+++ b/comms/librs232/Makefile
@@ -22,7 +22,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
-.if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 )
+.if defined(NO_PROFILE) || ${OPSYS} == FreeBSD
PLIST_SUB+= PROFILE="@comment "
.else
PLIST_SUB+= PROFILE=""
diff --git a/comms/mgetty+sendfax/Makefile b/comms/mgetty+sendfax/Makefile
index 744e9b7cc700..aeee9fa0095e 100644
--- a/comms/mgetty+sendfax/Makefile
+++ b/comms/mgetty+sendfax/Makefile
@@ -12,7 +12,6 @@ WWW= http://mgetty.greenie.net/
LICENSE= GPLv2
BROKEN_aarch64= fails to compile: error: initializer element is not a compile-time constant
-BROKEN_mips64= fails to compile: error: initializer element is not a compile-time constant
BROKEN_riscv64= fails to compile: error: initializer element is not a compile-time constant
USES= cpe makeinfo perl5 shebangfix
diff --git a/comms/snap7/files/patch-mips__bsd.mk b/comms/snap7/files/patch-mips__bsd.mk
deleted file mode 100644
index 4bad042231ed..000000000000
--- a/comms/snap7/files/patch-mips__bsd.mk
+++ /dev/null
@@ -1,15 +0,0 @@
---- mips_bsd.mk.orig 2016-12-20 10:44:15 UTC
-+++ mips_bsd.mk
-@@ -0,0 +1,12 @@
-+##
-+## mips BSD based (FreeBSD etc.) Makefile
-+## Use gmake instead of make
-+##
-+TargetCPU :=mips
-+OS :=bsd
-+CXXFLAGS := -O3 -fPIC -pedantic
-+
-+# Standard part
-+
-+include common.mk
-+
diff --git a/comms/uhd/Makefile b/comms/uhd/Makefile
index 1726c9f3351a..bc4d9b85d023 100644
--- a/comms/uhd/Makefile
+++ b/comms/uhd/Makefile
@@ -34,10 +34,6 @@ USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= EttusResearch
-BROKEN_FreeBSD_13_aarch64= fails to configure: Could not find standard set_new_handler function
-BROKEN_FreeBSD_13_armv6= fails to configure: Could not find standard set_new_handler function
-BROKEN_FreeBSD_13_armv7= fails to configure: Could not find standard set_new_handler function
-
CMAKE_SOURCE_PATH= ${WRKSRC}/host
#CXXFLAGS_amd64= -msse2 -std=c++11
CXXFLAGS_i386= -msse2
diff --git a/converters/iconv/Makefile b/converters/iconv/Makefile
index d0bb4ba23494..b69db3593cf9 100644
--- a/converters/iconv/Makefile
+++ b/converters/iconv/Makefile
@@ -27,7 +27,7 @@ CCSUTIL_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-ccs_Makefile
.include <bsd.port.pre.mk>
-.if defined(NO_PROFILE) || ${OSVERSION} > 1400001
+.if defined(NO_PROFILE) || ${OPSYS} == FreeBSD
PLIST_SUB+= PROFILE="@comment "
.else
PLIST_SUB+= PROFILE=""
diff --git a/databases/db18/Makefile b/databases/db18/Makefile
index 4193f7007c5c..37296f458064 100644
--- a/databases/db18/Makefile
+++ b/databases/db18/Makefile
@@ -20,8 +20,6 @@ LICENSE_FILE_UPL10= ${WRKSRC}/../EXAMPLES-LICENSE
LICENSE_FILE= ${WRKSRC}/../LICENSE
LICENSE_PERMS_UPL10= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-BROKEN_mips64= no usable MUTEX implementation, assy works only for MIPS32, POSIX mutexes are unshared
-
USES= gmake libtool ssl
USE_LDCONFIG= yes
diff --git a/databases/kyotocabinet/Makefile b/databases/kyotocabinet/Makefile
index cd1bf2a5159e..cd5f853979b1 100644
--- a/databases/kyotocabinet/Makefile
+++ b/databases/kyotocabinet/Makefile
@@ -11,9 +11,6 @@ WWW= https://dbmx.net/kyotocabinet/
LICENSE= GPLv3
-BROKEN_mips= fails to link: hidden symbol '__sync_lock_test_and_set_8' in /usr/lib/libgcc.a(stdatomic.o) is referenced by DSO
-BROKEN_mips64= fails to link: hidden symbol '__sync_lock_test_and_set_8' in /usr/lib/libgcc.a(stdatomic.o) is referenced by DSO
-
USES= compiler:c++11-lang gmake
CPPFLAGS+= -fPIC
diff --git a/databases/ldb25/Makefile b/databases/ldb25/Makefile
index 06b6f727bd15..d0e869183f7c 100644
--- a/databases/ldb25/Makefile
+++ b/databases/ldb25/Makefile
@@ -69,7 +69,7 @@ LDB_LIBS= lib/libldb.so lib/libldb.so.2 lib/ldb/libldb-tdb-int.so \
lib/shared-modules/ldb/ldb.so lib/shared-modules/ldb/ldap.so \
lib/shared-modules/ldb/asq.so lib/shared-modules/ldb/tdb.so
# Only for 64-bit architectures
-.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != mips && \
+.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && \
${ARCH} != powerpc && ${ARCH} != powerpcspe
LDB_LIBS+= lib/ldb/libldb-mdb-int.so lib/shared-modules/ldb/mdb.so
.endif
diff --git a/databases/ldb28/Makefile b/databases/ldb28/Makefile
index 4ac8cfa3b290..a5aeddcbe98f 100644
--- a/databases/ldb28/Makefile
+++ b/databases/ldb28/Makefile
@@ -104,7 +104,7 @@ CONFIGURE_ARGS+= --enable-debug \
.endif
# Only for 64-bit architectures
-.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != mips && \
+.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && \
${ARCH} != powerpc && ${ARCH} != powerpcspe
_LDB_LIBS_64= lib/ldb/libldb-mdb-int.so lib/shared-modules/ldb/mdb.so
.endif
diff --git a/databases/ldb29/Makefile b/databases/ldb29/Makefile
index e9f56a9dcedf..285101a52a4e 100644
--- a/databases/ldb29/Makefile
+++ b/databases/ldb29/Makefile
@@ -104,7 +104,7 @@ CONFIGURE_ARGS+= --enable-debug \
.endif
# Only for 64-bit architectures
-.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != mips && \
+.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && \
${ARCH} != powerpc && ${ARCH} != powerpcspe
_LDB_LIBS_64= lib/ldb/libldb-mdb-int.so lib/shared-modules/ldb/mdb.so
.endif
diff --git a/databases/libcouchbase/Makefile b/databases/libcouchbase/Makefile
index 44c451af1c23..2d33b35756b9 100644
--- a/databases/libcouchbase/Makefile
+++ b/databases/libcouchbase/Makefile
@@ -10,8 +10,6 @@ WWW= https://docs.couchbase.com/c-sdk/current/hello-world/start-using-sdk.html
LICENSE= APACHE20
-BROKEN_mips64= fails to link: ld: failed to merge target specific data
-
LIB_DEPENDS= libev.so:devel/libev \
libevent.so:devel/libevent \
libuv.so:devel/libuv
diff --git a/databases/postgresql-plv8js/Makefile b/databases/postgresql-plv8js/Makefile
index 1bf31fc2b453..89095e267cf6 100644
--- a/databases/postgresql-plv8js/Makefile
+++ b/databases/postgresql-plv8js/Makefile
@@ -22,7 +22,7 @@ PLIST_SUB= PORTVERSION="${PORTVERSION}"
CXXFLAGS+= -std=c++17 -fno-rtti
# Only for 64-bit architectures
-.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != mips && ${ARCH} != powerpc && ${ARCH} != powerpcspe
+.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != powerpc && ${ARCH} != powerpcspe
CXXFLAGS+= -DV8_COMPRESS_POINTERS=1 -DV8_31BIT_SMIS_ON_64BIT_ARCH=1
.endif
MAKE_ARGS= CUSTOM_CC=${CXX} CCFLAGS="${CXXFLAGS}"
diff --git a/databases/soci/Makefile b/databases/soci/Makefile
index 42d05ce64ceb..9863ffb22b2b 100644
--- a/databases/soci/Makefile
+++ b/databases/soci/Makefile
@@ -27,8 +27,6 @@ OPTIONS_DEFAULT= BOOST FIREBIRD MYSQL ODBC PGSQL SQLITE
OPTIONS_EXCLUDE_aarch64= FIREBIRD
OPTIONS_EXCLUDE_armv6= FIREBIRD
OPTIONS_EXCLUDE_armv7= FIREBIRD
-OPTIONS_EXCLUDE_mips= FIREBIRD
-OPTIONS_EXCLUDE_mips64= FIREBIRD
OPTIONS_EXCLUDE_powerpc= FIREBIRD
OPTIONS_EXCLUDE_powerpc64= FIREBIRD
OPTIONS_EXCLUDE_powerpc64le= FIREBIRD
diff --git a/devel/aarch64-none-elf-gcc/Makefile b/devel/aarch64-none-elf-gcc/Makefile
index a347f73bfa2c..dbc898bba0e0 100644
--- a/devel/aarch64-none-elf-gcc/Makefile
+++ b/devel/aarch64-none-elf-gcc/Makefile
@@ -12,9 +12,6 @@ WWW= https://gcc.gnu.org/
LICENSE= GPLv3 GPLv3RLE
LICENSE_COMB= multi
-BROKEN_mips= configure: error: cannot compute suffix of object files: cannot compile
-BROKEN_mips64= configure: error: cannot compute suffix of object files: cannot compile
-
LIB_DEPENDS= libgmp.so:math/gmp \
libmpfr.so:math/mpfr \
libmpc.so:math/mpc
diff --git a/devel/avr-gcc/Makefile b/devel/avr-gcc/Makefile
index 66cc2d8a14d0..3c5136d3f85f 100644
--- a/devel/avr-gcc/Makefile
+++ b/devel/avr-gcc/Makefile
@@ -11,8 +11,6 @@ WWW= https://www.nongnu.org/avr-libc/
LICENSE= GPLv3 GPLv3RLE
LICENSE_COMB= multi
-BROKEN_mips64= Fails to configure: cannot compute suffix of object files
-
BUILD_DEPENDS= avr-as:devel/binutils@avr \
avr-ld:devel/binutils@avr \
objdump:devel/binutils
diff --git a/devel/bcc/Makefile b/devel/bcc/Makefile
index 6aef8904fc73..9f41a11df7c1 100644
--- a/devel/bcc/Makefile
+++ b/devel/bcc/Makefile
@@ -11,8 +11,6 @@ COMMENT= Bruce's C compiler (with as and ld); can do 16-bit code
LICENSE= GPLv2
BROKEN_aarch64= fails to link: error adding symbols: File in wrong format
-BROKEN_mips= fails to compile: unrecognized command line option "-m32"
-BROKEN_mips64= fails to compile: unrecognized command line option "-m32"
USES= uidfix
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index b0c45e7e0284..43d2d4bd84eb 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -21,7 +21,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.so:math/gmp \
LIB_DEPENDS= libzstd.so:archivers/zstd
FLAVORS= native aarch64 aarch64_none_elf amd64 arm_gnueabi arm_none_eabi \
- avr i386 mingw32 mips mips64 powerpc powerpc64 powerpc64le riscv64 \
+ avr i386 mingw32 powerpc powerpc64 powerpc64le riscv64 \
riscv64_none_elf s390x riscv32_unknown_elf
FLAVOR?= native
@@ -80,10 +80,7 @@ BUTARGET?= ${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL}
PLIST_SUB= BUTARGET=${BUTARGET}
INFO_PATH= ${PKGNAMEPREFIX:S/-$//}/share/info
-.if ${FLAVOR} == aarch64
-BROKEN_mips= fails to configure: error: C compiler cannot create executables
-BROKEN_mips64= fails to configure: error: C compiler cannot create executables
-.elif ${FLAVOR} == aarch64_none_elf || ${FLAVOR} == arm_none_eabi || ${FLAVOR} == riscv64_none_elf || ${FLAVOR} == mingw32 || ${FLAVOR} == avr || ${FLAVOR} == riscv32_unknown_elf
+.if ${FLAVOR} == aarch64_none_elf || ${FLAVOR} == arm_none_eabi || ${FLAVOR} == riscv64_none_elf || ${FLAVOR} == mingw32 || ${FLAVOR} == avr || ${FLAVOR} == riscv32_unknown_elf
BUTARGET= ${FLAVOR:C/_/-/g}
.elif ${FLAVOR} == amd64
BUTARGET= x86_64-unknown-${OPSYS:tl}${OSREL}
@@ -133,7 +130,7 @@ INFO_INFO= as \
.include <bsd.port.pre.mk>
# Actual earliest version may differ slightly
-.if (${ARCH} != mips && ${ARCH} != mips64 && ${ARCH} != powerpcspe && ${ARCH} != powerpc && ${ARCH} != powerpc64 && ${ARCH} != riscv64 && !defined(PKGNAMEPREFIX)) || ((${ARCH} == powerpc || ${ARCH} == powerpc64) && ${CHOSEN_COMPILER_TYPE} != gcc && !defined(PKGNAMEPREFIX))
+.if (${ARCH} != powerpcspe && ${ARCH} != powerpc && ${ARCH} != powerpc64 && ${ARCH} != riscv64 && !defined(PKGNAMEPREFIX)) || ((${ARCH} == powerpc || ${ARCH} == powerpc64) && ${CHOSEN_COMPILER_TYPE} != gcc && !defined(PKGNAMEPREFIX))
CONFIGURE_ARGS+= --enable-gold --enable-plugins
CXXFLAGS+= -Wno-c++11-narrowing
PLIST_SUB+= GOLD=""
diff --git a/devel/boost-all/compiled.mk b/devel/boost-all/compiled.mk
index 8c2122de507e..0f0fe2d8c93b 100644
--- a/devel/boost-all/compiled.mk
+++ b/devel/boost-all/compiled.mk
@@ -46,8 +46,7 @@ MAKE_ARGS+= pch=off
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && \
- ((${OSVERSION} >= 1500000 && ${OSVERSION} < 1500017) || \
- ${PORT_OPTIONS:MLLVM_FROM_PORTS})
+ ${PORT_OPTIONS:MLLVM_FROM_PORTS}
USES+= llvm:build
USES:= ${USES:Ncompiler\:*} # XXX avoid warnings
CHOSEN_COMPILER_TYPE= clang
diff --git a/devel/boost-libs/Makefile b/devel/boost-libs/Makefile
index 6d415f2bc288..6f711562a139 100644
--- a/devel/boost-libs/Makefile
+++ b/devel/boost-libs/Makefile
@@ -15,8 +15,6 @@ BUILD_DEPENDS+= bjam:devel/boost-jam
# Build of this port fails with assertion failure of compiler due to
# bug of LLVM/Clang in base system. The failure happens when all of
# following conditions are satisfied.
-# * OSVERSION is included in either of following ranges.
-# 1. 1500000 <= OSVERSION < 1500017
# * Base system is built with WITH_LLVM_ASSERTIONS variable set.
# So if your base system fulfills them you need to use LLVM ports to
# build this port.
diff --git a/devel/cjose/Makefile b/devel/cjose/Makefile
index 0d651156e019..ef782bfc3bfa 100644
--- a/devel/cjose/Makefile
+++ b/devel/cjose/Makefile
@@ -28,7 +28,7 @@ CONFIGURE_ARGS= --with-jansson=${PREFIX} --with-openssl=${OPENSSLBASE}
CFLAGS+= -Wno-error=strict-prototypes
.endif
-.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+.if ( ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
CFLAGS+= -Wno-error=deprecated-declarations
.endif
diff --git a/devel/cpu_features/Makefile b/devel/cpu_features/Makefile
index 876fb8f8d28b..2ef7c074780e 100644
--- a/devel/cpu_features/Makefile
+++ b/devel/cpu_features/Makefile
@@ -10,8 +10,8 @@ WWW= https://github.com/google/cpu_features
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= mips mips64 riscv64
-NOT_FOR_ARCHS_REASON= assumes android if on MIPS; not ported to riscv64
+NOT_FOR_ARCHS= riscv64
+NOT_FOR_ARCHS_REASON= not ported to riscv64
USES= cmake:testing
USE_GITHUB= yes
diff --git a/devel/critcl/Makefile b/devel/critcl/Makefile
index 920804e351c8..8ab764fb5493 100644
--- a/devel/critcl/Makefile
+++ b/devel/critcl/Makefile
@@ -20,7 +20,7 @@ GH_ACCOUNT= andreas-kupries
TEST_TARGET= test
PLIST_SUB= VER=${PORTVERSION} \
- ARCH=${ARCH:C/arm.*/arm/:S/i386/ix86/:S/aarch64/arm/:S/mips64/mips/:C/powerpc64.*/powerpc/}
+ ARCH=${ARCH:C/arm.*/arm/:S/i386/ix86/:S/aarch64/arm/:C/powerpc64.*/powerpc/}
PORTDOCS= *
diff --git a/devel/cxxtools/Makefile b/devel/cxxtools/Makefile
index ba0e519d7803..22a8df39cc3a 100644
--- a/devel/cxxtools/Makefile
+++ b/devel/cxxtools/Makefile
@@ -12,8 +12,6 @@ LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_aarch64= does not configure: error: check for atomictype failed
-BROKEN_mips= does not configure: in section .data.rel.ro of csvdeserializer-test.o: defined in discarded section
-BROKEN_mips64= does not configure: in section .data.rel.ro of csvdeserializer-test.o: defined in discarded section
BROKEN_riscv64= does not configure: error: check for atomictype failed
USES= cpe iconv libtool localbase pathfix
@@ -51,12 +49,6 @@ PLIST_SUB+= ARM_ONLY=""
PLIST_SUB+= ARM_ONLY="@comment "
.endif
-.if ${ARCH:Mmips*}
-PLIST_SUB+= MIPS_ONLY=""
-.else
-PLIST_SUB+= MIPS_ONLY="@comment "
-.endif
-
.if ${ARCH:Mpowerpc*}
PLIST_SUB+= PPC_ONLY=""
.else
diff --git a/devel/cxxtools/pkg-plist b/devel/cxxtools/pkg-plist
index 18ac808cb7e2..3fbb7173c547 100644
--- a/devel/cxxtools/pkg-plist
+++ b/devel/cxxtools/pkg-plist
@@ -32,7 +32,6 @@ include/cxxtools/argout.h
%%X86_64_ONLY%%include/cxxtools/atomicity.gcc.x86_64.h
%%I386_ONLY%%include/cxxtools/atomicity.gcc.x86.h
%%ARM_ONLY%%include/cxxtools/atomicity.gcc.arm.h
-%%MIPS_ONLY%%include/cxxtools/atomicity.gcc.mips.h
%%PPC_ONLY%%include/cxxtools/atomicity.gcc.ppc.h
include/cxxtools/atomicity.h
include/cxxtools/base64codec.h
@@ -126,7 +125,6 @@ include/cxxtools/membar.gcc.h
include/cxxtools/membar.gcc.nosmp.h
%%X86_ONLY%%include/cxxtools/membar.gcc.x86.h
%%ARM_ONLY%%include/cxxtools/membar.gcc.arm.h
-%%MIPS_ONLY%%include/cxxtools/membar.gcc.mips.h
%%PPC_ONLY%%include/cxxtools/membar.gcc.ppc.h
include/cxxtools/membar.h
include/cxxtools/method.h
diff --git a/devel/dbus/Makefile b/devel/dbus/Makefile
index 6568598ae99f..b1afc8920d33 100644
--- a/devel/dbus/Makefile
+++ b/devel/dbus/Makefile
@@ -79,10 +79,4 @@ post-install:
${MV} ${file} ${file}.sample
.endfor
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 1400000
-MESON_ARGS+= -Db_lundef=false
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/efivar/Makefile b/devel/efivar/Makefile
index 546f011ffd8f..92b0f5b27709 100644
--- a/devel/efivar/Makefile
+++ b/devel/efivar/Makefile
@@ -11,7 +11,6 @@ LICENSE= LGPL21
NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe
NOT_FOR_ARCHS_REASON= specification only supports little-endian processors
-BROKEN_FreeBSD_13= requires at least FreeBSD 14
BUILD_DEPENDS= gsed:textproc/gsed
LIB_DEPENDS= libpopt.so:devel/popt
diff --git a/devel/folly/Makefile b/devel/folly/Makefile
index 9a200ba5d621..167ac15b5687 100644
--- a/devel/folly/Makefile
+++ b/devel/folly/Makefile
@@ -10,7 +10,6 @@ WWW= https://github.com/facebook/folly
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_13= compilation fails: use of undeclared identifier 'clearenv'
BROKEN_i386= error: use of undeclared identifier 'DCHECK': https://github.com/facebook/folly/issues/1168
BROKEN_powerpc= compilation fails: Big endian requires a redesigned table (assert in folly/detail/base64_detail/Base64SWAR.cpp:107)
BROKEN_powerpc64= compilation fails: Big endian requires a redesigned table (assert in folly/detail/base64_detail/Base64SWAR.cpp:107)
diff --git a/devel/gcc-arm-embedded/Makefile b/devel/gcc-arm-embedded/Makefile
index 57d6c73c41a9..0e419dd846b6 100644
--- a/devel/gcc-arm-embedded/Makefile
+++ b/devel/gcc-arm-embedded/Makefile
@@ -12,7 +12,7 @@ WWW= https://developer.arm.com/Tools%20and%20Software/GNU%20Toolchain
LICENSE= GPLv2 LGPL20 LGPL21 GPLv3 LGPL3
LICENSE_COMB= multi
-NOT_FOR_ARCHS= arm armv6 armv7 mips mips64 mips64el mipsel mipsn32
+NOT_FOR_ARCHS= arm armv6 armv7
NOT_FOR_ARCHS_REASON= Very slow to build on emulator
BUILD_DEPENDS= bash:shells/bash \
diff --git a/devel/hyprwire/Makefile b/devel/hyprwire/Makefile
index 43a9de1496f7..bfee5b9cc7bf 100644
--- a/devel/hyprwire/Makefile
+++ b/devel/hyprwire/Makefile
@@ -28,12 +28,6 @@ PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
-# XXX Drop after FreeBSD 13.5 EOL around 2026-04-30
-# https://cgit.freebsd.org/src/commit/?id=af93fea71038
-.if !exists(/usr/include/sys/timerfd.h)
-LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
-.endif
-
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
diff --git a/devel/judy/Makefile b/devel/judy/Makefile
index b81558813481..3f156cdc26c6 100644
--- a/devel/judy/Makefile
+++ b/devel/judy/Makefile
@@ -10,9 +10,6 @@ WWW= https://judy.sourceforge.net/
LICENSE= LGPL21
-BROKEN_mips= fails to compile: unrecognized command line option "-m32"
-BROKEN_mips64= fails to compile: unrecognized command line option "-m64"
-
USES= gmake libtool
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
diff --git a/devel/kunifiedpush/Makefile b/devel/kunifiedpush/Makefile
index e405fe3bd2f1..3c970a42eba5 100644
--- a/devel/kunifiedpush/Makefile
+++ b/devel/kunifiedpush/Makefile
@@ -11,6 +11,4 @@ USE_KDE= coreaddons i18n kcmutils service solid \
ecm:build
USE_QT= base declarative websockets
-IGNORE_FreeBSD_13= does not build with OpenSSL 1.1.1
-
.include <bsd.port.mk>
diff --git a/devel/libdistance/Makefile b/devel/libdistance/Makefile
index 7db97305d32f..b3b9262264ff 100644
--- a/devel/libdistance/Makefile
+++ b/devel/libdistance/Makefile
@@ -23,7 +23,7 @@ CFLAGS+= -fPIC
.include <bsd.port.options.mk>
-.if defined(NOPROFILE) || defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 )
+.if defined(NOPROFILE) || defined(NO_PROFILE) || ${OPSYS} == FreeBSD
PLIST_SUB+= PROFILE="@comment "
.else
PLIST_SUB+= PROFILE=""
diff --git a/devel/libhoard/Makefile b/devel/libhoard/Makefile
index 3bf4f3074400..6666ecf75256 100644
--- a/devel/libhoard/Makefile
+++ b/devel/libhoard/Makefile
@@ -12,9 +12,6 @@ WWW= http://www.hoard.org/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/../COPYING
-BROKEN_mips= no spin lock implementation is available for this platform
-BROKEN_mips64= no spin lock implementation is available for this platform
-
WRKSRC= ${WRKDIR}/Hoard/src
MAKEFILE= GNUmakefile
USES= gmake compiler:c++14-lang
diff --git a/devel/libmtrie/Makefile b/devel/libmtrie/Makefile
index d8b7ff762422..e52ec07d0b95 100644
--- a/devel/libmtrie/Makefile
+++ b/devel/libmtrie/Makefile
@@ -14,7 +14,7 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
-.if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 )
+.if defined(NO_PROFILE) || ${OPSYS} == FreeBSD
PLIST_SUB+= HURRRR="@comment "
.else
PLIST_SUB+= HURRRR=""
diff --git a/devel/libruin/Makefile b/devel/libruin/Makefile
index d88265819255..f513d9e758ca 100644
--- a/devel/libruin/Makefile
+++ b/devel/libruin/Makefile
@@ -11,9 +11,6 @@ WWW= https://www.nongnu.org/libruin/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-NOT_FOR_ARCHS= mips
-NOT_FOR_ARCHS_REASON= glib needs GCC (not available for mips)
-
BUILD_DEPENDS= guile-lib-${GUILE_FLAVOR}>0:devel/guile-lib@${GUILE_FLAVOR}
RUN_DEPENDS= guile-lib-${GUILE_FLAVOR}>0:devel/guile-lib@${GUILE_FLAVOR}
diff --git a/devel/libvex/Makefile b/devel/libvex/Makefile
index fc483c397b53..585c8bbd93f5 100644
--- a/devel/libvex/Makefile
+++ b/devel/libvex/Makefile
@@ -21,7 +21,7 @@ WRKSRC_SUBDIR= VEX
MAKEFILE= Makefile-gcc
-CFLAGS+= -DVGA_${ARCH:S/i386/x86/:S/aarch64/arm/:S/powerpc64le/ppc64le/:S/powerpc64/ppc64/:S/powerpc/ppc32/:S/mips/mips64/}
+CFLAGS+= -DVGA_${ARCH:S/i386/x86/:S/aarch64/arm/:S/powerpc64le/ppc64le/:S/powerpc64/ppc64/:S/powerpc/ppc32/}
MAKE_ARGS= EXTRA_CFLAGS="${CFLAGS}"
diff --git a/devel/lightning/Makefile b/devel/lightning/Makefile
index c63196fde2a1..e5f5901e506f 100644
--- a/devel/lightning/Makefile
+++ b/devel/lightning/Makefile
@@ -10,7 +10,7 @@ WWW= https://www.gnu.org/software/lightning/
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
-ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 mips powerpc powerpc64 powerpc64le powerpcspe riscv64
+ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le powerpcspe riscv64
USES= cpe libtool pathfix
CPE_VENDOR= gnu
diff --git a/devel/llvm-cheri/Makefile b/devel/llvm-cheri/Makefile
index 87302325a1f4..3e675a965385 100644
--- a/devel/llvm-cheri/Makefile
+++ b/devel/llvm-cheri/Makefile
@@ -10,7 +10,7 @@ WWW?= https://cheri-cpu.org
.include "${.PARSEDIR}/../llvm-devel/Makefile.LICENSE"
-NOT_FOR_ARCHS= i386 armv6 armv7 powerpc mips
+NOT_FOR_ARCHS= i386 armv6 armv7 powerpc
NOT_FOR_ARCHS_REASON= No one will develop CHERI from 32-bit
LLVM_SUFFIX?= -cheri
diff --git a/devel/llvm-cheriot/Makefile b/devel/llvm-cheriot/Makefile
index 0fec983aa503..ce3bb201fea0 100644
--- a/devel/llvm-cheriot/Makefile
+++ b/devel/llvm-cheriot/Makefile
@@ -11,7 +11,7 @@ WWW= https://cheriot.org
.include "${.PARSEDIR}/../llvm-devel/Makefile.LICENSE"
-NOT_FOR_ARCHS= i386 armv6 armv7 powerpc mips
+NOT_FOR_ARCHS= i386 armv6 armv7 powerpc
NOT_FOR_ARCHS_REASON= No one will develop CHERI from 32-bit
LLVM_SUFFIX= -cheriot
diff --git a/devel/llvm12/Makefile b/devel/llvm12/Makefile
index 93898b358d60..c8f1967fc61f 100644
--- a/devel/llvm12/Makefile
+++ b/devel/llvm12/Makefile
@@ -264,7 +264,7 @@ CMAKE_ARGS+= -DLLVM_ENABLE_PROJECTS="${LLVM_ENABLE_PROJECTS:ts;}"
.include "${.CURDIR}/Makefile.COMMANDS"
.include "${.CURDIR}/Makefile.MAN1SRCS"
-_FREEBSD_BACKENDS= AArch64 ARM Mips PowerPC RISCV X86
+_FREEBSD_BACKENDS= AArch64 ARM PowerPC RISCV X86
FREEBSD_BACKENDS= ${_FREEBSD_BACKENDS}
.if ${ARCH} == amd64
_NATIVE_BACKENDS= X86
@@ -274,8 +274,6 @@ _NATIVE_BACKENDS= AArch64
_NATIVE_BACKENDS= ARM
.elif ${ARCH} == i386
_NATIVE_BACKENDS= X86
-.elif ${ARCH:Mmips*}
-_NATIVE_BACKENDS= Mips
.elif ${ARCH:Mpowerpc*}
_NATIVE_BACKENDS= PowerPC
.elif ${ARCH:Mriscv*}
diff --git a/devel/llvm13/Makefile b/devel/llvm13/Makefile
index 250699bf2eb0..d1a3c0c55525 100644
--- a/devel/llvm13/Makefile
+++ b/devel/llvm13/Makefile
@@ -301,7 +301,7 @@ CMAKE_ARGS+= -DLLVM_ENABLE_PROJECTS="${LLVM_ENABLE_PROJECTS:ts;}"
.include "${.CURDIR}/Makefile.COMMANDS"
.include "${.CURDIR}/Makefile.MAN1SRCS"
-_FREEBSD_BACKENDS= AArch64 ARM Mips PowerPC RISCV X86
+_FREEBSD_BACKENDS= AArch64 ARM PowerPC RISCV X86
FREEBSD_BACKENDS= ${_FREEBSD_BACKENDS}
.if ${ARCH} == amd64
_NATIVE_BACKENDS= X86
@@ -311,8 +311,6 @@ _NATIVE_BACKENDS= AArch64 ARM
_NATIVE_BACKENDS= ARM
.elif ${ARCH} == i386
_NATIVE_BACKENDS= X86
-.elif ${ARCH:Mmips*}
-_NATIVE_BACKENDS= Mips
.elif ${ARCH:Mpowerpc*}
_NATIVE_BACKENDS= PowerPC
.elif ${ARCH:Mriscv*}
diff --git a/devel/llvm14/Makefile b/devel/llvm14/Makefile
index ef1896238fb4..522d92bd405b 100644
--- a/devel/llvm14/Makefile
+++ b/devel/llvm14/Makefile
@@ -302,7 +302,7 @@ CMAKE_ARGS+= -DLLVM_ENABLE_PROJECTS="${LLVM_ENABLE_PROJECTS:ts;}"
.include "${.CURDIR}/Makefile.COMMANDS"
.include "${.CURDIR}/Makefile.MAN1SRCS"
-_FREEBSD_BACKENDS= AArch64 ARM Mips PowerPC RISCV X86
+_FREEBSD_BACKENDS= AArch64 ARM PowerPC RISCV X86
FREEBSD_BACKENDS= ${_FREEBSD_BACKENDS}
.if ${ARCH} == amd64
_NATIVE_BACKENDS= X86
@@ -312,8 +312,6 @@ _NATIVE_BACKENDS= AArch64 ARM
_NATIVE_BACKENDS= ARM
.elif ${ARCH} == i386
_NATIVE_BACKENDS= X86
-.elif ${ARCH:Mmips*}
-_NATIVE_BACKENDS= Mips
.elif ${ARCH:Mpowerpc*}
_NATIVE_BACKENDS= PowerPC
.elif ${ARCH:Mriscv*}
diff --git a/devel/llvm15/Makefile b/devel/llvm15/Makefile
index 9ff045804255..b595942ba26b 100644
--- a/devel/llvm15/Makefile
+++ b/devel/llvm15/Makefile
@@ -324,7 +324,7 @@ CMAKE_ARGS+= -DLLVM_ENABLE_PROJECTS="${LLVM_ENABLE_PROJECTS:ts;}"
.include "${.CURDIR}/Makefile.COMMANDS"
.include "${.CURDIR}/Makefile.MAN1SRCS"
-_FREEBSD_BACKENDS= AArch64 ARM Mips PowerPC RISCV X86
+_FREEBSD_BACKENDS= AArch64 ARM PowerPC RISCV X86
FREEBSD_BACKENDS= ${_FREEBSD_BACKENDS}
.if ${ARCH} == amd64
_NATIVE_BACKENDS= X86
@@ -334,8 +334,6 @@ _NATIVE_BACKENDS= AArch64 ARM
_NATIVE_BACKENDS= ARM
.elif ${ARCH} == i386
_NATIVE_BACKENDS= X86
-.elif ${ARCH:Mmips*}
-_NATIVE_BACKENDS= Mips
.elif ${ARCH:Mpowerpc*}
_NATIVE_BACKENDS= PowerPC
.elif ${ARCH:Mriscv*}
diff --git a/devel/llvm16/Makefile b/devel/llvm16/Makefile
index 5d392446e2ec..976bf428084e 100644
--- a/devel/llvm16/Makefile
+++ b/devel/llvm16/Makefile
@@ -330,7 +330,7 @@ CMAKE_ARGS+= -DLLVM_ENABLE_PROJECTS="${LLVM_ENABLE_PROJECTS:ts;}"
.include "${.CURDIR}/Makefile.COMMANDS"
.include "${.CURDIR}/Makefile.MAN1SRCS"
-_FREEBSD_BACKENDS= AArch64 ARM Mips PowerPC RISCV X86
+_FREEBSD_BACKENDS= AArch64 ARM PowerPC RISCV X86
FREEBSD_BACKENDS= ${_FREEBSD_BACKENDS}
.if ${ARCH} == amd64
_NATIVE_BACKENDS= X86
@@ -340,8 +340,6 @@ _NATIVE_BACKENDS= AArch64 ARM
_NATIVE_BACKENDS= ARM
.elif ${ARCH} == i386
_NATIVE_BACKENDS= X86
-.elif ${ARCH:Mmips*}
-_NATIVE_BACKENDS= Mips
.elif ${ARCH:Mpowerpc*}
_NATIVE_BACKENDS= PowerPC
.elif ${ARCH:Mriscv*}
diff --git a/devel/llvm17/Makefile b/devel/llvm17/Makefile
index 40ce82ecc6d5..7eb622bd2ece 100644
--- a/devel/llvm17/Makefile
+++ b/devel/llvm17/Makefile
@@ -334,7 +334,7 @@ CMAKE_ARGS+= -DLLVM_ENABLE_PROJECTS="${LLVM_ENABLE_PROJECTS:ts;}"
.include "${.CURDIR}/Makefile.COMMANDS"
.include "${.CURDIR}/Makefile.MAN1SRCS"
-_FREEBSD_BACKENDS= AArch64 ARM Mips PowerPC RISCV Sparc X86
+_FREEBSD_BACKENDS= AArch64 ARM PowerPC RISCV Sparc X86
FREEBSD_BACKENDS= ${_FREEBSD_BACKENDS}
.if ${ARCH} == amd64
_NATIVE_BACKENDS= X86
@@ -344,8 +344,6 @@ _NATIVE_BACKENDS= AArch64 ARM
_NATIVE_BACKENDS= ARM
.elif ${ARCH} == i386
_NATIVE_BACKENDS= X86
-.elif ${ARCH:Mmips*}
-_NATIVE_BACKENDS= Mips
.elif ${ARCH:Mpowerpc*}
_NATIVE_BACKENDS= PowerPC
.elif ${ARCH:Mriscv*}
diff --git a/devel/llvm18/Makefile b/devel/llvm18/Makefile
index b96afab3a2cd..b9297479f3d2 100644
--- a/devel/llvm18/Makefile
+++ b/devel/llvm18/Makefile
@@ -338,7 +338,7 @@ CMAKE_ARGS+= -DLLVM_ENABLE_PROJECTS="${LLVM_ENABLE_PROJECTS:ts;}"
.include "${.CURDIR}/Makefile.COMMANDS"
.include "${.CURDIR}/Makefile.MAN1SRCS"
-_FREEBSD_BACKENDS= AArch64 ARM Mips PowerPC RISCV Sparc X86
+_FREEBSD_BACKENDS= AArch64 ARM PowerPC RISCV Sparc X86
FREEBSD_BACKENDS= ${_FREEBSD_BACKENDS}
.if ${ARCH} == amd64
_NATIVE_BACKENDS= X86
@@ -348,8 +348,6 @@ _NATIVE_BACKENDS= AArch64 ARM
_NATIVE_BACKENDS= ARM
.elif ${ARCH} == i386
_NATIVE_BACKENDS= X86
-.elif ${ARCH:Mmips*}
-_NATIVE_BACKENDS= Mips
.elif ${ARCH:Mpowerpc*}
_NATIVE_BACKENDS= PowerPC
.elif ${ARCH:Mriscv*}
diff --git a/devel/llvm19/Makefile b/devel/llvm19/Makefile
index 17dd407bcb7e..554951f5e80a 100644
--- a/devel/llvm19/Makefile
+++ b/devel/llvm19/Makefile
@@ -355,7 +355,7 @@ CMAKE_ARGS+= -DLLVM_ENABLE_PROJECTS="${LLVM_ENABLE_PROJECTS:ts;}"
.include "${.CURDIR}/Makefile.COMMANDS"
.include "${.CURDIR}/Makefile.MAN1SRCS"
-_FREEBSD_BACKENDS= AArch64 ARM Mips PowerPC RISCV Sparc X86
+_FREEBSD_BACKENDS= AArch64 ARM PowerPC RISCV Sparc X86
FREEBSD_BACKENDS= ${_FREEBSD_BACKENDS}
.if ${ARCH} == amd64
_NATIVE_BACKENDS= X86
@@ -365,8 +365,6 @@ _NATIVE_BACKENDS= AArch64 ARM
_NATIVE_BACKENDS= ARM
.elif ${ARCH} == i386
_NATIVE_BACKENDS= X86
-.elif ${ARCH:Mmips*}
-_NATIVE_BACKENDS= Mips
.elif ${ARCH:Mpowerpc*}
_NATIVE_BACKENDS= PowerPC
.elif ${ARCH:Mriscv*}
diff --git a/devel/llvm20/Makefile b/devel/llvm20/Makefile
index 0aeb8976a6b6..1da9573d5eaf 100644
--- a/devel/llvm20/Makefile
+++ b/devel/llvm20/Makefile
@@ -361,7 +361,7 @@ CMAKE_ARGS+= -DLLVM_ENABLE_RUNTIMES="${LLVM_ENABLE_RUNTIMES:ts;}"
.include "${.CURDIR}/Makefile.COMMANDS"
.include "${.CURDIR}/Makefile.MAN1SRCS"
-_FREEBSD_BACKENDS= AArch64 ARM Mips PowerPC RISCV Sparc X86
+_FREEBSD_BACKENDS= AArch64 ARM PowerPC RISCV Sparc X86
FREEBSD_BACKENDS= ${_FREEBSD_BACKENDS}
.if ${ARCH} == amd64
_NATIVE_BACKENDS= X86
@@ -371,8 +371,6 @@ _NATIVE_BACKENDS= AArch64 ARM
_NATIVE_BACKENDS= ARM
.elif ${ARCH} == i386
_NATIVE_BACKENDS= X86
-.elif ${ARCH:Mmips*}
-_NATIVE_BACKENDS= Mips
.elif ${ARCH:Mpowerpc*}
_NATIVE_BACKENDS= PowerPC
.elif ${ARCH:Mriscv*}
diff --git a/devel/llvm21/Makefile b/devel/llvm21/Makefile
index a32cc5bf2558..56e4c6daf9bc 100644
--- a/devel/llvm21/Makefile
+++ b/devel/llvm21/Makefile
@@ -361,7 +361,7 @@ CMAKE_ARGS+= -DLLVM_ENABLE_RUNTIMES="${LLVM_ENABLE_RUNTIMES:ts;}"
.include "${.CURDIR}/Makefile.COMMANDS"
.include "${.CURDIR}/Makefile.MAN1SRCS"
-_FREEBSD_BACKENDS= AArch64 ARM Mips PowerPC RISCV Sparc X86
+_FREEBSD_BACKENDS= AArch64 ARM PowerPC RISCV Sparc X86
FREEBSD_BACKENDS= ${_FREEBSD_BACKENDS}
.if ${ARCH} == amd64
_NATIVE_BACKENDS= X86
@@ -371,8 +371,6 @@ _NATIVE_BACKENDS= AArch64 ARM
_NATIVE_BACKENDS= ARM
.elif ${ARCH} == i386
_NATIVE_BACKENDS= X86
-.elif ${ARCH:Mmips*}
-_NATIVE_BACKENDS= Mips
.elif ${ARCH:Mpowerpc*}
_NATIVE_BACKENDS= PowerPC
.elif ${ARCH:Mriscv*}
diff --git a/devel/llvm22/Makefile b/devel/llvm22/Makefile
index 85a693d86a38..5f17ba53b170 100644
--- a/devel/llvm22/Makefile
+++ b/devel/llvm22/Makefile
@@ -362,7 +362,7 @@ CMAKE_ARGS+= -DLLVM_ENABLE_RUNTIMES="${LLVM_ENABLE_RUNTIMES:ts;}"
.include "${.CURDIR}/Makefile.COMMANDS"
.include "${.CURDIR}/Makefile.MAN1SRCS"
-_FREEBSD_BACKENDS= AArch64 ARM Mips PowerPC RISCV Sparc X86
+_FREEBSD_BACKENDS= AArch64 ARM PowerPC RISCV Sparc X86
FREEBSD_BACKENDS= ${_FREEBSD_BACKENDS}
.if ${ARCH} == amd64
_NATIVE_BACKENDS= X86
@@ -372,8 +372,6 @@ _NATIVE_BACKENDS= AArch64 ARM
_NATIVE_BACKENDS= ARM
.elif ${ARCH} == i386
_NATIVE_BACKENDS= X86
-.elif ${ARCH:Mmips*}
-_NATIVE_BACKENDS= Mips
.elif ${ARCH:Mpowerpc*}
_NATIVE_BACKENDS= PowerPC
.elif ${ARCH:Mriscv*}
diff --git a/devel/love/Makefile b/devel/love/Makefile
index 9ea0aea17003..227ccdba5c64 100644
--- a/devel/love/Makefile
+++ b/devel/love/Makefile
@@ -12,7 +12,7 @@ WWW= https://www.love2d.org/
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/license.txt
-NOT_FOR_ARCHS= mips mips64 powerpc powerpc64 powerpcspe
+NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe
NOT_FOR_ARCHS_REASON= Hashing not yet implemented for big endian
LIB_DEPENDS= libmodplug.so:audio/libmodplug \
diff --git a/devel/mongo-c-driver/Makefile b/devel/mongo-c-driver/Makefile
index f2f82b6ef13d..020056936743 100644
--- a/devel/mongo-c-driver/Makefile
+++ b/devel/mongo-c-driver/Makefile
@@ -85,7 +85,7 @@ ZSTD_CMAKE_OFF= -DENABLE_ZSTD=OFF
CMAKE_ARGS+= -DENABLE_SSL=LIBRESSL
.endif
CMAKE_ARGS+= -DENABLE_SSL=OPENSSL
-.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+.if ( ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
CFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L
.endif
.endif
diff --git a/devel/notcurses/Makefile b/devel/notcurses/Makefile
index 1949857e75c7..c3c31ad72f83 100644
--- a/devel/notcurses/Makefile
+++ b/devel/notcurses/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \
libqrcodegen.so:graphics/qr-code-generator \
libunistring.so:devel/libunistring
-USES= cmake:noninja compiler:c++17-lang localbase pkgconfig
+USES= cmake:noninja compiler:c++17-lang localbase ncurses pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= dankamongmen
USE_LDCONFIG= yes
@@ -39,15 +39,6 @@ OPTIONS_SUB= yes
ABIVERSION= 3
-.include <bsd.port.options.mk>
-
-# ncursesw and tinfo >= 6.1 seem to be needed (see CMakeLists.txt:l104)
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400035
-USES+=ncurses:port
-.else
-USES+=ncurses
-.endif
-
post-patch-DOCS-off:
@${REINPLACE_CMD} -e 's|install(FILES $${MARKDOWN} DESTINATION $${CMAKE_INSTALL_DOCDIR})|#install(FILES $${MARKDOWN} DESTINATION $${CMAKE_INSTALL_DOCDIR})|' \
${WRKSRC}/CMakeLists.txt
diff --git a/devel/objconv/Makefile b/devel/objconv/Makefile
index 6bc397fe8de1..46f6eda826b2 100644
--- a/devel/objconv/Makefile
+++ b/devel/objconv/Makefile
@@ -10,7 +10,7 @@ WWW= https://www.agner.org/optimize
LICENSE= GPLv1
-NOT_FOR_ARCHS= mips mips64 powerpc powerpc64 powerpcspe
+NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe
NOT_FOR_ARCHS_REASON= source/maindef.h:71:5: This machine has big-endian memory organization. Objconv program will not work
USES= dos2unix zip
diff --git a/devel/ocaml-extlib/Makefile b/devel/ocaml-extlib/Makefile
index 25961255f1e5..17375f45dcc0 100644
--- a/devel/ocaml-extlib/Makefile
+++ b/devel/ocaml-extlib/Makefile
@@ -12,8 +12,6 @@ WWW= https://github.com/ygrek/ocaml-extlib
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/../LICENSE
-BROKEN_mips= depends on Ocaml(not available for mips)
-
BUILD_DEPENDS= cppo:devel/ocaml-cppo
USES= gmake ocaml:camlp4,findplist
diff --git a/devel/p5-Data-MessagePack-Stream/Makefile b/devel/p5-Data-MessagePack-Stream/Makefile
index cae5a104293d..0b61084b296b 100644
--- a/devel/p5-Data-MessagePack-Stream/Makefile
+++ b/devel/p5-Data-MessagePack-Stream/Makefile
@@ -8,9 +8,6 @@ MAINTAINER= perl@FreeBSD.org
COMMENT= Perl extension for yet another messagepack streaming deserializer
WWW= https://metacpan.org/release/Data-MessagePack-Stream
-BROKEN_mips= fails to build: atomic operations are not found
-BROKEN_mips64= fails to build: atomic operations are not found
-
BUILD_DEPENDS= p5-File-Which>=0:sysutils/p5-File-Which \
p5-Module-Build-XSUtil>=0:devel/p5-Module-Build-XSUtil \
${RUN_DEPENDS}
diff --git a/devel/pcre/Makefile b/devel/pcre/Makefile
index a1b75297c979..dbb8872797ae 100644
--- a/devel/pcre/Makefile
+++ b/devel/pcre/Makefile
@@ -38,7 +38,6 @@ OPTIONS_DEFAULT= MAN3 STACK_RECURSION
OPTIONS_DEFAULT_aarch64+= JIT
OPTIONS_DEFAULT_amd64+= JIT
OPTIONS_DEFAULT_i386+= JIT
-OPTIONS_DEFAULT_mips+= JIT
OPTIONS_DEFAULT_powerpc=JIT
OPTIONS_DEFAULT_powerpc64= JIT
OPTIONS_DEFAULT_powerpc64le= JIT
diff --git a/devel/pcre2/Makefile b/devel/pcre2/Makefile
index 742b9ee1ddb1..31a8968c69fe 100644
--- a/devel/pcre2/Makefile
+++ b/devel/pcre2/Makefile
@@ -48,7 +48,7 @@ STATIC_CMAKE_BOOL= BUILD_STATIC_LIBS
.include <bsd.port.options.mk>
-.if ${ARCH:Mmips64*} == "" && ${ARCH:Mriscv64*} == ""
+.if ${ARCH:Mriscv64*} == ""
CMAKE_ON+= PCRE2_SUPPORT_JIT
.else
CMAKE_OFF+= PCRE2_SUPPORT_JIT
diff --git a/devel/pecl-grpc/Makefile b/devel/pecl-grpc/Makefile
index 7cae4759602f..495ceefdc6d4 100644
--- a/devel/pecl-grpc/Makefile
+++ b/devel/pecl-grpc/Makefile
@@ -9,9 +9,6 @@ WWW= https://pecl.php.net/package/grpc
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_mips= fails to compile: fatal error: sys/auxv.h file not found
-BROKEN_mips64= fails to compile: fatal error: sys/auxv.h file not found
-
USES= compiler:c++11-lang php:pecl
.include <bsd.port.mk>
diff --git a/devel/pickle/Makefile b/devel/pickle/Makefile
index 77122a79756e..350056fbce0d 100644
--- a/devel/pickle/Makefile
+++ b/devel/pickle/Makefile
@@ -12,8 +12,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_armv6= invokes x86 assembler
BROKEN_armv7= invokes x86 assembler
-BROKEN_mips= invokes x86 assembler
-BROKEN_mips64= invokes x86 assembler
USES= gmake tar:tgz
diff --git a/devel/py-greenlet/Makefile b/devel/py-greenlet/Makefile
index d75093fd3e96..5f64e5779063 100644
--- a/devel/py-greenlet/Makefile
+++ b/devel/py-greenlet/Makefile
@@ -14,9 +14,6 @@ LICENSE_COMB= dual
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE
LICENSE_FILE_PSFL= ${WRKSRC}/LICENSE.PSF
-NOT_FOR_ARCHS= mips mips64
-NOT_FOR_ARCHS_REASON= greenlet needs to be ported to this platform
-
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
diff --git a/devel/radare2/Makefile b/devel/radare2/Makefile
index bdbe5a50d806..e8395d88e943 100644
--- a/devel/radare2/Makefile
+++ b/devel/radare2/Makefile
@@ -10,7 +10,7 @@ WWW= https://www.radare.org
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-NOT_FOR_ARCHS= armv6 armv7 mips mips64 powerpcspe
+NOT_FOR_ARCHS= armv6 armv7 powerpcspe
NOT_FOR_ARCHS_REASON= does not build: Unsupported BSD architecture
LIB_DEPENDS= libcapstone.so:devel/capstone
diff --git a/devel/skalibs/Makefile b/devel/skalibs/Makefile
index b63b66bda656..014a22039808 100644
--- a/devel/skalibs/Makefile
+++ b/devel/skalibs/Makefile
@@ -10,8 +10,6 @@ WWW= https://www.skarnet.org/software/skalibs/
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_mips64= fails to build: Checking whether system has auto-close after fd-passing... test crashed, aborting
-
USES= gmake
USE_LDCONFIG= yes
HAS_CONFIGURE= yes
diff --git a/devel/tex-libtexluajit/Makefile b/devel/tex-libtexluajit/Makefile
index b53231cafddb..c777413c6728 100644
--- a/devel/tex-libtexluajit/Makefile
+++ b/devel/tex-libtexluajit/Makefile
@@ -12,8 +12,6 @@ COMMENT= LuaJIT library for TeXLive
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LuaJIT-src/COPYRIGHT
-BROKEN_mips= Does not configure: error: Sorry, cannot preprocess lj_arch.h
-BROKEN_mips64= Does not configure: error: Sorry, cannot preprocess lj_arch.h
BROKEN_powerpc64= Does not build: uninitialized constant Config (NameError)
BROKEN_riscv64= Does not configure: error: Sorry, cannot preprocess lj_arch.h
diff --git a/dns/dnsdist/Makefile b/dns/dnsdist/Makefile
index 03471733ed75..f6d694c39a64 100644
--- a/dns/dnsdist/Makefile
+++ b/dns/dnsdist/Makefile
@@ -99,19 +99,10 @@ LUA_MESON_ON= -Dlua=lua
OPENSSL_USES= ssl
OPENSSL_MESON_ENABLED= libcrypto tls-libssl
-OPENSSL_MESON_ON= -Dlibcrypto-path=${OPENSSLBASE}
-
+OPENSSL_MESON_ON= -Dlibcrypto-path=${OPENSSLBASE} -Dtls-libssl-engines=true
SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
SNMP_MESON_ENABLED= snmp
-.include <bsd.port.options.mk>
-
-.if !(${OSVERSION} < 1400000 && ${SSL_DEFAULT} == "base")
-OPENSSL_MESON_ON+= -Dtls-libssl-providers=true
-.else
-OPENSSL_MESON_ON+= -Dtls-libssl-engines=true
-.endif
-
post-install:
${MV} ${STAGEDIR}${ETCDIR}/dnsdist.conf-dist ${STAGEDIR}${ETCDIR}/dnsdist.conf.sample
diff --git a/dns/dog/Makefile b/dns/dog/Makefile
index de9341fd829d..da913c72a5d7 100644
--- a/dns/dog/Makefile
+++ b/dns/dog/Makefile
@@ -105,7 +105,7 @@ COMPLETIONS_PLIST_FILES= share/bash-completion/completions/${PORTNAME} \
.include <bsd.port.options.mk>
-.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl} || ${SSL_DEFAULT:Mopenssl3*}
+.if ( ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl} || ${SSL_DEFAULT:Mopenssl3*}
BROKEN= Fails to detect OpenSSL 3.0.0 and later
.endif
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index 65fb96a35bcb..244a3666ef1c 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -366,11 +366,6 @@ MDDS_VERSION= 3.1
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ( \
- (${OSVERSION} >= 1400051 && ${OSVERSION} < 1400057))
-BROKEN= please update FreeBSD base system first to fix an ABI incompatibility
-.endif
-
.if ${ARCH} == powerpc || ${ARCH} == powerpcspe || ${ARCH} == powerpc64
CONFIGURE_ARGS+= --disable-skia
.endif
diff --git a/emulators/mesen/Makefile b/emulators/mesen/Makefile
index cfb7ae11d166..703ac71f8589 100644
--- a/emulators/mesen/Makefile
+++ b/emulators/mesen/Makefile
@@ -8,7 +8,7 @@ WWW= https://www.mesen.ca/
LICENSE= GPLv3
-# ARM/MIPS are only supported on Android
+# ARM is only supported on Android
ONLY_FOR_ARCHS= amd64 i386
BUILD_DEPENDS= zip:archivers/zip \
diff --git a/emulators/ppsspp/Makefile b/emulators/ppsspp/Makefile
index e569064df401..d5756d1f0f73 100644
--- a/emulators/ppsspp/Makefile
+++ b/emulators/ppsspp/Makefile
@@ -13,7 +13,7 @@ LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
# Bi-endian architectures default to big for some reason
-NOT_FOR_ARCHS= mips mips64 powerpc powerpc64 powerpcspe
+NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe
NOT_FOR_ARCHS_REASON= only little-endian is supported, see \
https://github.com/hrydgard/ppsspp/issues/8823
diff --git a/filesystems/fusefs-libs3/files/extra-patch-test_meson.build b/filesystems/fusefs-libs3/files/extra-patch-test_meson.build
deleted file mode 100644
index f7a17a17e4e7..000000000000
--- a/filesystems/fusefs-libs3/files/extra-patch-test_meson.build
+++ /dev/null
@@ -1,15 +0,0 @@
---- test/meson.build.orig 2021-09-06 12:45:29 UTC
-+++ test/meson.build
-@@ -7,9 +7,9 @@ foreach prog: [ 'test_write_cache', 'test_setattr' ]
- dependencies: thread_dep,
- install: false)
- endforeach
--td += executable('test_syscalls', 'test_syscalls.c',
-- include_directories: include_dirs,
-- install: false)
-+#td += executable('test_syscalls', 'test_syscalls.c',
-+# include_directories: include_dirs,
-+# install: false)
- td += executable('readdir_inode', 'readdir_inode.c',
- include_directories: include_dirs,
- install: false)
diff --git a/filesystems/py-libzfs/Makefile b/filesystems/py-libzfs/Makefile
index a4378ee8601d..261d7447eda0 100644
--- a/filesystems/py-libzfs/Makefile
+++ b/filesystems/py-libzfs/Makefile
@@ -32,11 +32,8 @@ MAKE_ENV= freebsd_src=${SRC_BASE}
IGNORE= requires kernel source files in ${SRC_BASE}
.endif
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000
+.if ${OPSYS} == FreeBSD
PATCHFILES+= 0b2ab0594997c44e80e3fdfe9d2add106d81149a.diff:-p1 # backport of https://github.com/truenas/py-libzfs/pull/251
-.endif
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1401000
EXTRA_PATCHES+= ${FILESDIR}/extra-zpool-add.patch
.endif
diff --git a/finance/fabric/Makefile b/finance/fabric/Makefile
index 591b0c610ca2..30687051085a 100644
--- a/finance/fabric/Makefile
+++ b/finance/fabric/Makefile
@@ -12,7 +12,7 @@ WWW= https://wiki.hyperledger.org/display/fabric \
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc # compilation fails on non-64-bit systems: fabric-amcl/core/FP256BN/FP.go:111:19: cannot convert MConst (constant 30564559323915749 of type Chunk) to type int
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc # compilation fails on non-64-bit systems: fabric-amcl/core/FP256BN/FP.go:111:19: cannot convert MConst (constant 30564559323915749 of type Chunk) to type int
USES= go:modules
USE_GITHUB= yes
diff --git a/french/aster/Makefile b/french/aster/Makefile
index 1da506505d10..e933c10d50e6 100644
--- a/french/aster/Makefile
+++ b/french/aster/Makefile
@@ -9,7 +9,7 @@ WWW= http://www.code-aster.org/
LICENSE= GPLv2
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc
NOT_FOR_ARCHS_REASON= ARG_MAX is too small for Code_Aster on 32 bits systems
BROKEN= fails to build the catalog of elements
diff --git a/ftp/fastdfs/Makefile b/ftp/fastdfs/Makefile
index eb5918a71ee2..547e460f259b 100644
--- a/ftp/fastdfs/Makefile
+++ b/ftp/fastdfs/Makefile
@@ -10,9 +10,6 @@ WWW= https://github.com/happyfish100/fastdfs
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING-3_0.txt
-BROKEN_mips= fails to link: tracker_service.c:270: undefined reference to '__sync_add_and_fetch_4'
-BROKEN_mips64= fails to link: tracker_service.c:270: undefined reference to '__sync_add_and_fetch_4'
-
LIB_DEPENDS= libfastcommon.so:devel/libfastcommon
USES= perl5
diff --git a/games/anki/Makefile b/games/anki/Makefile
index d08f38097977..6e5bf3fc5d82 100644
--- a/games/anki/Makefile
+++ b/games/anki/Makefile
@@ -13,7 +13,7 @@ WWW= https://apps.ankiweb.net/
LICENSE= AGPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc
NOT_FOR_ARCHS_REASON= the provided build system written in Rust (= runner) accepts only 64-bit systems.
BUILD_DEPENDS= protoc:devel/protobuf \
diff --git a/games/crafty/Makefile b/games/crafty/Makefile
index 3c77a0be8226..12cc58544ac8 100644
--- a/games/crafty/Makefile
+++ b/games/crafty/Makefile
@@ -17,8 +17,6 @@ BROKEN_aarch64= fails to compile: invokes amd64 assembler
BROKEN_armv6= fails to compile: invokes amd64 assembler
BROKEN_armv7= fails to compile: invokes amd64 assembler
BROKEN_i386= fails to compile: invokes amd64 assembler
-BROKEN_mips= fails to compile: unrecognized command line option "-mpopcnt"
-BROKEN_mips64= fails to compile: unrecognized command line option "-mpopcnt"
BROKEN_riscv64= fails to compile: invokes amd64 assembler
USES= gmake zip
diff --git a/games/flightgear-data/Makefile b/games/flightgear-data/Makefile
index 4f90ce3be831..07d2ae9e487a 100644
--- a/games/flightgear-data/Makefile
+++ b/games/flightgear-data/Makefile
@@ -10,8 +10,6 @@ WWW= https://www.flightgear.org/
LICENSE= GPLv2
-BROKEN_mips64= fails to install: runaway process
-
USES= tar:txz
NO_BUILD= yes
diff --git a/games/freecell-solver/Makefile b/games/freecell-solver/Makefile
index 58f11376462e..cf896c4796a6 100644
--- a/games/freecell-solver/Makefile
+++ b/games/freecell-solver/Makefile
@@ -26,7 +26,6 @@ LIB_DEPENDS= ${LIB_DEPENDS_${ARCH}}
LIB_DEPENDS_armv6= libgmp.so:math/gmp
LIB_DEPENDS_armv7= libgmp.so:math/gmp
LIB_DEPENDS_i386= libgmp.so:math/gmp
-LIB_DEPENDS_mips= libgmp.so:math/gmp
LIB_DEPENDS_powerpc= libgmp.so:math/gmp
OPTIONS_DEFINE= DOCS TCMALLOC
diff --git a/games/gcompris-qt/Makefile b/games/gcompris-qt/Makefile
index aa441e86eead..1d86f16ed78f 100644
--- a/games/gcompris-qt/Makefile
+++ b/games/gcompris-qt/Makefile
@@ -13,8 +13,6 @@ LICENSE_COMB= multi
LICENSE_FILE_AGPLv3= ${WRKSRC}/LICENSES/AGPL-3.0-only.txt
LICENSE_FILE_GPLv3= ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt
-IGNORE_FreeBSD_13= is not supported on systems with OpenSSL 1.1.1
-
# libqmlbox2d.so is a QML plugin...don't use LIB_DEPENDS
BUILD_DEPENDS= ${_BOX2D_PATH}/libqmlbox2d.so:x11-toolkits/qml-box2d \
${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers
diff --git a/games/lmpc/Makefile b/games/lmpc/Makefile
index a796cfb83c8e..5b543556892c 100644
--- a/games/lmpc/Makefile
+++ b/games/lmpc/Makefile
@@ -12,7 +12,7 @@ WWW= http://demospecs.half-empty.de/lmpc-alpha/
LICENSE= GPLv2+
-ONLY_FOR_ARCHS= armv6 armv7 i386 mips powerpc
+ONLY_FOR_ARCHS= armv6 armv7 i386 powerpc
ONLY_FOR_ARCHS_REASON= assumes sizeof(long) == 4
USES= gmake perl5 shebangfix
diff --git a/games/openrct2/Makefile b/games/openrct2/Makefile
index 4417a10f912a..656c5cfbde3c 100644
--- a/games/openrct2/Makefile
+++ b/games/openrct2/Makefile
@@ -19,7 +19,7 @@ WWW= https://openrct2.io/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/licence.txt
-NOT_FOR_ARCHS= mips mips64 powerpc powerpc64 powerpcspe
+NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe
NOT_FOR_ARCHS_REASON= Only for little-endian architectures
BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json
diff --git a/games/regoth/Makefile b/games/regoth/Makefile
index c838833e17f0..0da8c4c14ea1 100644
--- a/games/regoth/Makefile
+++ b/games/regoth/Makefile
@@ -10,7 +10,6 @@ WWW= https://github.com/REGoth-project/REGoth
LICENSE= GPLv3
-BROKEN_FreeBSD_13_powerpc64= fails to build: mmintrin.h:33:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
BROKEN_riscv64= fails to build: mmintrin.h:33:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
LIB_DEPENDS= libsndfile.so:audio/libsndfile
diff --git a/games/ufoai-data/Makefile b/games/ufoai-data/Makefile
index a0cf7b118011..e76354cacbfb 100644
--- a/games/ufoai-data/Makefile
+++ b/games/ufoai-data/Makefile
@@ -16,8 +16,6 @@ WWW= https://ufoai.org/
LICENSE= GPLv2 CC-BY-SA-3.0
LICENSE_COMB= multi
-BROKEN_mips64= Fails to install: runaway process
-
EXTRACT_DEPENDS= ${UNZIP_CMD}:archivers/unzip
NO_BUILD= yes
diff --git a/games/urbanterror-data/Makefile b/games/urbanterror-data/Makefile
index babd003b12a4..2fc0cafd4d1f 100644
--- a/games/urbanterror-data/Makefile
+++ b/games/urbanterror-data/Makefile
@@ -19,9 +19,6 @@ LICENSE_NAME= UrbanTerror
LICENSE_TEXT= The mod files may not be sold or distributed on physical media unless with permission from id Software.
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
-BROKEN_mips= Fails to install: runaway process
-BROKEN_mips64= Fails to install: runaway process
-
NO_BUILD= yes
DATADIR= ${PREFIX}/share/quake3
diff --git a/games/xoids/Makefile b/games/xoids/Makefile
index 7ceb578baaae..d843178a23e6 100644
--- a/games/xoids/Makefile
+++ b/games/xoids/Makefile
@@ -7,9 +7,6 @@ MASTER_SITES= XCONTRIB/games
MAINTAINER= ports@FreeBSD.org
COMMENT= X Window Asteroids style game with full color pixmaps
-NOT_FOR_ARCHS= mips64
-NOT_FOR_ARCHS_REASON= unknown architecture
-
USES= imake xorg
USE_XORG= x11 xpm
CFLAGS+= -fcommon
diff --git a/graphics/R-cran-s2/Makefile b/graphics/R-cran-s2/Makefile
index f47676fb9263..c4d3f417d821 100644
--- a/graphics/R-cran-s2/Makefile
+++ b/graphics/R-cran-s2/Makefile
@@ -9,7 +9,7 @@ WWW= https://cran.r-project.org/web/packages/s2/
LICENSE= APACHE20
-NOT_FOR_ARCHS= armv6 mips
+NOT_FOR_ARCHS= armv6
NOT_FOR_ARCHS_REASON= is currently 64-bit only
CRAN_DEPENDS= R-cran-Rcpp>0:devel/R-cran-Rcpp \
diff --git a/graphics/drm-515-kmod/Makefile b/graphics/drm-515-kmod/Makefile
index 92f29725d0d9..113c9a67066c 100644
--- a/graphics/drm-515-kmod/Makefile
+++ b/graphics/drm-515-kmod/Makefile
@@ -30,9 +30,7 @@ GH_TAGNAME= ${DRM_KMOD_GH_TAGNAME}
SUB_FILES= pkg-message
SUB_LIST= OPSYS=${OPSYS} OSREL=${OSREL}
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400081
-IGNORE= not supported on older than 14.0, no kernel support
-.elif ${OPSYS} == FreeBSD && ${OSVERSION} >= 1600000
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1600000
IGNORE= not supported on FreeBSD 16.0 and higher
.endif
.if ${OPSYS} != FreeBSD
diff --git a/graphics/drm-61-kmod/Makefile b/graphics/drm-61-kmod/Makefile
index 77d023915fde..e66953102620 100644
--- a/graphics/drm-61-kmod/Makefile
+++ b/graphics/drm-61-kmod/Makefile
@@ -30,9 +30,6 @@ GH_TAGNAME= ${DRM_KMOD_GH_TAGNAME}
SUB_FILES= pkg-message
SUB_LIST= OPSYS=${OPSYS} OSREL=${OSREL}
-.if ${OPSYS} == FreeBSD && !( ${OSVERSION} >= 1500008 || ( ${OSVERSION} >= 1400508 && ${OSVERSION} < 1500000 ))
-IGNORE= not supported on older than 14-STABLE 1400508, no kernel support
-.endif
.if ${OPSYS} != FreeBSD
IGNORE= not supported on anything but FreeBSD (missing linuxkpi functionality)
.endif
diff --git a/graphics/drm-66-kmod/Makefile b/graphics/drm-66-kmod/Makefile
index 6c9c4b0496c1..ec0cacd0d710 100644
--- a/graphics/drm-66-kmod/Makefile
+++ b/graphics/drm-66-kmod/Makefile
@@ -30,7 +30,7 @@ GH_TAGNAME= ${DRM_KMOD_GH_TAGNAME}
SUB_FILES= pkg-message
SUB_LIST= PORTNAME=${PORTNAME} OPSYS=${OPSYS} OSREL=${OSREL}
-.if ${OPSYS} == FreeBSD && !( ${OSVERSION} >= 1500031 )
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500031
IGNORE= not supported on older than 1500031, no kernel support
.endif
.if ${OPSYS} != FreeBSD
diff --git a/graphics/drm-latest-kmod/Makefile b/graphics/drm-latest-kmod/Makefile
index d0c0bd87d461..2b7549c69550 100644
--- a/graphics/drm-latest-kmod/Makefile
+++ b/graphics/drm-latest-kmod/Makefile
@@ -30,7 +30,7 @@ GH_TAGNAME= ${DRM_KMOD_GH_TAGNAME}
SUB_FILES= pkg-message
SUB_LIST= PORTNAME=${PORTNAME} OPSYS=${OPSYS} OSREL=${OSREL}
-.if ${OPSYS} == FreeBSD && !( ${OSVERSION} >= 1500058 )
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500058
IGNORE= not supported on older than 1500058, no kernel support
.endif
.if ${OPSYS} != FreeBSD
diff --git a/graphics/dspdfviewer/Makefile b/graphics/dspdfviewer/Makefile
index 48054e724999..75c356e997ea 100644
--- a/graphics/dspdfviewer/Makefile
+++ b/graphics/dspdfviewer/Makefile
@@ -49,9 +49,7 @@ CFLAGS+= -Wno-error=extra-semi-stmt
CFLAGS+= -Wno-error=suggest-destructor-override
CFLAGS+= -Wno-error=suggest-override
# Fixes build failure for Clang 14.0.3
-.if ${OSVERSION} >= 1400059
CFLAGS+= -Wno-error=bitwise-instead-of-logical
-.endif
# Fixes build failure for Clang 16.0.6
CFLAGS+= -Wno-error=unsafe-buffer-usage
# Fixes build failure for Clang 18.1.4
diff --git a/graphics/exiv2/Makefile b/graphics/exiv2/Makefile
index d1d66016dce6..1333740e0fd0 100644
--- a/graphics/exiv2/Makefile
+++ b/graphics/exiv2/Makefile
@@ -30,9 +30,6 @@ SHEBANG_FILES= fuzz/mkdictionary.py \
CMAKE_ON= EXIV2_ENABLE_VIDEO
CMAKE_OFF= EXIV2_ENABLE_EXTERNAL_XMP
-LDFLAGS_mips= -lintl
-LDFLAGS_mips64= -lintl
-
PLIST_SUB= SOVER=${DISTVERSION:R:E} \
SOVERSION=${DISTVERSION}
diff --git a/graphics/freeimage/Makefile b/graphics/freeimage/Makefile
index 3402dea4769a..65c4fc87af05 100644
--- a/graphics/freeimage/Makefile
+++ b/graphics/freeimage/Makefile
@@ -17,9 +17,6 @@ LICENSE_FILE_GPLv2= ${WRKSRC}/license-gplv2.txt
LICENSE_FILE_GPLv3= ${WRKSRC}/license-gplv3.txt
LICENSE_PERMS_FIPL= dist-mirror pkg-mirror auto-accept
-BROKEN_mips= fails to compile: section referenced in discarded section
-BROKEN_mips64= fails to compile: opcode not supported on this processor: mips3 (mips3) 'madd $4,$5'
-
USES= cpe dos2unix gmake zip
USE_CXXSTD= gnu++14
CPE_VENDOR= ${PORTNAME}_project
diff --git a/graphics/gdchart/Makefile b/graphics/gdchart/Makefile
index 2940815bb2f7..aa6f6078649b 100644
--- a/graphics/gdchart/Makefile
+++ b/graphics/gdchart/Makefile
@@ -26,7 +26,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
-.if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 )
+.if defined(NO_PROFILE) || ${OPSYS} == FreeBSD
PLIST_SUB+= PROFILE="@comment "
.else
PLIST_SUB+= PROFILE=""
diff --git a/graphics/gifsicle/Makefile b/graphics/gifsicle/Makefile
index 6a559cef2a73..3e016118798d 100644
--- a/graphics/gifsicle/Makefile
+++ b/graphics/gifsicle/Makefile
@@ -10,9 +10,6 @@ WWW= https://www.lcdf.org/gifsicle/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_mips= fails to build: undefined reference to '__sync_add_and_fetch_4'
-BROKEN_mips64= fails to build: undefined reference to '__sync_add_and_fetch_4'
-
FLAVORS= x11 nox11
FLAVOR?= ${FLAVORS:[1]}
nox11_PKGNAMESUFFIX= -nox11
diff --git a/graphics/mozjpeg/Makefile b/graphics/mozjpeg/Makefile
index 538ca24713cb..e13852795954 100644
--- a/graphics/mozjpeg/Makefile
+++ b/graphics/mozjpeg/Makefile
@@ -10,8 +10,6 @@ WWW= https://github.com/mozilla/mozjpeg
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-BROKEN_mips64= does not configure: error: SIMD support cannot be enabled
-
BUILD_DEPENDS= nasm>=2.10,1:devel/nasm
LIB_DEPENDS= libpng.so:graphics/png
diff --git a/graphics/ttyplot/Makefile b/graphics/ttyplot/Makefile
index 7a9bbce083d4..81d81e61764e 100644
--- a/graphics/ttyplot/Makefile
+++ b/graphics/ttyplot/Makefile
@@ -9,8 +9,6 @@ WWW= https://github.com/tenox7/ttyplot
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_13= fails to build: Package 'ncursesw' not found
-
USES= ncurses pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= tenox7
diff --git a/graphics/wings/Makefile b/graphics/wings/Makefile
index bbf977fb90a5..07dc5401a383 100644
--- a/graphics/wings/Makefile
+++ b/graphics/wings/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/license.terms
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
# c_src/Makefile line 103
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc
NOT_FOR_ARCHS_REASON= subcomponent libigl does not support 32bit platforms
BUILD_DEPENDS= erl:lang/erlang \
diff --git a/irc/undernet-ircu/Makefile b/irc/undernet-ircu/Makefile
index 633336393021..d5cd6fd56bfa 100644
--- a/irc/undernet-ircu/Makefile
+++ b/irc/undernet-ircu/Makefile
@@ -63,8 +63,8 @@ WARNINGS_CONFIGURE_ENABLE= warnings
.include <bsd.port.options.mk>
-.if !defined(NO_PROFILE) && ( ${OPSYS} == FreeBSD && ${OSVERSION} < 1400079 )
-CONFIGURE_ARGS+= --enable-profile
+.if !defined(NO_PROFILE)
+CONFIGURE_ARGS+= --enable-profile
.endif
do-install:
diff --git a/japanese/man/Makefile b/japanese/man/Makefile
index 0e7b9c773b88..73983f272363 100644
--- a/japanese/man/Makefile
+++ b/japanese/man/Makefile
@@ -18,8 +18,6 @@ LICENSE= GPLv2
RUN_DEPENDS= ${LOCALBASE}/bin/groff:japanese/groff \
jless:japanese/less
-BROKEN_mips= fails to compile: man.c:37:10: fatal error: 'config.h' file not found
-
MAKE_ENV= GZCAT=${GZCAT} GZIP_CMD="${GZIP_CMD}"
USES= shebangfix
SHEBANG_FILES= catman/catman.perl makewhatis/makewhatis.perl
diff --git a/japanese/mecab/Makefile b/japanese/mecab/Makefile
index 669e24e49274..e88810b23eef 100644
--- a/japanese/mecab/Makefile
+++ b/japanese/mecab/Makefile
@@ -11,9 +11,6 @@ WWW= https://code.google.com/p/mecab/
LICENSE= BSD3CLAUSE GPLv2 LGPL21
LICENSE_COMB= multi
-BROKEN_mips= fails to link: Nonrepresentable section on output
-BROKEN_mips64= fails to link: Nonrepresentable section on output
-
USES= gettext-tools iconv libtool localbase perl5
USE_CXXSTD= c++14
USE_LDCONFIG= yes
diff --git a/japanese/mozc-server/Makefile b/japanese/mozc-server/Makefile
index 097da4760757..a7c06e38b6cb 100644
--- a/japanese/mozc-server/Makefile
+++ b/japanese/mozc-server/Makefile
@@ -14,7 +14,6 @@ LIB_DEPENDS= libprotobuf.so:devel/protobuf \
libzinnia.so:japanese/zinnia
RUN_DEPENDS= xdg-open:devel/xdg-utils
-BROKEN_FreeBSD_13_powerpc64= fails to build: ERROR: ninja -v -C out_linux/Release mozc_server: Error code 1
BROKEN_powerpc= fails to compile: segfault
USE_GITHUB= yes
diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile
index 612ad8181df6..f4178cefff95 100644
--- a/java/openjdk11/Makefile
+++ b/java/openjdk11/Makefile
@@ -133,11 +133,6 @@ JDK_BUILD_TYPE= release
.include <bsd.port.pre.mk>
-# portsfallout.com shows flapping builds on 13.5 and 14.2
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1403000
-MAKE_JOBS_UNSAFE= yes
-.endif
-
.if !${PORT_OPTIONS:MCUPS}
MASTER_SITES+= https://codeload.github.com/OpenPrinting/cups/tar.gz/v${CUPS_INC_VER}?dummy=/:cups
.endif
diff --git a/java/openjdk17/Makefile b/java/openjdk17/Makefile
index 760fa5a5ba2c..9e859ce582e1 100644
--- a/java/openjdk17/Makefile
+++ b/java/openjdk17/Makefile
@@ -121,7 +121,7 @@ JDK_BUILD_TYPE= release
.include <bsd.port.pre.mk>
-# portsfallout.com shows flapping builds on 13.5 and 14.2
+# portsfallout.com shows flapping builds on 14.2
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500000
MAKE_JOBS_NUMBER_LIMIT= 3
.endif
diff --git a/java/openjdk23/Makefile b/java/openjdk23/Makefile
index c2f572484908..687643b00304 100644
--- a/java/openjdk23/Makefile
+++ b/java/openjdk23/Makefile
@@ -21,7 +21,6 @@ ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le
# On FreeBSD 14 and 15 the i386 build fails with a segfault in java during the
# buildtools_create_symbols_javac__the.COMPILE_CREATE_SYMBOLS_batch build step.
#
-BROKEN_FreeBSD_13_i386= Build failed for target 'images' in configuration 'bsd-x86-server-release'
BROKEN_FreeBSD_14_i386= Build failed for target 'images' in configuration 'bsd-x86-server-release'
BROKEN_FreeBSD_15_i386= Build failed for target 'images' in configuration 'bsd-x86-server-release'
diff --git a/lang/dotnet/Makefile b/lang/dotnet/Makefile
index b4449650483d..d00db276bd18 100644
--- a/lang/dotnet/Makefile
+++ b/lang/dotnet/Makefile
@@ -22,7 +22,8 @@ BUILD_DEPENDS= bash:shells/bash \
cmake:devel/cmake-core \
git:devel/git \
ggrep:textproc/gnugrep \
- terminfo-db>0:misc/terminfo-db
+ terminfo-db>0:misc/terminfo-db \
+ ${LOCALBASE}/lib/compat/libssl.so.111:misc/compat13x
LIB_DEPENDS= libbrotlienc.so:archivers/brotli \
libicuuc.so:devel/icu \
libinotify.so:devel/libinotify \
@@ -89,10 +90,6 @@ BROKEN= "crossgen2" exited with code 139
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-base-openssl
.endif
-.if ${OSVERSION} >= 1400000
-BUILD_DEPENDS+= ${LOCALBASE}/lib/compat/libssl.so.111:misc/compat13x
-.endif
-
.if ${ARCH} == amd64
PLIST_SUB+= VXSORT=
.else
diff --git a/lang/ecl/Makefile b/lang/ecl/Makefile
index 694b36521fca..2f0822dbd102 100644
--- a/lang/ecl/Makefile
+++ b/lang/ecl/Makefile
@@ -9,9 +9,6 @@ WWW= https://common-lisp.net/project/ecl/main.html
LICENSE= LGPL20
-BROKEN_mips= fails to build: qemu: uncaught target signal 11 (Segmentation fault) - core dumped
-BROKEN_mips64= fails to build: qemu: uncaught target signal 11 (Segmentation fault) - core dumped
-
BUILD_DEPENDS= ${LOCALBASE}/lib/libatomic_ops.a:devel/libatomic_ops
LIB_DEPENDS= libgc.so:devel/boehm-gc \
libgmp.so:math/gmp
diff --git a/lang/erlang-runtime22/Makefile b/lang/erlang-runtime22/Makefile
index 14a78fec966e..f399a0cc7498 100644
--- a/lang/erlang-runtime22/Makefile
+++ b/lang/erlang-runtime22/Makefile
@@ -106,7 +106,7 @@ MAKE_ARGS+= ARCH=x86
MAKE_ARGS+= ARCH=arm
.endif
-.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+.if ( ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
CFLAGS+= -Wno-error=implicit-function-declaration
OPTIONS_EXCLUDE= OPENSSL
.endif
diff --git a/lang/erlang-runtime23/Makefile b/lang/erlang-runtime23/Makefile
index bc2da2ef32b7..5a480bc085e2 100644
--- a/lang/erlang-runtime23/Makefile
+++ b/lang/erlang-runtime23/Makefile
@@ -105,7 +105,7 @@ MAKE_ARGS+= ARCH=x86
MAKE_ARGS+= ARCH=arm
.endif
-.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+.if ( ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
CFLAGS+= -Wno-error=implicit-function-declaration
OPTIONS_EXCLUDE= OPENSSL
.endif
diff --git a/lang/f2c/Makefile b/lang/f2c/Makefile
index c03fb2d52dbc..84e9d30e1cce 100644
--- a/lang/f2c/Makefile
+++ b/lang/f2c/Makefile
@@ -15,9 +15,6 @@ LICENSE_NAME= Copyright of AT&T, Lucent Technologies and Bellcore
LICENSE_FILE= ${WRKSRC}/libf2c/Notice
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-BROKEN_mips= fails to compile: /usr/include/sigfpe.h: No such file or directory
-BROKEN_mips64= fails to compile: /usr/include/sigfpe.h: No such file or directory
-
USES= gmake
USE_LDCONFIG= yes
diff --git a/lang/gauche/Makefile b/lang/gauche/Makefile
index e5bec12cd8ac..1f2d4db4c115 100644
--- a/lang/gauche/Makefile
+++ b/lang/gauche/Makefile
@@ -12,8 +12,6 @@ WWW= https://practical-scheme.net/gauche/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_mips= Fails to build: redefinition of GC_register_dynamic_libraries
-BROKEN_mips64= Fails to build: redefinition of GC_register_dynamic_libraries
BROKEN_riscv64= Fails to build: ./include/private/gcconfig.h:709:5: The collector has not been ported to this machine/OS combination
USES= compiler:c11 cpe gmake iconv makeinfo tar:tgz
diff --git a/lang/inko/Makefile b/lang/inko/Makefile
index a8fee457ac8b..5e3d98901785 100644
--- a/lang/inko/Makefile
+++ b/lang/inko/Makefile
@@ -12,7 +12,7 @@ WWW= https://inko-lang.org/ \
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc # build fails on non-64-bit architectures: Inko requires a 64-bits architecture
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc # build fails on non-64-bit architectures: Inko requires a 64-bits architecture
LIB_DEPENDS= libffi.so:devel/libffi \
libzstd.so:archivers/zstd
diff --git a/lang/luajit-openresty/Makefile b/lang/luajit-openresty/Makefile
index 7b0ec2da0f1b..948bfa74f205 100644
--- a/lang/luajit-openresty/Makefile
+++ b/lang/luajit-openresty/Makefile
@@ -34,10 +34,6 @@ PLIST_SUB+= VERSION=${LUAJIT_VERSION} SOVERSION=${LUAJIT_SOVERSION}
.include <bsd.port.options.mk>
-.if ${ARCH:Mmips*}
-USE_GCC=yes
-.endif
-
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-${LUAJIT_SOVERSION}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libluajit-5.1.so.${LUAJIT_SOVERSION}
diff --git a/lang/mono6.8/Makefile b/lang/mono6.8/Makefile
index 2ea82556a582..5bbad3b22287 100644
--- a/lang/mono6.8/Makefile
+++ b/lang/mono6.8/Makefile
@@ -13,7 +13,7 @@ WWW= https://www.mono-project.com/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= riscv64 riscv64sf
+NOT_FOR_ARCHS= riscv64
BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser \
bash:shells/bash \
diff --git a/lang/mosh/Makefile b/lang/mosh/Makefile
index 2008b9701fd0..30fb7bba45c4 100644
--- a/lang/mosh/Makefile
+++ b/lang/mosh/Makefile
@@ -12,7 +12,6 @@ LICENSE= BSD2CLAUSE
BROKEN_armv6= fails to link: os_dep.c: undefined reference to '__stack_base__'
BROKEN_armv7= fails to link: os_dep.c: undefined reference to '__stack_base__'
-BROKEN_mips64= fails to compile: os_dep.c: redefinition of 'GC_register_dynamic_libraries'
NOT_FOR_ARCHS= aarch64 riscv64
NOT_FOR_ARCHS_REASON= gcconfig.h: the collector has not been ported to this machine/OS combination
diff --git a/lang/mosml/Makefile b/lang/mosml/Makefile
index c453803c15fa..cf6fd8fa05a6 100644
--- a/lang/mosml/Makefile
+++ b/lang/mosml/Makefile
@@ -14,8 +14,6 @@ LICENSE_NAME= mosml
LICENSE_TEXT= Restrictions on for-profit distribution
LICENSE_PERMS= auto-accept
-BROKEN_mips= does not configure: this architecture seems to be neither big endian nor little endian
-BROKEN_mips64= does not configure: this architecture seems to be neither big endian nor little endian
BROKEN_powerpc64= does not configure: this architecture seems to be neither big endian nor little endian
LIB_DEPENDS= libgmp.so:math/gmp \
diff --git a/lang/opencoarrays/Makefile b/lang/opencoarrays/Makefile
index 29e78531b930..4f6d1bdf1dbf 100644
--- a/lang/opencoarrays/Makefile
+++ b/lang/opencoarrays/Makefile
@@ -35,13 +35,11 @@ OPTIONS_DEFAULT= MPICH
OPTIONS_EXCLUDE_armv6= MPICH
OPTIONS_EXCLUDE_armv7= MPICH
OPTIONS_EXCLUDE_i386= MPICH
-OPTIONS_EXCLUDE_mips= MPICH
OPTIONS_EXCLUDE_powerpc= MPICH
OPTIONS_EXCLUDE_powerpcspe= MPICH
OPTIONS_DEFAULT_armv6= OPENMPI
OPTIONS_DEFAULT_armv7= OPENMPI
OPTIONS_DEFAULT_i386= OPENMPI
-OPTIONS_DEFAULT_mips= OPENMPI
OPTIONS_DEFAULT_powerpc= OPENMPI
OPTIONS_DEFAULT_powerpcspe= OPENMPI
diff --git a/lang/opensycl/Makefile b/lang/opensycl/Makefile
index 0ab23c62bc65..21a90f3511f7 100644
--- a/lang/opensycl/Makefile
+++ b/lang/opensycl/Makefile
@@ -11,7 +11,6 @@ LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_i386= fails to compile: error: static_assert failed due to requirement 'sizeof(hipsycl::glue::unique_id) == 2 * sizeof(void *)'
-BROKEN_FreeBSD_13_armv7= configure fails: Cannot run simple program using std::filesystem
BUILD_DEPENDS= boost-libs>0:devel/boost-libs
diff --git a/lang/perl5-devel/Makefile b/lang/perl5-devel/Makefile
index eef896da8e98..6324844fef0d 100644
--- a/lang/perl5-devel/Makefile
+++ b/lang/perl5-devel/Makefile
@@ -143,8 +143,7 @@ OPTIONS_DEFAULT= DTRACE MULTIPLICITY PERL_64BITINT
OPTIONS_EXCLUDE= DTRACE
.endif
.for a in aarch64 armv6 armv7 \
- mips mips64 mips64el mips64elhf mips64hf mipsel mipselhf mipshf mipsn32 \
- riscv64 riscv64sf
+ riscv64
OPTIONS_EXCLUDE_${a}= DTRACE
.endfor
OPTIONS_SUB= yes
diff --git a/lang/perl5.38/Makefile b/lang/perl5.38/Makefile
index cd8c47263346..e8380e355387 100644
--- a/lang/perl5.38/Makefile
+++ b/lang/perl5.38/Makefile
@@ -132,8 +132,7 @@ OPTIONS_DEFAULT= DTRACE MULTIPLICITY PERL_64BITINT THREADS
OPTIONS_EXCLUDE= DTRACE
.endif
.for a in aarch64 armv6 armv7 \
- mips mips64 mips64el mips64elhf mips64hf mipsel mipselhf mipshf mipsn32 \
- riscv64 riscv64sf
+ riscv64
OPTIONS_EXCLUDE_${a}= DTRACE
.endfor
OPTIONS_SUB= yes
diff --git a/lang/perl5.40/Makefile b/lang/perl5.40/Makefile
index 9557ec4aba23..a7c7c28eda89 100644
--- a/lang/perl5.40/Makefile
+++ b/lang/perl5.40/Makefile
@@ -131,8 +131,7 @@ OPTIONS_DEFAULT= DTRACE MULTIPLICITY PERL_64BITINT THREADS
OPTIONS_EXCLUDE= DTRACE
.endif
.for a in aarch64 armv6 armv7 \
- mips mips64 mips64el mips64elhf mips64hf mipsel mipselhf mipshf mipsn32 \
- riscv64 riscv64sf
+ riscv64
OPTIONS_EXCLUDE_${a}= DTRACE
.endfor
OPTIONS_SUB= yes
diff --git a/lang/perl5.42/Makefile b/lang/perl5.42/Makefile
index 0fad0b32da60..78081e552210 100644
--- a/lang/perl5.42/Makefile
+++ b/lang/perl5.42/Makefile
@@ -133,8 +133,7 @@ OPTIONS_DEFAULT= DTRACE MULTIPLICITY PERL_64BITINT
OPTIONS_EXCLUDE= DTRACE
.endif
.for a in aarch64 armv6 armv7 \
- mips mips64 mips64el mips64elhf mips64hf mipsel mipselhf mipshf mipsn32 \
- riscv64 riscv64sf
+ riscv64
OPTIONS_EXCLUDE_${a}= DTRACE
.endfor
OPTIONS_SUB= yes
diff --git a/lang/php82/Makefile b/lang/php82/Makefile
index 3171557837fe..f2d9ba7ed579 100644
--- a/lang/php82/Makefile
+++ b/lang/php82/Makefile
@@ -47,9 +47,6 @@ OPTIONS_EXCLUDE_aarch64= DTRACE
# dt_modtext:opensolaris/ib/libdtrace/common/dt_link.c: arm not impemented
OPTIONS_EXCLUDE_armv6= DTRACE
OPTIONS_EXCLUDE_armv7= DTRACE
-# Bug 197128: No ASM code for MIPS/MIPS64, disable FPM
-OPTIONS_EXCLUDE_mips= DTRACE FPM
-OPTIONS_EXCLUDE_mips64= DTRACE FPM
OPTIONS_EXCLUDE_riscv64= DTRACE
NO_OPTIONS_SORT= yes
OPTIONS_SUB= yes
diff --git a/lang/php83/Makefile b/lang/php83/Makefile
index bfd1c13f51cd..9f11e9ad95b9 100644
--- a/lang/php83/Makefile
+++ b/lang/php83/Makefile
@@ -47,9 +47,6 @@ OPTIONS_EXCLUDE_aarch64= DTRACE
# dt_modtext:opensolaris/ib/libdtrace/common/dt_link.c: arm not impemented
OPTIONS_EXCLUDE_armv6= DTRACE
OPTIONS_EXCLUDE_armv7= DTRACE
-# Bug 197128: No ASM code for MIPS/MIPS64, disable FPM
-OPTIONS_EXCLUDE_mips= DTRACE FPM
-OPTIONS_EXCLUDE_mips64= DTRACE FPM
OPTIONS_EXCLUDE_riscv64= DTRACE
NO_OPTIONS_SORT= yes
OPTIONS_SUB= yes
diff --git a/lang/php84/Makefile b/lang/php84/Makefile
index a5a8ef97156b..278cf02935a6 100644
--- a/lang/php84/Makefile
+++ b/lang/php84/Makefile
@@ -45,9 +45,6 @@ OPTIONS_EXCLUDE_aarch64= DTRACE
# dt_modtext:opensolaris/ib/libdtrace/common/dt_link.c: arm not impemented
OPTIONS_EXCLUDE_armv6= DTRACE
OPTIONS_EXCLUDE_armv7= DTRACE
-# Bug 197128: No ASM code for MIPS/MIPS64, disable FPM
-OPTIONS_EXCLUDE_mips= DTRACE FPM
-OPTIONS_EXCLUDE_mips64= DTRACE FPM
OPTIONS_EXCLUDE_riscv64= DTRACE
NO_OPTIONS_SORT= yes
OPTIONS_SUB= yes
diff --git a/lang/php85/Makefile b/lang/php85/Makefile
index 45411b6f4ebb..67e9a972faea 100644
--- a/lang/php85/Makefile
+++ b/lang/php85/Makefile
@@ -45,9 +45,6 @@ OPTIONS_EXCLUDE_aarch64= DTRACE
# dt_modtext:opensolaris/ib/libdtrace/common/dt_link.c: arm not impemented
OPTIONS_EXCLUDE_armv6= DTRACE
OPTIONS_EXCLUDE_armv7= DTRACE
-# Bug 197128: No ASM code for MIPS/MIPS64, disable FPM
-OPTIONS_EXCLUDE_mips= DTRACE FPM
-OPTIONS_EXCLUDE_mips64= DTRACE FPM
OPTIONS_EXCLUDE_riscv64= DTRACE
NO_OPTIONS_SORT= yes
OPTIONS_SUB= yes
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 97543800b484..bf9e650a5290 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -120,7 +120,7 @@ post-patch:
# openssl/opensslv.h so setup.py just detects the string as 00000000
# However care should be taken for the OSVERSION. If OpenSSL 3.0.9
# lands later the OSVERSION string should be fixed accordingly
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && (${SSL_DEFAULT} == base || \
+.if ${OPSYS} == FreeBSD && (${SSL_DEFAULT} == base || \
${SSL_DEFAULT} == openssl || ${SSL_DEFAULT:Mopenssl3*} )
@${REINPLACE_CMD} -e 's|00907000|00000000|' \
${WRKSRC}/setup.py
diff --git a/lang/swift510/Makefile b/lang/swift510/Makefile
index 6b82bc9d9045..f1b385d2e95d 100644
--- a/lang/swift510/Makefile
+++ b/lang/swift510/Makefile
@@ -80,12 +80,6 @@ WRKSRC= ${WRKDIR}/swift-project
PLIST_SUB= SWIFT_ARCH=${swift_arch} \
SWIFT_TARGET_TRIPLE=${swift_arch}-unknown-freebsd${OSREL}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 1304500 && ${OSVERSION} <= 1305502
-BROKEN= Unbuildable due to a problem with libc++. See <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286342>
-.endif
-
pre-patch:
@${MKDIR} ${WRKSRC}/llbuild/lib/LLBSQLite3
@@ -111,4 +105,4 @@ do-install:
${COPYTREE_SHARE} .${swift_install_prefix}/$${subdir} ${STAGEDIR} ; \
done
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/lang/swipl/Makefile b/lang/swipl/Makefile
index ab32094ba735..cd9f0636b21e 100644
--- a/lang/swipl/Makefile
+++ b/lang/swipl/Makefile
@@ -12,8 +12,6 @@ WWW= https://www.swi-prolog.org/
LICENSE= BSD2CLAUSE
BROKEN_i386= FAILED: man/lib/clpfdlib.tex
-BROKEN_mips= fails to link: libswipl.so: undefined reference to '__sync_sub_and_fetch_4'
-BROKEN_mips64= fails to link: libswipl.so: undefined reference to '__sync_sub_and_fetch_4'
LIB_DEPENDS= libpcre2-posix.so:devel/pcre2 \
libossp-uuid.so:misc/ossp-uuid \
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index 02c2567c99c4..0602354901a1 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -108,9 +108,7 @@ post-install-DOCS-on:
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPIE} && ${MASTERDIR} == ${.CURDIR} && ${OPSYS} == FreeBSD
-. if ${OSVERSION} >= 1400072
LIB_DEPENDS+= libopie.so:security/opie # moved to port (from base in 13.X)
. endif
-.endif
.include <bsd.port.mk>
diff --git a/mail/rmilter/Makefile b/mail/rmilter/Makefile
index 6c2b93bbb59b..e745007105fb 100644
--- a/mail/rmilter/Makefile
+++ b/mail/rmilter/Makefile
@@ -11,9 +11,6 @@ LICENSE= BSD2CLAUSE
LIB_DEPENDS= libpcre.so:devel/pcre
-NOT_FOR_ARCHS= mips
-NOT_FOR_ARCHS_REASON= fails to compile: error: Unsupported word size
-
USE_GITHUB= yes
GH_ACCOUNT= vstakhov
diff --git a/math/colpack/Makefile b/math/colpack/Makefile
index a91e97f8cc39..cfdde5749d16 100644
--- a/math/colpack/Makefile
+++ b/math/colpack/Makefile
@@ -12,8 +12,6 @@ WWW= https://github.com/CSCsw/ColPack
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_13_armv7= compilation fails: error: expected identifier before '__is_convertible'
-
USES= cmake
USE_LDCONFIG= yes
diff --git a/math/gecode/Makefile b/math/gecode/Makefile
index f0cea16cb2dc..e5273a525d1d 100644
--- a/math/gecode/Makefile
+++ b/math/gecode/Makefile
@@ -11,7 +11,7 @@ WWW= https://www.gecode.org/
LICENSE= BSL MIT
LICENSE_COMB= multi
-NOT_FOR_ARCHS= armv6 armv7 mips mips64
+NOT_FOR_ARCHS= armv6 armv7
NOT_FOR_ARCHS_REASON= needs code written to specify rounding control mechanism in Boost.Numeric.Interval
USES= bison:build compiler:c++11-lang gmake perl5
diff --git a/math/gmp/Makefile b/math/gmp/Makefile
index 2f759a714b0e..3d71e7b079d5 100644
--- a/math/gmp/Makefile
+++ b/math/gmp/Makefile
@@ -31,10 +31,6 @@ INFO_INFO= gmp
.include <bsd.port.pre.mk>
-.if ${ARCH:Mmips*}
-MAKE_JOBS_UNSAFE=yes
-.endif
-
.if ! ${PORT_OPTIONS:MCPU_OPTS}
CONFIGURE_ARGS+=--build=${CONFIGURE_TARGET}
.elif ${ARCH:S/64//} != ${ARCH}
diff --git a/math/gretl/Makefile b/math/gretl/Makefile
index 1adb5e184aa7..b6eb7f8173db 100644
--- a/math/gretl/Makefile
+++ b/math/gretl/Makefile
@@ -10,8 +10,6 @@ WWW= https://gretl.sourceforge.net/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_FreeBSD_13= configure fails: checking for gnuplot >= 5.2 with cairo support... no
-
LIB_DEPENDS= libcurl.so:ftp/curl \
libfftw3.so:math/fftw3 \
libgmp.so:math/gmp \
diff --git a/math/lean4/Makefile b/math/lean4/Makefile
index ca32fe4421d8..7e4ccae0b425 100644
--- a/math/lean4/Makefile
+++ b/math/lean4/Makefile
@@ -11,7 +11,6 @@ WWW= https://lean-lang.org/ \
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_13= compilation fails: error: use of undeclared identifier 'clearenv'
BROKEN_armv7= compilation fails: ../../.build/stage1/lib/temp/Init/Coe.depend: No such file or directory
BROKEN_i386= linking fails: INTERNAL PANIC: out of memory (during: Linking runLinter)
diff --git a/math/lp_solve/Makefile b/math/lp_solve/Makefile
index 902f608fa846..db91eadd36d1 100644
--- a/math/lp_solve/Makefile
+++ b/math/lp_solve/Makefile
@@ -19,7 +19,7 @@ BUILDENV= ${SETENV} TMPDIR="${WRKDIR}"
.include <bsd.port.pre.mk>
-.if ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == mips || \
+.if ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 || \
${ARCH} == powerpc || ${ARCH} == powerpcspe
LPSOLVE_ARCH= ux32
.else
diff --git a/math/onednn/Makefile b/math/onednn/Makefile
index 337f7c4e4890..1db2075704f7 100644
--- a/math/onednn/Makefile
+++ b/math/onednn/Makefile
@@ -10,7 +10,7 @@ WWW= https://github.com/oneapi-src/oneDNN
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc powerpcspe
BROKEN_aarch64= error: sys/prctl.h file not found
.if !exists(/usr/include/omp.h)
BROKEN= requires OpenMP support that is missing on this architecture
diff --git a/math/onednn252/Makefile b/math/onednn252/Makefile
index d89827f4be00..fa3a83568be6 100644
--- a/math/onednn252/Makefile
+++ b/math/onednn252/Makefile
@@ -11,7 +11,7 @@ WWW= https://01.org/onednn
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc powerpcspe
BROKEN_aarch64= error: sys/prctl.h file not found
.if !exists(/usr/include/omp.h)
BROKEN= requires OpenMP support that is missing on this architecture
diff --git a/math/pari/Makefile b/math/pari/Makefile
index 6206e7116fb3..454d203474fa 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -11,8 +11,6 @@ WWW= https://pari.math.u-bordeaux.fr
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_mips64= fails to link: mpker.c:(.text+0x33bc): relocation truncated to fit: R_MIPS_TLS_GD against 'PARI_SIGINT_block'
-
LIB_DEPENDS= libgmp.so:math/gmp
USES= bison perl5 readline
diff --git a/misc/free42/files/patch-gtk_build-intel-lib.sh b/misc/free42/files/patch-gtk_build-intel-lib.sh
index ab7a51844cc7..2d619382ed07 100644
--- a/misc/free42/files/patch-gtk_build-intel-lib.sh
+++ b/misc/free42/files/patch-gtk_build-intel-lib.sh
@@ -17,11 +17,11 @@
-case `uname -m` in
- armv7|armv7l|i386|ppc)
+case `uname -p` in
-+ armv6|armv7|armv7l|i386|ppc|powerpc|powerpcspe|mips)
++ armv6|armv7|armv7l|i386|ppc|powerpc|powerpcspe)
patch -p0 <../intel-lib-unknown-32bit.patch
;;
- aarch64|arm64|i86pc)
-+ aarch64|arm64|i86pc|powerpc64|powerpc64le|mips64|riscv64)
++ aarch64|arm64|i86pc|powerpc64|powerpc64le|riscv64)
patch -p0 <../intel-lib-unknown-64bit.patch
;;
esac
diff --git a/misc/libpostal/Makefile b/misc/libpostal/Makefile
index 3678e02773c5..a5a1025bc139 100644
--- a/misc/libpostal/Makefile
+++ b/misc/libpostal/Makefile
@@ -15,9 +15,6 @@ WWW= https://github.com/openvenues/libpostal
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_mips= fails to compile: tagger.h:5: redefinition of typedef 'tagger_feature_function'
-BROKEN_mips64= fails to compile: tagger.h:5: redefinition of typedef 'tagger_feature_function'
-
RUN_DEPENDS= curl:ftp/curl
USES= autoreconf libtool localbase
diff --git a/misc/mtx/Makefile b/misc/mtx/Makefile
index 6e5b2af21da7..9793483db2d3 100644
--- a/misc/mtx/Makefile
+++ b/misc/mtx/Makefile
@@ -19,12 +19,6 @@ PLIST_FILES= sbin/mtx sbin/tapeinfo sbin/loaderinfo sbin/scsitape sbin/scsieject
share/man/man1/loaderinfo.1.gz share/man/man1/mtx.1.gz share/man/man1/tapeinfo.1.gz \
share/man/man1/scsitape.1.gz share/man/man1/scsieject.1.gz
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
-EXTRA_PATCHES= ${PATCHDIR}/extra-patch-FreeBSD_14
-.endif
-
post-patch:
${REINPLACE_CMD} -e 's|@prefix@|${STAGEDIR}${PREFIX}|g' \
${WRKSRC}/Makefile.in
diff --git a/misc/mtx/files/patch-mtx.h b/misc/mtx/files/patch-mtx.h
new file mode 100644
index 000000000000..0c74aecd4dfc
--- /dev/null
+++ b/misc/mtx/files/patch-mtx.h
@@ -0,0 +1,358 @@
+--- mtx.h.orig 2023-06-08 15:05:44 UTC
++++ mtx.h
+@@ -7,7 +7,7 @@
+
+ $Date: 2008-08-19 03:03:38 -0700 (Tue, 19 Aug 2008) $
+ $Revision: 193 $
+- See mtx.c for licensing information.
++ See mtx.c for licensing information.
+
+ */
+
+@@ -68,6 +68,9 @@
+ # include <sys/param.h>
+ #endif
+
++#if HAVE_STDBOOL_H
++#include <stdbool.h>
++#endif
+ /* Now greatly modified to use GNU Autoconf stuff: */
+ /* If we use the 'sg' interface, like Linux, do this: */
+ #if HAVE_SCSI_SG_H
+@@ -148,7 +151,7 @@ typedef dsreq_t *DEVICE_TYPE; /* 64-bit pointers/32bit
+ #endif /* VMS protect. */
+
+ /* Do a test for LITTLE_ENDIAN_BITFIELDS. Use WORDS_BIGENDIAN as set
+- * by configure:
++ * by configure:
+ */
+
+ #if WORDS_BIGENDIAN
+@@ -183,7 +186,7 @@ typedef dsreq_t *DEVICE_TYPE; /* 64-bit pointers/32bit
+ #undef S_VOLUME_OVERFLOW
+ #endif
+
+-/* Note: These are only used for defaults for when we don't have
++/* Note: These are only used for defaults for when we don't have
+ * the element assignment mode page to tell us real amount...
+ */
+ #define MAX_STORAGE_ELEMENTS 64 /* for the BIG jukeboxes! */
+@@ -212,18 +215,11 @@ typedef struct SCSI_Flags_Struct
+ } SCSI_Flags_T;
+
+ #ifdef _MSC_VER
+-typedef unsigned char boolean;
+-
+-#define false 0
+-#define true 1
+-
+ typedef unsigned char Direction_T;
+
+ #define Input 0
+ #define Output 1
+ #else
+-typedef enum { false, true } boolean;
+-
+ typedef enum { Input, Output } Direction_T;
+ #endif
+
+@@ -237,66 +233,66 @@ typedef struct Inquiry
+ unsigned char PeripheralDeviceType:5; /* Byte 0 Bits 0-4 */
+ unsigned char PeripheralQualifier:3; /* Byte 0 Bits 5-7 */
+ unsigned char DeviceTypeModifier:7; /* Byte 1 Bits 0-6 */
+- boolean RMB:1; /* Byte 1 Bit 7 */
++ bool RMB:1; /* Byte 1 Bit 7 */
+ unsigned char ANSI_ApprovedVersion:3; /* Byte 2 Bits 0-2 */
+ unsigned char ECMA_Version:3; /* Byte 2 Bits 3-5 */
+ unsigned char ISO_Version:2; /* Byte 2 Bits 6-7 */
+ unsigned char ResponseDataFormat:4; /* Byte 3 Bits 0-3 */
+ unsigned char :2; /* Byte 3 Bits 4-5 */
+- boolean TrmIOP:1; /* Byte 3 Bit 6 */
+- boolean AENC:1; /* Byte 3 Bit 7 */
++ bool TrmIOP:1; /* Byte 3 Bit 6 */
++ bool AENC:1; /* Byte 3 Bit 7 */
+ #else
+ unsigned char PeripheralQualifier:3; /* Byte 0 Bits 5-7 */
+ unsigned char PeripheralDeviceType:5; /* Byte 0 Bits 0-4 */
+- boolean RMB:1; /* Byte 1 Bit 7 */
++ bool RMB:1; /* Byte 1 Bit 7 */
+ unsigned char DeviceTypeModifier:7; /* Byte 1 Bits 0-6 */
+ unsigned char ISO_Version:2; /* Byte 2 Bits 6-7 */
+ unsigned char ECMA_Version:3; /* Byte 2 Bits 3-5 */
+ unsigned char ANSI_ApprovedVersion:3; /* Byte 2 Bits 0-2 */
+- boolean AENC:1; /* Byte 3 Bit 7 */
+- boolean TrmIOP:1; /* Byte 3 Bit 6 */
++ bool AENC:1; /* Byte 3 Bit 7 */
++ bool TrmIOP:1; /* Byte 3 Bit 6 */
+ unsigned char :2; /* Byte 3 Bits 4-5 */
+ unsigned char ResponseDataFormat:4; /* Byte 3 Bits 0-3 */
+ #endif
+ unsigned char AdditionalLength; /* Byte 4 */
+ unsigned char :8; /* Byte 5 */
+ #ifdef LITTLE_ENDIAN_BITFIELDS
+- boolean ADDR16:1; /* Byte 6 bit 0 */
+- boolean Obs6_1:1; /* Byte 6 bit 1 */
+- boolean Obs6_2:1; /* obsolete */ /* Byte 6 bit 2 */
+- boolean MChngr:1; /* Media Changer */ /* Byte 6 bit 3 */
+- boolean MultiP:1; /* Byte 6 bit 4 */
+- boolean VS:1; /* Byte 6 bit 5 */
+- boolean EncServ:1; /* Byte 6 bit 6 */
+- boolean BQue:1; /* Byte 6 bit 7 */
++ bool ADDR16:1; /* Byte 6 bit 0 */
++ bool Obs6_1:1; /* Byte 6 bit 1 */
++ bool Obs6_2:1; /* obsolete */ /* Byte 6 bit 2 */
++ bool MChngr:1; /* Media Changer */ /* Byte 6 bit 3 */
++ bool MultiP:1; /* Byte 6 bit 4 */
++ bool VS:1; /* Byte 6 bit 5 */
++ bool EncServ:1; /* Byte 6 bit 6 */
++ bool BQue:1; /* Byte 6 bit 7 */
+ #else
+- boolean BQue:1; /* Byte 6 bit 7 */
+- boolean EncServ:1; /* Byte 6 bit 6 */
+- boolean VS:1; /* Byte 6 bit 5 */
+- boolean MultiP:1; /* Byte 6 bit 4 */
+- boolean MChngr:1; /* Media Changer */ /* Byte 6 bit 3 */
+- boolean Obs6_2:1; /* obsolete */ /* Byte 6 bit 2 */
+- boolean Obs6_1:1; /* Byte 6 bit 1 */
+- boolean ADDR16:1; /* Byte 6 bit 0 */
++ bool BQue:1; /* Byte 6 bit 7 */
++ bool EncServ:1; /* Byte 6 bit 6 */
++ bool VS:1; /* Byte 6 bit 5 */
++ bool MultiP:1; /* Byte 6 bit 4 */
++ bool MChngr:1; /* Media Changer */ /* Byte 6 bit 3 */
++ bool Obs6_2:1; /* obsolete */ /* Byte 6 bit 2 */
++ bool Obs6_1:1; /* Byte 6 bit 1 */
++ bool ADDR16:1; /* Byte 6 bit 0 */
+ #endif
+ #ifdef LITTLE_ENDIAN_BITFIELDS
+- boolean SftRe:1; /* Byte 7 Bit 0 */
+- boolean CmdQue:1; /* Byte 7 Bit 1 */
+- boolean :1; /* Byte 7 Bit 2 */
+- boolean Linked:1; /* Byte 7 Bit 3 */
+- boolean Sync:1; /* Byte 7 Bit 4 */
+- boolean WBus16:1; /* Byte 7 Bit 5 */
+- boolean WBus32:1; /* Byte 7 Bit 6 */
+- boolean RelAdr:1; /* Byte 7 Bit 7 */
++ bool SftRe:1; /* Byte 7 Bit 0 */
++ bool CmdQue:1; /* Byte 7 Bit 1 */
++ bool :1; /* Byte 7 Bit 2 */
++ bool Linked:1; /* Byte 7 Bit 3 */
++ bool Sync:1; /* Byte 7 Bit 4 */
++ bool WBus16:1; /* Byte 7 Bit 5 */
++ bool WBus32:1; /* Byte 7 Bit 6 */
++ bool RelAdr:1; /* Byte 7 Bit 7 */
+ #else
+- boolean RelAdr:1; /* Byte 7 Bit 7 */
+- boolean WBus32:1; /* Byte 7 Bit 6 */
+- boolean WBus16:1; /* Byte 7 Bit 5 */
+- boolean Sync:1; /* Byte 7 Bit 4 */
+- boolean Linked:1; /* Byte 7 Bit 3 */
+- boolean :1; /* Byte 7 Bit 2 */
+- boolean CmdQue:1; /* Byte 7 Bit 1 */
+- boolean SftRe:1; /* Byte 7 Bit 0 */
++ bool RelAdr:1; /* Byte 7 Bit 7 */
++ bool WBus32:1; /* Byte 7 Bit 6 */
++ bool WBus16:1; /* Byte 7 Bit 5 */
++ bool Sync:1; /* Byte 7 Bit 4 */
++ bool Linked:1; /* Byte 7 Bit 3 */
++ bool :1; /* Byte 7 Bit 2 */
++ bool CmdQue:1; /* Byte 7 Bit 1 */
++ bool SftRe:1; /* Byte 7 Bit 0 */
+ #endif
+ unsigned char VendorIdentification[8]; /* Bytes 8-15 */
+ unsigned char ProductIdentification[16]; /* Bytes 16-31 */
+@@ -319,22 +315,22 @@ typedef struct RequestSense
+ {
+ #ifdef LITTLE_ENDIAN_BITFIELDS
+ unsigned char ErrorCode:7; /* Byte 0 Bits 0-6 */
+- boolean Valid:1; /* Byte 0 Bit 7 */
++ bool Valid:1; /* Byte 0 Bit 7 */
+ #else
+- boolean Valid:1; /* Byte 0 Bit 7 */
++ bool Valid:1; /* Byte 0 Bit 7 */
+ unsigned char ErrorCode:7; /* Byte 0 Bits 0-6 */
+ #endif
+ unsigned char SegmentNumber; /* Byte 1 */
+ #ifdef LITTLE_ENDIAN_BITFIELDS
+ unsigned char SenseKey:4; /* Byte 2 Bits 0-3 */
+ unsigned char :1; /* Byte 2 Bit 4 */
+- boolean ILI:1; /* Byte 2 Bit 5 */
+- boolean EOM:1; /* Byte 2 Bit 6 */
+- boolean Filemark:1; /* Byte 2 Bit 7 */
++ bool ILI:1; /* Byte 2 Bit 5 */
++ bool EOM:1; /* Byte 2 Bit 6 */
++ bool Filemark:1; /* Byte 2 Bit 7 */
+ #else
+- boolean Filemark:1; /* Byte 2 Bit 7 */
+- boolean EOM:1; /* Byte 2 Bit 6 */
+- boolean ILI:1; /* Byte 2 Bit 5 */
++ bool Filemark:1; /* Byte 2 Bit 7 */
++ bool EOM:1; /* Byte 2 Bit 6 */
++ bool ILI:1; /* Byte 2 Bit 5 */
+ unsigned char :1; /* Byte 2 Bit 4 */
+ unsigned char SenseKey:4; /* Byte 2 Bits 0-3 */
+ #endif
+@@ -346,15 +342,15 @@ typedef struct RequestSense
+ unsigned char :8; /* Byte 14 */
+ #ifdef LITTLE_ENDIAN_BITFIELDS
+ unsigned char BitPointer:3; /* Byte 15 */
+- boolean BPV:1;
++ bool BPV:1;
+ unsigned char :2;
+- boolean CommandData :1;
+- boolean SKSV:1;
++ bool CommandData :1;
++ bool SKSV:1;
+ #else
+- boolean SKSV:1;
+- boolean CommandData :1;
++ bool SKSV:1;
++ bool CommandData :1;
+ unsigned char :2;
+- boolean BPV:1;
++ bool BPV:1;
+ unsigned char BitPointer:3; /* Byte 15 */
+ #endif
+ unsigned char FieldData[2]; /* Byte 16,17 */
+@@ -436,11 +432,11 @@ typedef struct ElementStatusPage
+ ElementTypeCode_T ElementTypeCode:8; /* Byte 0 */
+ #ifdef LITTLE_ENDIAN_BITFIELDS
+ unsigned char :6; /* Byte 1 Bits 0-5 */
+- boolean AVolTag:1; /* Byte 1 Bit 6 */
+- boolean PVolTag:1; /* Byte 1 Bit 7 */
++ bool AVolTag:1; /* Byte 1 Bit 6 */
++ bool PVolTag:1; /* Byte 1 Bit 7 */
+ #else
+- boolean PVolTag:1; /* Byte 1 Bit 7 */
+- boolean AVolTag:1; /* Byte 1 Bit 6 */
++ bool PVolTag:1; /* Byte 1 Bit 7 */
++ bool AVolTag:1; /* Byte 1 Bit 6 */
+ unsigned char :6; /* Byte 1 Bits 0-5 */
+ #endif
+ unsigned char ElementDescriptorLength[2]; /* Bytes 2-3 */
+@@ -467,15 +463,15 @@ typedef struct TransportElementDescriptorShort
+ {
+ unsigned char ElementAddress[2]; /* Bytes 0-1 */
+ #ifdef LITTLE_ENDIAN_BITFIELDS
+- boolean Full:1; /* Byte 2 Bit 0 */
++ bool Full:1; /* Byte 2 Bit 0 */
+ unsigned char :1; /* Byte 2 Bit 1 */
+- boolean Except:1; /* Byte 2 Bit 2 */
++ bool Except:1; /* Byte 2 Bit 2 */
+ unsigned char :5; /* Byte 2 Bits 3-7 */
+ #else
+ unsigned char :5; /* Byte 2 Bits 3-7 */
+- boolean Except:1; /* Byte 2 Bit 2 */
++ bool Except:1; /* Byte 2 Bit 2 */
+ unsigned char :1; /* Byte 2 Bit 1 */
+- boolean Full:1; /* Byte 2 Bit 0 */
++ bool Full:1; /* Byte 2 Bit 0 */
+ #endif
+ unsigned char :8; /* Byte 3 */
+ unsigned char AdditionalSenseCode; /* Byte 4 */
+@@ -485,11 +481,11 @@ typedef struct TransportElementDescriptorShort
+ unsigned char :8; /* Byte 8 */
+ #ifdef LITTLE_ENDIAN_BITFIELDS
+ unsigned char :6; /* Byte 9 Bits 0-5 */
+- boolean SValid:1; /* Byte 9 Bit 6 */
+- boolean Invert:1; /* Byte 9 Bit 7 */
++ bool SValid:1; /* Byte 9 Bit 6 */
++ bool Invert:1; /* Byte 9 Bit 7 */
+ #else
+- boolean Invert:1; /* Byte 9 Bit 7 */
+- boolean SValid:1; /* Byte 9 Bit 6 */
++ bool Invert:1; /* Byte 9 Bit 7 */
++ bool SValid:1; /* Byte 9 Bit 6 */
+ unsigned char :6; /* Byte 9 Bits 0-5 */
+ #endif
+ unsigned char SourceStorageElementAddress[2]; /* Bytes 10-11 */
+@@ -504,15 +500,15 @@ typedef struct TransportElementDescriptor
+ {
+ unsigned char ElementAddress[2]; /* Bytes 0-1 */
+ #ifdef LITTLE_ENDIAN_BITFIELDS
+- boolean Full:1; /* Byte 2 Bit 0 */
++ bool Full:1; /* Byte 2 Bit 0 */
+ unsigned char :1; /* Byte 2 Bit 1 */
+- boolean Except:1; /* Byte 2 Bit 2 */
++ bool Except:1; /* Byte 2 Bit 2 */
+ unsigned char :5; /* Byte 2 Bits 3-7 */
+ #else
+ unsigned char :5; /* Byte 2 Bits 3-7 */
+- boolean Except:1; /* Byte 2 Bit 2 */
++ bool Except:1; /* Byte 2 Bit 2 */
+ unsigned char :1; /* Byte 2 Bit 1 */
+- boolean Full:1; /* Byte 2 Bit 0 */
++ bool Full:1; /* Byte 2 Bit 0 */
+ #endif
+ unsigned char :8; /* Byte 3 */
+ unsigned char AdditionalSenseCode; /* Byte 4 */
+@@ -522,20 +518,20 @@ typedef struct TransportElementDescriptor
+ unsigned char :8; /* Byte 8 */
+ #ifdef LITTLE_ENDIAN_BITFIELDS
+ unsigned char :6; /* Byte 9 Bits 0-5 */
+- boolean SValid:1; /* Byte 9 Bit 6 */
+- boolean Invert:1; /* Byte 9 Bit 7 */
++ bool SValid:1; /* Byte 9 Bit 6 */
++ bool Invert:1; /* Byte 9 Bit 7 */
+ #else
+- boolean Invert:1; /* Byte 9 Bit 7 */
+- boolean SValid:1; /* Byte 9 Bit 6 */
++ bool Invert:1; /* Byte 9 Bit 7 */
++ bool SValid:1; /* Byte 9 Bit 6 */
+ unsigned char :6; /* Byte 9 Bits 0-5 */
+ #endif
+ unsigned char SourceStorageElementAddress[2]; /* Bytes 10-11 */
+ unsigned char PrimaryVolumeTag[36]; /* barcode */
+- unsigned char AlternateVolumeTag[36];
++ unsigned char AlternateVolumeTag[36];
+ #ifdef HAS_LONG_DESCRIPTORS
+ unsigned char Reserved[4]; /* 4 extra bytes? */
+ #endif
+-
++
+ }
+ TransportElementDescriptor_T;
+
+@@ -558,12 +554,12 @@ typedef struct ElementStatus {
+ barcode *PrimaryVolumeTag; /* array */
+ barcode *AlternateVolumeTag; /* array */
+ int *StorageElementAddress; /* array */
+- boolean *StorageElementIsImportExport; /* array */
++ bool *StorageElementIsImportExport; /* array */
+
+ int TransportElementAddress; /* assume only one of those... */
+
+- boolean *DataTransferElementFull; /* array */
+- boolean *StorageElementFull; /* array */
++ bool *DataTransferElementFull; /* array */
++ bool *StorageElementFull; /* array */
+
+ } ElementStatus_T;
+
+@@ -577,7 +573,7 @@ typedef struct scsi_id {
+ #define MEDIUM_CHANGER_TYPE 8 /* what type bits are set for medium changers. */
+
+ /* The following two structs are used for the brain-dead functions of the
+- * NSM jukebox.
++ * NSM jukebox.
+ */
+
+ typedef struct NSM_Param {
+@@ -592,7 +588,7 @@ typedef struct NSM_Param {
+ unsigned char command_params[2048]; /* egregious overkill. */
+ } NSM_Param_T;
+
+-extern RequestSense_T scsi_error_sense;
++extern RequestSense_T scsi_error_sense;
+
+ typedef struct NSM_Result {
+ unsigned char page_code;
+@@ -600,7 +596,7 @@ typedef struct NSM_Result {
+ unsigned char page_len_msb;
+ unsigned char page_len_lsb;
+ unsigned char command_code[4];
+- unsigned char ces_code[2];
++ unsigned char ces_code[2];
+ unsigned char return_data[0xffff]; /* egregioius overkill */
+ } NSM_Result_T;
+
diff --git a/misc/mtx/files/extra-patch-FreeBSD_14 b/misc/mtx/files/patch-mtx1.c
index e5fbb2c6853d..69650aa433c2 100644
--- a/misc/mtx/files/extra-patch-FreeBSD_14
+++ b/misc/mtx/files/patch-mtx1.c
@@ -1,361 +1,3 @@
---- mtx.h.orig 2023-06-08 15:05:44 UTC
-+++ mtx.h
-@@ -7,7 +7,7 @@
-
- $Date: 2008-08-19 03:03:38 -0700 (Tue, 19 Aug 2008) $
- $Revision: 193 $
-- See mtx.c for licensing information.
-+ See mtx.c for licensing information.
-
- */
-
-@@ -68,6 +68,9 @@
- # include <sys/param.h>
- #endif
-
-+#if HAVE_STDBOOL_H
-+#include <stdbool.h>
-+#endif
- /* Now greatly modified to use GNU Autoconf stuff: */
- /* If we use the 'sg' interface, like Linux, do this: */
- #if HAVE_SCSI_SG_H
-@@ -148,7 +151,7 @@ typedef dsreq_t *DEVICE_TYPE; /* 64-bit pointers/32bit
- #endif /* VMS protect. */
-
- /* Do a test for LITTLE_ENDIAN_BITFIELDS. Use WORDS_BIGENDIAN as set
-- * by configure:
-+ * by configure:
- */
-
- #if WORDS_BIGENDIAN
-@@ -183,7 +186,7 @@ typedef dsreq_t *DEVICE_TYPE; /* 64-bit pointers/32bit
- #undef S_VOLUME_OVERFLOW
- #endif
-
--/* Note: These are only used for defaults for when we don't have
-+/* Note: These are only used for defaults for when we don't have
- * the element assignment mode page to tell us real amount...
- */
- #define MAX_STORAGE_ELEMENTS 64 /* for the BIG jukeboxes! */
-@@ -212,18 +215,11 @@ typedef struct SCSI_Flags_Struct
- } SCSI_Flags_T;
-
- #ifdef _MSC_VER
--typedef unsigned char boolean;
--
--#define false 0
--#define true 1
--
- typedef unsigned char Direction_T;
-
- #define Input 0
- #define Output 1
- #else
--typedef enum { false, true } boolean;
--
- typedef enum { Input, Output } Direction_T;
- #endif
-
-@@ -237,66 +233,66 @@ typedef struct Inquiry
- unsigned char PeripheralDeviceType:5; /* Byte 0 Bits 0-4 */
- unsigned char PeripheralQualifier:3; /* Byte 0 Bits 5-7 */
- unsigned char DeviceTypeModifier:7; /* Byte 1 Bits 0-6 */
-- boolean RMB:1; /* Byte 1 Bit 7 */
-+ bool RMB:1; /* Byte 1 Bit 7 */
- unsigned char ANSI_ApprovedVersion:3; /* Byte 2 Bits 0-2 */
- unsigned char ECMA_Version:3; /* Byte 2 Bits 3-5 */
- unsigned char ISO_Version:2; /* Byte 2 Bits 6-7 */
- unsigned char ResponseDataFormat:4; /* Byte 3 Bits 0-3 */
- unsigned char :2; /* Byte 3 Bits 4-5 */
-- boolean TrmIOP:1; /* Byte 3 Bit 6 */
-- boolean AENC:1; /* Byte 3 Bit 7 */
-+ bool TrmIOP:1; /* Byte 3 Bit 6 */
-+ bool AENC:1; /* Byte 3 Bit 7 */
- #else
- unsigned char PeripheralQualifier:3; /* Byte 0 Bits 5-7 */
- unsigned char PeripheralDeviceType:5; /* Byte 0 Bits 0-4 */
-- boolean RMB:1; /* Byte 1 Bit 7 */
-+ bool RMB:1; /* Byte 1 Bit 7 */
- unsigned char DeviceTypeModifier:7; /* Byte 1 Bits 0-6 */
- unsigned char ISO_Version:2; /* Byte 2 Bits 6-7 */
- unsigned char ECMA_Version:3; /* Byte 2 Bits 3-5 */
- unsigned char ANSI_ApprovedVersion:3; /* Byte 2 Bits 0-2 */
-- boolean AENC:1; /* Byte 3 Bit 7 */
-- boolean TrmIOP:1; /* Byte 3 Bit 6 */
-+ bool AENC:1; /* Byte 3 Bit 7 */
-+ bool TrmIOP:1; /* Byte 3 Bit 6 */
- unsigned char :2; /* Byte 3 Bits 4-5 */
- unsigned char ResponseDataFormat:4; /* Byte 3 Bits 0-3 */
- #endif
- unsigned char AdditionalLength; /* Byte 4 */
- unsigned char :8; /* Byte 5 */
- #ifdef LITTLE_ENDIAN_BITFIELDS
-- boolean ADDR16:1; /* Byte 6 bit 0 */
-- boolean Obs6_1:1; /* Byte 6 bit 1 */
-- boolean Obs6_2:1; /* obsolete */ /* Byte 6 bit 2 */
-- boolean MChngr:1; /* Media Changer */ /* Byte 6 bit 3 */
-- boolean MultiP:1; /* Byte 6 bit 4 */
-- boolean VS:1; /* Byte 6 bit 5 */
-- boolean EncServ:1; /* Byte 6 bit 6 */
-- boolean BQue:1; /* Byte 6 bit 7 */
-+ bool ADDR16:1; /* Byte 6 bit 0 */
-+ bool Obs6_1:1; /* Byte 6 bit 1 */
-+ bool Obs6_2:1; /* obsolete */ /* Byte 6 bit 2 */
-+ bool MChngr:1; /* Media Changer */ /* Byte 6 bit 3 */
-+ bool MultiP:1; /* Byte 6 bit 4 */
-+ bool VS:1; /* Byte 6 bit 5 */
-+ bool EncServ:1; /* Byte 6 bit 6 */
-+ bool BQue:1; /* Byte 6 bit 7 */
- #else
-- boolean BQue:1; /* Byte 6 bit 7 */
-- boolean EncServ:1; /* Byte 6 bit 6 */
-- boolean VS:1; /* Byte 6 bit 5 */
-- boolean MultiP:1; /* Byte 6 bit 4 */
-- boolean MChngr:1; /* Media Changer */ /* Byte 6 bit 3 */
-- boolean Obs6_2:1; /* obsolete */ /* Byte 6 bit 2 */
-- boolean Obs6_1:1; /* Byte 6 bit 1 */
-- boolean ADDR16:1; /* Byte 6 bit 0 */
-+ bool BQue:1; /* Byte 6 bit 7 */
-+ bool EncServ:1; /* Byte 6 bit 6 */
-+ bool VS:1; /* Byte 6 bit 5 */
-+ bool MultiP:1; /* Byte 6 bit 4 */
-+ bool MChngr:1; /* Media Changer */ /* Byte 6 bit 3 */
-+ bool Obs6_2:1; /* obsolete */ /* Byte 6 bit 2 */
-+ bool Obs6_1:1; /* Byte 6 bit 1 */
-+ bool ADDR16:1; /* Byte 6 bit 0 */
- #endif
- #ifdef LITTLE_ENDIAN_BITFIELDS
-- boolean SftRe:1; /* Byte 7 Bit 0 */
-- boolean CmdQue:1; /* Byte 7 Bit 1 */
-- boolean :1; /* Byte 7 Bit 2 */
-- boolean Linked:1; /* Byte 7 Bit 3 */
-- boolean Sync:1; /* Byte 7 Bit 4 */
-- boolean WBus16:1; /* Byte 7 Bit 5 */
-- boolean WBus32:1; /* Byte 7 Bit 6 */
-- boolean RelAdr:1; /* Byte 7 Bit 7 */
-+ bool SftRe:1; /* Byte 7 Bit 0 */
-+ bool CmdQue:1; /* Byte 7 Bit 1 */
-+ bool :1; /* Byte 7 Bit 2 */
-+ bool Linked:1; /* Byte 7 Bit 3 */
-+ bool Sync:1; /* Byte 7 Bit 4 */
-+ bool WBus16:1; /* Byte 7 Bit 5 */
-+ bool WBus32:1; /* Byte 7 Bit 6 */
-+ bool RelAdr:1; /* Byte 7 Bit 7 */
- #else
-- boolean RelAdr:1; /* Byte 7 Bit 7 */
-- boolean WBus32:1; /* Byte 7 Bit 6 */
-- boolean WBus16:1; /* Byte 7 Bit 5 */
-- boolean Sync:1; /* Byte 7 Bit 4 */
-- boolean Linked:1; /* Byte 7 Bit 3 */
-- boolean :1; /* Byte 7 Bit 2 */
-- boolean CmdQue:1; /* Byte 7 Bit 1 */
-- boolean SftRe:1; /* Byte 7 Bit 0 */
-+ bool RelAdr:1; /* Byte 7 Bit 7 */
-+ bool WBus32:1; /* Byte 7 Bit 6 */
-+ bool WBus16:1; /* Byte 7 Bit 5 */
-+ bool Sync:1; /* Byte 7 Bit 4 */
-+ bool Linked:1; /* Byte 7 Bit 3 */
-+ bool :1; /* Byte 7 Bit 2 */
-+ bool CmdQue:1; /* Byte 7 Bit 1 */
-+ bool SftRe:1; /* Byte 7 Bit 0 */
- #endif
- unsigned char VendorIdentification[8]; /* Bytes 8-15 */
- unsigned char ProductIdentification[16]; /* Bytes 16-31 */
-@@ -319,22 +315,22 @@ typedef struct RequestSense
- {
- #ifdef LITTLE_ENDIAN_BITFIELDS
- unsigned char ErrorCode:7; /* Byte 0 Bits 0-6 */
-- boolean Valid:1; /* Byte 0 Bit 7 */
-+ bool Valid:1; /* Byte 0 Bit 7 */
- #else
-- boolean Valid:1; /* Byte 0 Bit 7 */
-+ bool Valid:1; /* Byte 0 Bit 7 */
- unsigned char ErrorCode:7; /* Byte 0 Bits 0-6 */
- #endif
- unsigned char SegmentNumber; /* Byte 1 */
- #ifdef LITTLE_ENDIAN_BITFIELDS
- unsigned char SenseKey:4; /* Byte 2 Bits 0-3 */
- unsigned char :1; /* Byte 2 Bit 4 */
-- boolean ILI:1; /* Byte 2 Bit 5 */
-- boolean EOM:1; /* Byte 2 Bit 6 */
-- boolean Filemark:1; /* Byte 2 Bit 7 */
-+ bool ILI:1; /* Byte 2 Bit 5 */
-+ bool EOM:1; /* Byte 2 Bit 6 */
-+ bool Filemark:1; /* Byte 2 Bit 7 */
- #else
-- boolean Filemark:1; /* Byte 2 Bit 7 */
-- boolean EOM:1; /* Byte 2 Bit 6 */
-- boolean ILI:1; /* Byte 2 Bit 5 */
-+ bool Filemark:1; /* Byte 2 Bit 7 */
-+ bool EOM:1; /* Byte 2 Bit 6 */
-+ bool ILI:1; /* Byte 2 Bit 5 */
- unsigned char :1; /* Byte 2 Bit 4 */
- unsigned char SenseKey:4; /* Byte 2 Bits 0-3 */
- #endif
-@@ -346,15 +342,15 @@ typedef struct RequestSense
- unsigned char :8; /* Byte 14 */
- #ifdef LITTLE_ENDIAN_BITFIELDS
- unsigned char BitPointer:3; /* Byte 15 */
-- boolean BPV:1;
-+ bool BPV:1;
- unsigned char :2;
-- boolean CommandData :1;
-- boolean SKSV:1;
-+ bool CommandData :1;
-+ bool SKSV:1;
- #else
-- boolean SKSV:1;
-- boolean CommandData :1;
-+ bool SKSV:1;
-+ bool CommandData :1;
- unsigned char :2;
-- boolean BPV:1;
-+ bool BPV:1;
- unsigned char BitPointer:3; /* Byte 15 */
- #endif
- unsigned char FieldData[2]; /* Byte 16,17 */
-@@ -436,11 +432,11 @@ typedef struct ElementStatusPage
- ElementTypeCode_T ElementTypeCode:8; /* Byte 0 */
- #ifdef LITTLE_ENDIAN_BITFIELDS
- unsigned char :6; /* Byte 1 Bits 0-5 */
-- boolean AVolTag:1; /* Byte 1 Bit 6 */
-- boolean PVolTag:1; /* Byte 1 Bit 7 */
-+ bool AVolTag:1; /* Byte 1 Bit 6 */
-+ bool PVolTag:1; /* Byte 1 Bit 7 */
- #else
-- boolean PVolTag:1; /* Byte 1 Bit 7 */
-- boolean AVolTag:1; /* Byte 1 Bit 6 */
-+ bool PVolTag:1; /* Byte 1 Bit 7 */
-+ bool AVolTag:1; /* Byte 1 Bit 6 */
- unsigned char :6; /* Byte 1 Bits 0-5 */
- #endif
- unsigned char ElementDescriptorLength[2]; /* Bytes 2-3 */
-@@ -467,15 +463,15 @@ typedef struct TransportElementDescriptorShort
- {
- unsigned char ElementAddress[2]; /* Bytes 0-1 */
- #ifdef LITTLE_ENDIAN_BITFIELDS
-- boolean Full:1; /* Byte 2 Bit 0 */
-+ bool Full:1; /* Byte 2 Bit 0 */
- unsigned char :1; /* Byte 2 Bit 1 */
-- boolean Except:1; /* Byte 2 Bit 2 */
-+ bool Except:1; /* Byte 2 Bit 2 */
- unsigned char :5; /* Byte 2 Bits 3-7 */
- #else
- unsigned char :5; /* Byte 2 Bits 3-7 */
-- boolean Except:1; /* Byte 2 Bit 2 */
-+ bool Except:1; /* Byte 2 Bit 2 */
- unsigned char :1; /* Byte 2 Bit 1 */
-- boolean Full:1; /* Byte 2 Bit 0 */
-+ bool Full:1; /* Byte 2 Bit 0 */
- #endif
- unsigned char :8; /* Byte 3 */
- unsigned char AdditionalSenseCode; /* Byte 4 */
-@@ -485,11 +481,11 @@ typedef struct TransportElementDescriptorShort
- unsigned char :8; /* Byte 8 */
- #ifdef LITTLE_ENDIAN_BITFIELDS
- unsigned char :6; /* Byte 9 Bits 0-5 */
-- boolean SValid:1; /* Byte 9 Bit 6 */
-- boolean Invert:1; /* Byte 9 Bit 7 */
-+ bool SValid:1; /* Byte 9 Bit 6 */
-+ bool Invert:1; /* Byte 9 Bit 7 */
- #else
-- boolean Invert:1; /* Byte 9 Bit 7 */
-- boolean SValid:1; /* Byte 9 Bit 6 */
-+ bool Invert:1; /* Byte 9 Bit 7 */
-+ bool SValid:1; /* Byte 9 Bit 6 */
- unsigned char :6; /* Byte 9 Bits 0-5 */
- #endif
- unsigned char SourceStorageElementAddress[2]; /* Bytes 10-11 */
-@@ -504,15 +500,15 @@ typedef struct TransportElementDescriptor
- {
- unsigned char ElementAddress[2]; /* Bytes 0-1 */
- #ifdef LITTLE_ENDIAN_BITFIELDS
-- boolean Full:1; /* Byte 2 Bit 0 */
-+ bool Full:1; /* Byte 2 Bit 0 */
- unsigned char :1; /* Byte 2 Bit 1 */
-- boolean Except:1; /* Byte 2 Bit 2 */
-+ bool Except:1; /* Byte 2 Bit 2 */
- unsigned char :5; /* Byte 2 Bits 3-7 */
- #else
- unsigned char :5; /* Byte 2 Bits 3-7 */
-- boolean Except:1; /* Byte 2 Bit 2 */
-+ bool Except:1; /* Byte 2 Bit 2 */
- unsigned char :1; /* Byte 2 Bit 1 */
-- boolean Full:1; /* Byte 2 Bit 0 */
-+ bool Full:1; /* Byte 2 Bit 0 */
- #endif
- unsigned char :8; /* Byte 3 */
- unsigned char AdditionalSenseCode; /* Byte 4 */
-@@ -522,20 +518,20 @@ typedef struct TransportElementDescriptor
- unsigned char :8; /* Byte 8 */
- #ifdef LITTLE_ENDIAN_BITFIELDS
- unsigned char :6; /* Byte 9 Bits 0-5 */
-- boolean SValid:1; /* Byte 9 Bit 6 */
-- boolean Invert:1; /* Byte 9 Bit 7 */
-+ bool SValid:1; /* Byte 9 Bit 6 */
-+ bool Invert:1; /* Byte 9 Bit 7 */
- #else
-- boolean Invert:1; /* Byte 9 Bit 7 */
-- boolean SValid:1; /* Byte 9 Bit 6 */
-+ bool Invert:1; /* Byte 9 Bit 7 */
-+ bool SValid:1; /* Byte 9 Bit 6 */
- unsigned char :6; /* Byte 9 Bits 0-5 */
- #endif
- unsigned char SourceStorageElementAddress[2]; /* Bytes 10-11 */
- unsigned char PrimaryVolumeTag[36]; /* barcode */
-- unsigned char AlternateVolumeTag[36];
-+ unsigned char AlternateVolumeTag[36];
- #ifdef HAS_LONG_DESCRIPTORS
- unsigned char Reserved[4]; /* 4 extra bytes? */
- #endif
--
-+
- }
- TransportElementDescriptor_T;
-
-@@ -558,12 +554,12 @@ typedef struct ElementStatus {
- barcode *PrimaryVolumeTag; /* array */
- barcode *AlternateVolumeTag; /* array */
- int *StorageElementAddress; /* array */
-- boolean *StorageElementIsImportExport; /* array */
-+ bool *StorageElementIsImportExport; /* array */
-
- int TransportElementAddress; /* assume only one of those... */
-
-- boolean *DataTransferElementFull; /* array */
-- boolean *StorageElementFull; /* array */
-+ bool *DataTransferElementFull; /* array */
-+ bool *StorageElementFull; /* array */
-
- } ElementStatus_T;
-
-@@ -577,7 +573,7 @@ typedef struct scsi_id {
- #define MEDIUM_CHANGER_TYPE 8 /* what type bits are set for medium changers. */
-
- /* The following two structs are used for the brain-dead functions of the
-- * NSM jukebox.
-+ * NSM jukebox.
- */
-
- typedef struct NSM_Param {
-@@ -592,7 +588,7 @@ typedef struct NSM_Param {
- unsigned char command_params[2048]; /* egregious overkill. */
- } NSM_Param_T;
-
--extern RequestSense_T scsi_error_sense;
-+extern RequestSense_T scsi_error_sense;
-
- typedef struct NSM_Result {
- unsigned char page_code;
-@@ -600,7 +596,7 @@ typedef struct NSM_Result {
- unsigned char page_len_msb;
- unsigned char page_len_lsb;
- unsigned char command_code[4];
-- unsigned char ces_code[2];
-+ unsigned char ces_code[2];
- unsigned char return_data[0xffff]; /* egregioius overkill */
- } NSM_Result_T;
-
--- mtxl.c.orig 2023-06-08 15:12:53 UTC
+++ mtxl.c
@@ -23,7 +23,7 @@
@@ -921,3 +563,4 @@
msg = "Current" ;
}
else if (RequestSense->ErrorCode == 0x71)
+
diff --git a/misc/qman/Makefile b/misc/qman/Makefile
index d7e7b0140841..c6449e45cb01 100644
--- a/misc/qman/Makefile
+++ b/misc/qman/Makefile
@@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= cog:devel/py-cogapp
-USES= groff:run meson pkgconfig
+USES= groff:run meson ncurses pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= plp13
@@ -37,15 +37,6 @@ MANPAGES_MESON_ENABLED= man-pages
PORTDOCS= BUILDING.md CONTRIBUTING.md DEBUGGING.md OS_SPECIFIC.md \
README.md TESTING.md TROUBLESHOOTING.md
-.include <bsd.port.options.mk>
-
-# FreeBSD 13 is missing /usr/libdata/pkgconfig/ncursesw.pc
-.if ${OPSYS} == FreeBSD && ${OSREL:R} == 13
-USES+= ncurses:port
-.else
-USES+= ncurses
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/config/qman.conf
diff --git a/misc/thrill/Makefile b/misc/thrill/Makefile
index ca287b6aa632..b249d10dcb6f 100644
--- a/misc/thrill/Makefile
+++ b/misc/thrill/Makefile
@@ -10,7 +10,7 @@ WWW= https://project-thrill.org/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe # static_assert failed due to requirement 'sizeof(unsigned int) == 8' "FOXXLL supports only 64-bit builds"
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc powerpcspe # static_assert failed due to requirement 'sizeof(unsigned int) == 8' "FOXXLL supports only 64-bit builds"
LIB_DEPENDS= libmpi_cxx.so:net/openmpi4
diff --git a/multimedia/ab25/Makefile b/multimedia/ab25/Makefile
index 066461f31853..b36806cf91bc 100644
--- a/multimedia/ab25/Makefile
+++ b/multimedia/ab25/Makefile
@@ -23,12 +23,6 @@ PLIST_FILES= bin/b25 \
OPTIONS_DEFINE= DOCS
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} <= 1400079
-PLIST_FILES+= lib/libab25_p.a
-.endif
-
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/include/ab25
@@ -36,4 +30,4 @@ post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/multimedia/ffmpeg3/Makefile b/multimedia/ffmpeg3/Makefile
index 1ffae6043d48..5556838a47ed 100644
--- a/multimedia/ffmpeg3/Makefile
+++ b/multimedia/ffmpeg3/Makefile
@@ -16,7 +16,7 @@ WWW= https://ffmpeg.org/
LICENSE= GPLv2+ LGPL21+
LICENSE_COMB= multi
-NOT_FOR_ARCHS= mips mips64 powerpc powerpc64 powerpcspe
+NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe
NOT_FOR_ARCHS_REASON= emulators/ppsspp only supports little-endian, see \
https://github.com/hrydgard/ppsspp/issues/8823
diff --git a/multimedia/gst123/Makefile b/multimedia/gst123/Makefile
index deeceaa6d06b..06d753a0ab70 100644
--- a/multimedia/gst123/Makefile
+++ b/multimedia/gst123/Makefile
@@ -23,15 +23,8 @@ GNU_CONFIGURE= yes
PLIST_FILES= bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS}_${OSREL:R} == FreeBSD_13
-CONFIGURE_ENV= NCURSES_CFLAGS=-I${NCURSESINC} NCURSES_LIBS=-L${NCURSESLIB}
-LDFLAGS+= ${TINFO_LIB}
-.endif
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/multimedia/lms/Makefile b/multimedia/lms/Makefile
index 336c58e8cead..e189a23eaf53 100644
--- a/multimedia/lms/Makefile
+++ b/multimedia/lms/Makefile
@@ -48,13 +48,6 @@ MAGICK_DESC= Use GraphicsMagick++ as image library
MAGICK_LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick
MAGICK_CMAKE_ON= -DLMS_IMAGE_BACKEND:STRING=graphicsmagick
-.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400000
-USES+= llvm:17 # fix the build failure on 13: error: object of type 'const lms::core::LiteralString' cannot be compared because its 'operator<=>' is implicitly deleted
-.else
-USES+= compiler:c++20-lang
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|"/etc"|"${PREFIX}/etc"|' \
${WRKSRC}/src/libs/core/include/core/SystemPaths.hpp
diff --git a/multimedia/oscam/Makefile b/multimedia/oscam/Makefile
index 635c69dbe49a..d39f1f7d3c87 100644
--- a/multimedia/oscam/Makefile
+++ b/multimedia/oscam/Makefile
@@ -26,12 +26,6 @@ MAKE_ARGS= CC="${CC}" HOSTCC="${CC}" \
WRKSRC= ${WRKDIR}/${PORTNAME}-ef7f844
-.include <bsd.port.pre.mk>
-
-.if ${ARCH:Mmips*}
-USE_GCC= yes
-.endif
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Distribution/oscam ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/Distribution/doc/man/*.1 ${STAGEDIR}${PREFIX}/share/man/man1/
@@ -41,4 +35,4 @@ do-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/Distribution/doc/example/* ${STAGEDIR}${EXAMPLESDIR}/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/multimedia/ossia-score/Makefile b/multimedia/ossia-score/Makefile
index 72647089c1a6..f69abe91927b 100644
--- a/multimedia/ossia-score/Makefile
+++ b/multimedia/ossia-score/Makefile
@@ -13,7 +13,6 @@ WWW= https://ossia.io/ \
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-BROKEN_FreeBSD_13= compilation fails: fatal error: 'sys/timerfd.h' file not found
NOT_FOR_ARCHS= armv6 armv7 i386
NOT_FOR_ARCHS_REASON= configure fails: score depends on kfrlib which only supports 64-bit systems (coming from cmake/ScoreConfiguration.cmake:137)
diff --git a/multimedia/tsduck/Makefile b/multimedia/tsduck/Makefile
index ff0ad0152326..264c6bef340a 100644
--- a/multimedia/tsduck/Makefile
+++ b/multimedia/tsduck/Makefile
@@ -11,8 +11,6 @@ WWW= https://tsduck.io
LICENSE= BSD2CLAUSE
-BROKEN_FreeBSD_13= requires OpenSSL 3.0
-
BUILD_DEPENDS= bash:shells/bash \
coreutils>0:sysutils/coreutils \
dos2unix:converters/unix2dos \
diff --git a/net-im/kaccounts-integration/Makefile b/net-im/kaccounts-integration/Makefile
index f59759887a85..54333de43675 100644
--- a/net-im/kaccounts-integration/Makefile
+++ b/net-im/kaccounts-integration/Makefile
@@ -18,10 +18,4 @@ USE_KDE= config coreaddons dbusaddons i18n kcmutils kdeclarative kio \
iconthemes:run
USE_QT= base declarative
-.include <bsd.port.options.mk>
-
-.if ${ARCH:Mpowerpc*} && ${OSVERSION} < 1400092
-USES+= llvm:min=16
-.endif
-
.include <bsd.port.mk>
diff --git a/net-im/prosody/Makefile b/net-im/prosody/Makefile
index 7395d09c2350..bc8556fe4887 100644
--- a/net-im/prosody/Makefile
+++ b/net-im/prosody/Makefile
@@ -61,10 +61,4 @@ post-install:
@${MKDIR} ${STAGEDIR}/var/run/prosody
@${RM} ${STAGEDIR}${ETCDIR}/certs/*
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400000 && ${SSL_DEFAULT} == base
-EXTRA_PATCHES= ${PATCHDIR}/freebsd-13-patches
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-im/prosody/files/freebsd-13-patches/patch-spec_util__crypto__spec.lua b/net-im/prosody/files/freebsd-13-patches/patch-spec_util__crypto__spec.lua
deleted file mode 100644
index 4b2bb5ec8739..000000000000
--- a/net-im/prosody/files/freebsd-13-patches/patch-spec_util__crypto__spec.lua
+++ /dev/null
@@ -1,35 +0,0 @@
---- spec/util_crypto_spec.lua.orig 2025-03-13 13:12:42 UTC
-+++ spec/util_crypto_spec.lua
-@@ -3,32 +3,11 @@ describe("util.crypto", function ()
- describe("util.crypto", function ()
- local crypto = require "util.crypto";
- local random = require "util.random";
-- local encodings = require "util.encodings";
-
- describe("generate_ed25519_keypair", function ()
- local keypair = crypto.generate_ed25519_keypair();
- assert.is_not_nil(keypair);
- assert.equal("ED25519", keypair:get_type());
-- end)
--
-- describe("generate_p256_keypair", function ()
-- local keypair = crypto.generate_p256_keypair();
-- assert.is_not_nil(keypair);
-- assert.equal("id-ecPublicKey", keypair:get_type());
-- end)
--
-- describe("export/import raw", function ()
-- local keypair = crypto.generate_p256_keypair();
-- assert.is_not_nil(keypair);
-- local raw = keypair:public_raw()
-- local imported = crypto.import_public_ec_raw(raw, "P-256")
-- assert.equal(keypair:public_pem(), imported:public_pem());
-- end)
--
-- describe("derive", function ()
-- local key = crypto.import_private_pem(test_keys.ecdsa_private_pem);
-- local peer_key = crypto.import_public_pem(test_keys.ecdsa_public_pem);
-- assert.equal("n1v4KeKmOVwjC67fiKtjJnqcEaasbpZa2fLPNHW51co=", encodings.base64.encode(key:derive(peer_key)))
- end)
-
- describe("import_private_pem", function ()
diff --git a/net-im/prosody/files/freebsd-13-patches/patch-util-src_crypto.c b/net-im/prosody/files/freebsd-13-patches/patch-util-src_crypto.c
deleted file mode 100644
index 2b805a603c95..000000000000
--- a/net-im/prosody/files/freebsd-13-patches/patch-util-src_crypto.c
+++ /dev/null
@@ -1,171 +0,0 @@
---- util-src/crypto.c.orig 2025-03-13 13:12:42 UTC
-+++ util-src/crypto.c
-@@ -27,7 +27,6 @@ typedef unsigned __int32 uint32_t;
- #include <openssl/err.h>
- #include <openssl/evp.h>
- #include <openssl/obj_mac.h>
--#include <openssl/param_build.h>
- #include <openssl/pem.h>
-
- #if (LUA_VERSION_NUM == 501)
-@@ -93,40 +92,6 @@ static int Lpkey_meth_get_type(lua_State *L) {
- return 1;
- }
-
--static int Lpkey_meth_derive(lua_State *L) {
-- size_t outlen;
-- EVP_PKEY *key = pkey_from_arg(L, 1, 0, 0);
-- EVP_PKEY *peer = pkey_from_arg(L, 2, 0, 0);
-- EVP_PKEY_CTX *ctx;
-- BUF_MEM *buf;
-- BIO *bio = new_managed_BIO_s_mem(L);
-- BIO_get_mem_ptr(bio, &buf);
-- if (!(ctx = EVP_PKEY_CTX_new(key, NULL)))
-- goto sslerr;
-- if (EVP_PKEY_derive_init(ctx) <= 0)
-- goto sslerr;
-- if (EVP_PKEY_derive_set_peer(ctx, peer) <= 0)
-- goto sslerr;
-- if (EVP_PKEY_derive(ctx, NULL, &outlen) <= 0)
-- goto sslerr;
-- if (!BUF_MEM_grow_clean(buf, outlen))
-- goto sslerr;
-- if (EVP_PKEY_derive(ctx, (unsigned char*)buf->data, &outlen) <= 0)
-- goto sslerr;
-- EVP_PKEY_CTX_free(ctx);
-- ctx = NULL;
-- lua_pushlstring(L, buf->data, outlen);
-- BIO_reset(bio);
-- return 1;
--sslerr:
-- if (ctx) {
-- EVP_PKEY_CTX_free(ctx);
-- ctx = NULL;
-- }
-- BIO_reset(bio);
-- return luaL_error(L, "pkey:derive failed");
--}
--
- static int base_evp_sign(lua_State *L, const int key_type, const EVP_MD *digest_type) {
- EVP_PKEY *pkey = pkey_from_arg(L, 1, (key_type!=NID_rsassaPss)?key_type:NID_rsaEncryption, 1);
- luaL_Buffer sigbuf;
-@@ -198,28 +163,6 @@ cleanup:
- return 1;
- }
-
--static int Lpkey_meth_public_raw(lua_State *L) {
-- OSSL_PARAM *params;
-- EVP_PKEY *pkey = pkey_from_arg(L, 1, 0, 0);
--
-- if (EVP_PKEY_todata(pkey, EVP_PKEY_PUBLIC_KEY, &params)) {
-- OSSL_PARAM *item = params;
-- while (item->key) {
-- if (!strcmp("pub", item->key)) {
-- lua_pushlstring(L, item->data, item->data_size);
-- break;
-- }
-- item++;
-- }
-- if (!item->key) lua_pushnil(L);
-- OSSL_PARAM_free(params);
-- } else {
-- lua_pushnil(L);
-- }
--
-- return 1;
--}
--
- static int Lpkey_meth_public_pem(lua_State *L) {
- char *data;
- size_t bytes;
-@@ -294,25 +237,6 @@ static int Lgenerate_ed25519_keypair(lua_State *L) {
- return 1;
- }
-
--static int Lgenerate_p256_keypair(lua_State *L) {
-- EVP_PKEY *pkey = NULL;
-- EVP_PKEY_CTX *pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_EC, NULL);
--
-- /* Generate key */
-- if (EVP_PKEY_keygen_init(pctx) <= 0) goto err;
-- if (EVP_PKEY_CTX_set_ec_paramgen_curve_nid(pctx, NID_X9_62_prime256v1) <= 0) goto err;
-- if (EVP_PKEY_keygen(pctx, &pkey) <= 0) goto err;
-- EVP_PKEY_CTX_free(pctx);
--
-- push_pkey(L, pkey, NID_X9_62_prime256v1, 1);
-- return 1;
--
--err:
-- if (pctx) EVP_PKEY_CTX_free(pctx);
-- lua_pushnil(L);
-- return 1;
--}
--
- static int Limport_private_pem(lua_State *L) {
- EVP_PKEY *pkey = NULL;
-
-@@ -333,42 +257,6 @@ static int Limport_private_pem(lua_State *L) {
- return 1;
- }
-
--static int Limport_public_ec_raw(lua_State *L) {
-- OSSL_PARAM_BLD *param_bld = NULL;
-- OSSL_PARAM *params = NULL;
-- EVP_PKEY_CTX *ctx = NULL;
-- EVP_PKEY *pkey = NULL;
--
-- size_t pubkey_bytes;
-- const char* pubkey_data = luaL_checklstring(L, 1, &pubkey_bytes);
-- const char* curve = luaL_checkstring(L, 2);
--
-- param_bld = OSSL_PARAM_BLD_new();
-- if (!param_bld) goto err;
-- if (!OSSL_PARAM_BLD_push_utf8_string(param_bld, "group", curve, 0)) goto err;
-- if (!OSSL_PARAM_BLD_push_octet_string(param_bld, "pub", pubkey_data, pubkey_bytes)) goto err;
-- params = OSSL_PARAM_BLD_to_param(param_bld);
-- if (!params) goto err;
-- ctx = EVP_PKEY_CTX_new_from_name(NULL, "EC", NULL);
-- if (!ctx) goto err;
-- if (!EVP_PKEY_fromdata_init(ctx)) goto err;
-- if (EVP_PKEY_fromdata(ctx, &pkey, EVP_PKEY_PUBLIC_KEY, params) <= 0) goto err;
--
-- push_pkey(L, pkey, EVP_PKEY_id(pkey), 0);
--
-- EVP_PKEY_CTX_free(ctx);
-- OSSL_PARAM_free(params);
-- OSSL_PARAM_BLD_free(param_bld);
--
-- return 1;
--err:
-- if (ctx) EVP_PKEY_CTX_free(ctx);
-- if (params) OSSL_PARAM_free(params);
-- if (param_bld) OSSL_PARAM_BLD_free(param_bld);
-- lua_pushnil(L);
-- return 1;
--}
--
- static int Limport_public_pem(lua_State *L) {
- EVP_PKEY *pkey = NULL;
-
-@@ -683,11 +571,9 @@ static const luaL_Reg Reg[] = {
- { "aes_256_ctr_decrypt", Laes_256_ctr_decrypt },
-
- { "generate_ed25519_keypair", Lgenerate_ed25519_keypair },
-- { "generate_p256_keypair", Lgenerate_p256_keypair },
-
- { "import_private_pem", Limport_private_pem },
- { "import_public_pem", Limport_public_pem },
-- { "import_public_ec_raw", Limport_public_ec_raw },
-
- { "parse_ecdsa_signature", Lparse_ecdsa_signature },
- { "build_ecdsa_signature", Lbuild_ecdsa_signature },
-@@ -697,9 +583,7 @@ static const luaL_Reg KeyMethods[] = {
- static const luaL_Reg KeyMethods[] = {
- { "private_pem", Lpkey_meth_private_pem },
- { "public_pem", Lpkey_meth_public_pem },
-- { "public_raw", Lpkey_meth_public_raw },
- { "get_type", Lpkey_meth_get_type },
-- { "derive", Lpkey_meth_derive },
- { NULL, NULL }
- };
-
diff --git a/net-mgmt/andwatch/Makefile b/net-mgmt/andwatch/Makefile
index 67191dcccb47..f53755955d34 100644
--- a/net-mgmt/andwatch/Makefile
+++ b/net-mgmt/andwatch/Makefile
@@ -9,8 +9,6 @@ WWW= https://github.com/dennypage/andwatch
LICENSE= BSD2CLAUSE
-BROKEN_FreeBSD_13= Does not build
-
LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \
libcurl.so:ftp/curl
diff --git a/net-mgmt/ipfixcol2/Makefile b/net-mgmt/ipfixcol2/Makefile
index a167ea4b36f2..dfbe0db2ab84 100644
--- a/net-mgmt/ipfixcol2/Makefile
+++ b/net-mgmt/ipfixcol2/Makefile
@@ -34,12 +34,6 @@ PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES
-# XXX Drop after FreeBSD 13 EOL around 2026-04-30
-.if !exists(/usr/include/sys/timerfd.h)
-CFLAGS+= `pkg-config --cflags epoll-shim`
-LDFLAGS+= `pkg-config --libs epoll-shim`
-.endif
-
post-install:
${MKDIR} ${STAGEDIR}${ETCDIR} ${STAGEDIR}/var/run/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/doc/data/configs/udp2json.xml \
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index 20a5ff664d4b..98b9b0d1ece2 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -14,9 +14,6 @@ WWW= http://net-snmp.sourceforge.net/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
-NOT_FOR_ARCHS= mips mips64
-NOT_FOR_ARCHS_REASON= SSP is currently broken on MIPS
-
OPTIONS_DEFINE= MFD_REWRITES PERL PERL_EMBEDDED PYTHON DUMMY TKMIB \
MYSQL AX_SOCKONLY UNPRIVILEGED SMUX DOCS AX_DISABLE_TRAP \
TLS NEWSYSLOG NOLIBPKG SCTP AES
diff --git a/net-mgmt/ocsinventory-agent/Makefile b/net-mgmt/ocsinventory-agent/Makefile
index 0572ca8f9a90..63ce26b5ae82 100644
--- a/net-mgmt/ocsinventory-agent/Makefile
+++ b/net-mgmt/ocsinventory-agent/Makefile
@@ -57,7 +57,7 @@ SNMP_RUN_DEPENDS= nmap:security/nmap \
.include <bsd.port.options.mk>
-.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == riscv64 || ${ARCH} == riscv64sf
+.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == riscv64
RUN_DEPENDS+= dmidecode:sysutils/dmidecode
.endif
diff --git a/net-mgmt/p5-FusionInventory-Agent/Makefile b/net-mgmt/p5-FusionInventory-Agent/Makefile
index 7be17121f659..30152589f726 100644
--- a/net-mgmt/p5-FusionInventory-Agent/Makefile
+++ b/net-mgmt/p5-FusionInventory-Agent/Makefile
@@ -50,7 +50,6 @@ OPTIONS_DEFAULT_armv6= DMIDECODE
OPTIONS_DEFAULT_armv7= DMIDECODE
OPTIONS_DEFAULT_i386= DMIDECODE
OPTIONS_DEFAULT_riscv64= DMIDECODE
-OPTIONS_DEFAULT_riscv64sf= DMIDECODE
OPTIONS_SUB= yes
DAEMON_DESC= Daemon mode, with opt. web interface
diff --git a/net-p2p/hostd/Makefile b/net-p2p/hostd/Makefile
index 8ed554c858a6..db502e7b84e4 100644
--- a/net-p2p/hostd/Makefile
+++ b/net-p2p/hostd/Makefile
@@ -11,7 +11,7 @@ WWW= https://sia.tech/host
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc powerpcspe
NOT_FOR_ARCHS_REASON= requires 64-bit architecture
USES= go:1.24+,modules
diff --git a/net-p2p/ncdc/Makefile b/net-p2p/ncdc/Makefile
index 2c4aa0782dba..97dc9232bb77 100644
--- a/net-p2p/ncdc/Makefile
+++ b/net-p2p/ncdc/Makefile
@@ -26,10 +26,4 @@ OPTIONS_DEFAULT= GEOIP
GEOIP_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb
GEOIP_CONFIGURE_WITH= geoip
-.include <bsd.port.options.mk>
-
-.if ${OPSYS}_${OSREL:R} == FreeBSD_13
-CONFIGURE_ENV= NCURSES_CFLAGS="-L${NCURSESLIB}" NCURSES_LIBS="-lncursesw"
-.endif
-
.include <bsd.port.mk>
diff --git a/net-p2p/qbittorrent/Makefile b/net-p2p/qbittorrent/Makefile
index 30507a73aca6..0c8020f18794 100644
--- a/net-p2p/qbittorrent/Makefile
+++ b/net-p2p/qbittorrent/Makefile
@@ -69,13 +69,6 @@ PYTHON_USES= python:run
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400000
-#LIB_DEPENDS+= libcrypto.so:security/openssl # LIB_DEPENDS doesn't work here (after bsd.port.options.mk)
-BUILD_DEPENDS+= openssl>0:security/openssl
-RUN_DEPENDS+= openssl>0:security/openssl
-CMAKE_ARGS= -DOPENSSL_ROOT_DIR=${LOCALBASE}
-.endif
-
post-patch-PYTHON-on:
@${REINPLACE_CMD} \
-e 's|"python3"|"${PYTHON_CMD}"|' \
diff --git a/net-p2p/renterd/Makefile b/net-p2p/renterd/Makefile
index 717e8d32a3d8..f1db8a3787be 100644
--- a/net-p2p/renterd/Makefile
+++ b/net-p2p/renterd/Makefile
@@ -11,7 +11,7 @@ WWW= https://sia.tech/renterd
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc powerpcspe
NOT_FOR_ARCHS_REASON= requires 64-bit architecture
USES= go:1.24+,modules
diff --git a/net-p2p/tremotesf/Makefile b/net-p2p/tremotesf/Makefile
index 0a9357178270..3ac33325fb8f 100644
--- a/net-p2p/tremotesf/Makefile
+++ b/net-p2p/tremotesf/Makefile
@@ -14,6 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt
BUILD_DEPENDS= cxxopts>0:devel/cxxopts
LIB_DEPENDS= libfmt.so:devel/libfmt \
libpsl.so:dns/libpsl
+TEST_DEPENDS= cpp-httplib>0:www/cpp-httplib
USES= cmake:testing compiler:c++23-lang desktop-file-utils \
gettext-tools gl kde:6 pkgconfig qt:6 tar:zst xorg
@@ -23,16 +24,8 @@ USE_KDE= widgetsaddons windowsystem
USE_QT= base
USE_XORG= x11
+CMAKE_ARGS= -DTREMOTESF_WITH_HTTPLIB=system
EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/src/3rdparty/cpp-httplib \
--no-same-owner --no-same-permissions
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092
-TEST_DEPENDS= cpp-httplib>0:www/cpp-httplib
-CMAKE_ARGS= -DTREMOTESF_WITH_HTTPLIB=system
-.else
-CMAKE_ARGS= -DTREMOTESF_WITH_HTTPLIB=none
-.endif
-
.include <bsd.port.mk>
diff --git a/net-p2p/walletd/Makefile b/net-p2p/walletd/Makefile
index ab178e94ef16..bbfcf773743b 100644
--- a/net-p2p/walletd/Makefile
+++ b/net-p2p/walletd/Makefile
@@ -12,7 +12,7 @@ WWW= https://sia.tech/software/walletd
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc powerpcspe
NOT_FOR_ARCHS_REASON= requires 64-bit architecture
USES= go:1.24+,modules
diff --git a/net/aoe/Makefile b/net/aoe/Makefile
index 6ce5d1aa67ea..d897862c3719 100644
--- a/net/aoe/Makefile
+++ b/net/aoe/Makefile
@@ -13,7 +13,6 @@ LICENSE= BSD2CLAUSE
BROKEN= aoenet.c:119:20: error: incomplete definition of type 'struct ifnet'
BROKEN_armv6= fails to compile: implicit declaration of function 'cp15_pmccntr_get' is invalid in C99
-BROKEN_FreeBSD_13= crashes dereferencing vnet_entry_ifnet
BROKEN_FreeBSD_14= crashes dereferencing vnet_entry_ifnet
USES= kmod uidfix
diff --git a/net/asterisk20/Makefile b/net/asterisk20/Makefile
index 1fc5603255ac..dc0559a6bc74 100644
--- a/net/asterisk20/Makefile
+++ b/net/asterisk20/Makefile
@@ -233,7 +233,7 @@ PJSIP_VERSION= 2.16
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-third-party_pjproject_Makefile
.endif
-.if (${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base) || \
+.if (${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base) || \
${SSL_DEFAULT:Mopenssl3*}
LIB_DEPENDS+= libgnutls.so:security/gnutls
CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L
diff --git a/net/asterisk22/Makefile b/net/asterisk22/Makefile
index d759c38f8e1c..09d94a882a1f 100644
--- a/net/asterisk22/Makefile
+++ b/net/asterisk22/Makefile
@@ -231,7 +231,7 @@ PJSIP_VERSION= 2.16
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-third-party_pjproject_Makefile
.endif
-.if (${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base) || \
+.if (${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base) || \
${SSL_DEFAULT:Mopenssl3*}
LIB_DEPENDS+= libgnutls.so:security/gnutls
CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L
diff --git a/net/bctoolbox/Makefile b/net/bctoolbox/Makefile
index bd0249a811c5..8db5c32e884e 100644
--- a/net/bctoolbox/Makefile
+++ b/net/bctoolbox/Makefile
@@ -27,12 +27,6 @@ CMAKE_OFF= ENABLE_UNIT_TESTS
CFLAGS+= -DHAVE_ARC4RANDOM
LDFLAGS+= -lpthread
-.include <bsd.port.options.mk>
-
-.if ( ${OPSYS} == FreeBSD && ${OSVERSION} < 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl111}
-IGNORE= is not supported on systems with OpenSSL 1.1.1
-.endif
-
post-patch:
@${REINPLACE_CMD} '/clock_gettime/d' ${WRKSRC}/CMakeLists.txt
diff --git a/net/bird2/Makefile b/net/bird2/Makefile
index 426bea794804..d586353b8a9f 100644
--- a/net/bird2/Makefile
+++ b/net/bird2/Makefile
@@ -67,14 +67,4 @@ RPKI_LIB_DEPENDS= libssh.so:security/libssh
CONFIGURE_ARGS+=--with-sysconfig=bsd-netlink
.endif
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400000
-FLAVORS= rtsock netlink
-netlink_PKGNAMESUFFIX= 2-netlink
-rtsock_PKGNAMESUFFIX= 2
-.endif
-
-.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1500000 && ${OSVERSION} < 1500017)
-EXTRA_PATCHES= ${PATCHDIR}/extra-patch-netlink-route
-.endif
-
.include <bsd.port.mk>
diff --git a/net/bird2/files/extra-patch-netlink-route/patch-sysdep_bsd-netlink_netlink-route.h b/net/bird2/files/extra-patch-netlink-route/patch-sysdep_bsd-netlink_netlink-route.h
deleted file mode 100644
index b50ef3b3257e..000000000000
--- a/net/bird2/files/extra-patch-netlink-route/patch-sysdep_bsd-netlink_netlink-route.h
+++ /dev/null
@@ -1,370 +0,0 @@
---- /dev/null 2024-03-22 15:39:07.538356000 +0100
-+++ sysdep/bsd-netlink/netlink-route.h 2024-03-22 15:39:02.226088000 +0100
-@@ -0,0 +1,367 @@
-+/*-
-+ * SPDX-License-Identifier: BSD-2-Clause
-+ *
-+ * Copyright (c) 2022 Alexander V. Chernikov <melifaro@FreeBSD.org>
-+ *
-+ * Redistribution and use in source and binary forms, with or without
-+ * modification, are permitted provided that the following conditions
-+ * are met:
-+ * 1. Redistributions of source code must retain the above copyright
-+ * notice, this list of conditions and the following disclaimer.
-+ * 2. Redistributions in binary form must reproduce the above copyright
-+ * notice, this list of conditions and the following disclaimer in the
-+ * documentation and/or other materials provided with the distribution.
-+ *
-+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-+ * SUCH DAMAGE.
-+ */
-+
-+/*
-+ * Route-related (RTM_<NEW|DEL|GET>ROUTE) message header and attributes.
-+ */
-+
-+#ifndef _NETLINK_ROUTE_ROUTE_H_
-+#define _NETLINK_ROUTE_ROUTE_H_
-+
-+/* Base header for all of the relevant messages */
-+struct rtmsg {
-+ unsigned char rtm_family; /* address family */
-+ unsigned char rtm_dst_len; /* Prefix length */
-+ unsigned char rtm_src_len; /* Source prefix length (not used) */
-+ unsigned char rtm_tos; /* Type of service (not used) */
-+ unsigned char rtm_table; /* rtable id */
-+ unsigned char rtm_protocol; /* Routing protocol id (RTPROT_) */
-+ unsigned char rtm_scope; /* Route distance (RT_SCOPE_) */
-+ unsigned char rtm_type; /* Route type (RTN_) */
-+ unsigned rtm_flags; /* Route flags (RTM_F_) */
-+};
-+
-+/*
-+ * RFC 3549, 3.1.1, route type (rtm_type field).
-+ */
-+enum {
-+ RTN_UNSPEC,
-+ RTN_UNICAST, /* Unicast route */
-+ RTN_LOCAL, /* Accept locally (not supported) */
-+ RTN_BROADCAST, /* Accept locally as broadcast, send as broadcast */
-+ RTN_ANYCAST, /* Accept locally as broadcast, but send as unicast */
-+ RTN_MULTICAST, /* Multicast route */
-+ RTN_BLACKHOLE, /* Drop traffic towards destination */
-+ RTN_UNREACHABLE, /* Destination is unreachable */
-+ RTN_PROHIBIT, /* Administratively prohibited */
-+ RTN_THROW, /* Not in this table (not supported) */
-+ RTN_NAT, /* Translate this address (not supported) */
-+ RTN_XRESOLVE, /* Use external resolver (not supported) */
-+ __RTN_MAX,
-+};
-+#define RTN_MAX (__RTN_MAX - 1)
-+
-+/*
-+ * RFC 3549, 3.1.1, protocol (Identifies what/who added the route).
-+ * Values larger than RTPROT_STATIC(4) are not interpreted by the
-+ * kernel, they are just for user information.
-+ */
-+#define RTPROT_UNSPEC 0
-+#define RTPROT_REDIRECT 1 /* Route installed by ICMP redirect */
-+#define RTPROT_KERNEL 2 /* Route installed by kernel */
-+#define RTPROT_BOOT 3 /* Route installed during boot */
-+#define RTPROT_STATIC 4 /* Route installed by administrator */
-+
-+#define RTPROT_GATED 8
-+#define RTPROT_RA 9
-+#define RTPROT_MRT 1
-+#define RTPROT_ZEBRA 11
-+#define RTPROT_BIRD 12
-+#define RTPROT_DNROUTED 13
-+#define RTPROT_XORP 14
-+#define RTPROT_NTK 15
-+#define RTPROT_DHCP 16
-+#define RTPROT_MROUTED 17
-+#define RTPROT_KEEPALIVED 18
-+#define RTPROT_BABEL 42
-+#define RTPROT_OPENR 99
-+#define RTPROT_BGP 186
-+#define RTPROT_ISIS 187
-+#define RTPROT_OSPF 188
-+#define RTPROT_RIP 189
-+#define RTPROT_EIGRP 192
-+
-+/*
-+ * RFC 3549 3.1.1 Route scope (valid distance to destination).
-+ *
-+ * The values between RT_SCOPE_UNIVERSE(0) and RT_SCOPE_SITE(200)
-+ * are available to the user.
-+ */
-+enum rt_scope_t {
-+ RT_SCOPE_UNIVERSE = 0,
-+ /* User defined values */
-+ RT_SCOPE_SITE = 200,
-+ RT_SCOPE_LINK = 253,
-+ RT_SCOPE_HOST = 254,
-+ RT_SCOPE_NOWHERE = 255
-+};
-+
-+/*
-+ * RFC 3549 3.1.1 Route flags (rtm_flags).
-+ * Is a composition of RTNH_F flags (0x1..0x40 range), RTM_F flags (below)
-+ * and per-protocol (IPv4/IPv6) flags.
-+ */
-+#define RTM_F_NOTIFY 0x00000100 /* not supported */
-+#define RTM_F_CLONED 0x00000200 /* not supported */
-+#define RTM_F_EQUALIZE 0x00000400 /* not supported */
-+#define RTM_F_PREFIX 0x00000800 /* not supported */
-+#define RTM_F_LOOKUP_TABLE 0x00001000 /* not supported */
-+#define RTM_F_FIB_MATCH 0x00002000 /* not supported */
-+#define RTM_F_OFFLOAD 0x00004000 /* not supported */
-+#define RTM_F_TRAP 0x00008000 /* not supported */
-+#define RTM_F_OFFLOAD_FAILED 0x20000000 /* not supported */
-+
-+/* Compatibility handling helpers */
-+#ifndef _KERNEL
-+#define NL_RTM_HDRLEN ((int)sizeof(struct rtmsg))
-+#define RTM_RTA(_rtm) ((struct rtattr *)((char *)(_rtm) + NL_RTM_HDRLEN))
-+#define RTM_PAYLOAD(_hdr) NLMSG_PAYLOAD((_hdr), NL_RTM_HDRLEN)
-+#endif
-+
-+/*
-+ * Routing table identifiers.
-+ * FreeBSD route table numbering starts from 0, where 0 is a valid default routing table.
-+ * Indicating "all tables" via netlink can be done by not including RTA_TABLE attribute
-+ * and keeping rtm_table=0 (compatibility) or setting RTA_TABLE value to RT_TABLE_UNSPEC.
-+ */
-+#define RT_TABLE_MAIN 0 /* RT_DEFAULT_FIB */
-+#define RT_TABLE_UNSPEC 0xFFFFFFFF /* RT_ALL_FIBS */
-+
-+enum rtattr_type_t {
-+ NL_RTA_UNSPEC,
-+ NL_RTA_DST = 1, /* binary, IPv4/IPv6 destination */
-+ NL_RTA_SRC = 2, /* binary, preferred source address */
-+ NL_RTA_IIF = 3, /* not supported */
-+ NL_RTA_OIF = 4, /* u32, transmit ifindex */
-+ NL_RTA_GATEWAY = 5, /* binary: IPv4/IPv6 gateway */
-+ NL_RTA_PRIORITY = 6, /* not supported */
-+ NL_RTA_PREFSRC = 7, /* not supported */
-+ NL_RTA_METRICS = 8, /* nested, list of NL_RTAX* attrs */
-+ NL_RTA_MULTIPATH = 9, /* binary, array of struct rtnexthop */
-+ NL_RTA_PROTOINFO = 10, /* not supported / deprecated */
-+ NL_RTA_KNH_ID = 10, /* u32, FreeBSD specific, kernel nexthop index */
-+ NL_RTA_FLOW = 11, /* not supported */
-+ NL_RTA_CACHEINFO = 12, /* not supported */
-+ NL_RTA_SESSION = 13, /* not supported / deprecated */
-+ NL_RTA_WEIGHT = 13, /* u32, FreeBSD specific, path weight */
-+ NL_RTA_MP_ALGO = 14, /* not supported / deprecated */
-+ NL_RTA_RTFLAGS = 14, /* u32, FreeBSD specific, path flags (RTF_)*/
-+ NL_RTA_TABLE = 15, /* u32, fibnum */
-+ NL_RTA_MARK = 16, /* not supported */
-+ NL_RTA_MFC_STATS = 17, /* not supported */
-+ NL_RTA_VIA = 18, /* binary, struct rtvia */
-+ NL_RTA_NEWDST = 19, /* not supported */
-+ NL_RTA_PREF = 20, /* not supported */
-+ NL_RTA_ENCAP_TYPE = 21, /* not supported */
-+ NL_RTA_ENCAP = 22, /* not supported */
-+ NL_RTA_EXPIRES = 23, /* u32, seconds till expiration */
-+ NL_RTA_PAD = 24, /* not supported */
-+ NL_RTA_UID = 25, /* not supported */
-+ NL_RTA_TTL_PROPAGATE = 26, /* not supported */
-+ NL_RTA_IP_PROTO = 27, /* not supported */
-+ NL_RTA_SPORT = 28, /* not supported */
-+ NL_RTA_DPORT = 29, /* not supported */
-+ NL_RTA_NH_ID = 30, /* u32, nexthop/nexthop group index */
-+ __RTA_MAX
-+};
-+#define NL_RTA_MAX (__RTA_MAX - 1)
-+
-+/*
-+ * Attributes that can be used as filters:
-+ *
-+ */
-+
-+#ifndef _KERNEL
-+/*
-+ * RTA_* space has clashes with rtsock namespace.
-+ * Use NL_RTA_ prefix in the kernel and map to
-+ * RTA_ for userland.
-+ */
-+#define RTA_UNSPEC NL_RTA_UNSPEC
-+#define RTA_DST NL_RTA_DST
-+#define RTA_SRC NL_RTA_SRC
-+#define RTA_IIF NL_RTA_IIF
-+#define RTA_OIF NL_RTA_OIF
-+#define RTA_GATEWAY NL_RTA_GATEWAY
-+#define RTA_PRIORITY NL_RTA_PRIORITY
-+#define RTA_PREFSRC NL_RTA_PREFSRC
-+#define RTA_METRICS NL_RTA_METRICS
-+#define RTA_MULTIPATH NL_RTA_MULTIPATH
-+#define RTA_PROTOINFO NL_RTA_PROTOINFO
-+#define RTA_KNH_ID NL_RTA_KNH_ID
-+#define RTA_FLOW NL_RTA_FLOW
-+#define RTA_CACHEINFO NL_RTA_CACHEINFO
-+#define RTA_SESSION NL_RTA_SESSION
-+#define RTA_MP_ALGO NL_RTA_MP_ALGO
-+#define RTA_TABLE NL_RTA_TABLE
-+#define RTA_MARK NL_RTA_MARK
-+#define RTA_MFC_STATS NL_RTA_MFC_STATS
-+#define RTA_VIA NL_RTA_VIA
-+#define RTA_NEWDST NL_RTA_NEWDST
-+#define RTA_PREF NL_RTA_PREF
-+#define RTA_ENCAP_TYPE NL_RTA_ENCAP_TYPE
-+#define RTA_ENCAP NL_RTA_ENCAP
-+#define RTA_EXPIRES NL_RTA_EXPIRES
-+#define RTA_PAD NL_RTA_PAD
-+#define RTA_UID NL_RTA_UID
-+#define RTA_TTL_PROPAGATE NL_RTA_TTL_PROPAGATE
-+#define RTA_IP_PROTO NL_RTA_IP_PROTO
-+#define RTA_SPORT NL_RTA_SPORT
-+#define RTA_DPORT NL_RTA_DPORT
-+#define RTA_NH_ID NL_RTA_NH_ID
-+#define RTA_MAX NL_RTA_MAX
-+#endif
-+
-+/* route attribute header */
-+struct rtattr {
-+ unsigned short rta_len;
-+ unsigned short rta_type;
-+};
-+
-+#define NL_RTA_ALIGN_SIZE NL_ITEM_ALIGN_SIZE
-+#define NL_RTA_ALIGN NL_ITEM_ALIGN
-+#define NL_RTA_HDRLEN ((int)sizeof(struct rtattr))
-+#define NL_RTA_DATA_LEN(_rta) ((int)((_rta)->rta_len - NL_RTA_HDRLEN))
-+#define NL_RTA_DATA(_rta) NL_ITEM_DATA(_rta, NL_RTA_HDRLEN)
-+#define NL_RTA_DATA_CONST(_rta) NL_ITEM_DATA_CONST(_rta, NL_RTA_HDRLEN)
-+
-+/* Compatibility attribute handling helpers */
-+#ifndef _KERNEL
-+#define RTA_ALIGNTO NL_RTA_ALIGN_SIZE
-+#define RTA_ALIGN(_len) NL_RTA_ALIGN(_len)
-+#define _RTA_LEN(_rta) ((int)(_rta)->rta_len)
-+#define _RTA_ALIGNED_LEN(_rta) RTA_ALIGN(_RTA_LEN(_rta))
-+#define RTA_OK(_rta, _len) NL_ITEM_OK(_rta, _len, NL_RTA_HDRLEN, _RTA_LEN)
-+#define RTA_NEXT(_rta, _len) NL_ITEM_ITER(_rta, _len, _RTA_ALIGNED_LEN)
-+#define RTA_LENGTH(_len) (NL_RTA_HDRLEN + (_len))
-+#define RTA_SPACE(_len) RTA_ALIGN(RTA_LENGTH(_len))
-+#define RTA_DATA(_rta) NL_RTA_DATA(_rta)
-+#define RTA_PAYLOAD(_rta) ((int)(_RTA_LEN(_rta) - NL_RTA_HDRLEN))
-+#endif
-+
-+/* RTA attribute headers */
-+
-+/* RTA_VIA */
-+struct rtvia {
-+ sa_family_t rtvia_family;
-+ uint8_t rtvia_addr[0];
-+};
-+
-+/*
-+ * RTA_METRICS is a nested attribute, consisting of a list of
-+ * TLVs with types defined below.
-+ */
-+ enum {
-+ NL_RTAX_UNSPEC,
-+ NL_RTAX_LOCK = 1, /* not supported */
-+ NL_RTAX_MTU = 2, /* desired path MTU */
-+ NL_RTAX_WINDOW = 3, /* not supported */
-+ NL_RTAX_RTT = 4, /* not supported */
-+ NL_RTAX_RTTVAR = 5, /* not supported */
-+ NL_RTAX_SSTHRESH = 6, /* not supported */
-+ NL_RTAX_CWND = 7, /* not supported */
-+ NL_RTAX_ADVMSS = 8, /* not supported */
-+ NL_RTAX_REORDERING = 9, /* not supported */
-+ NL_RTAX_HOPLIMIT = 10, /* not supported */
-+ NL_RTAX_INITCWND = 11, /* not supporrted */
-+ NL_RTAX_FEATURES = 12, /* not supported */
-+ NL_RTAX_RTO_MIN = 13, /* not supported */
-+ NL_RTAX_INITRWND = 14, /* not supported */
-+ NL_RTAX_QUICKACK = 15, /* not supported */
-+ NL_RTAX_CC_ALGO = 16, /* not supported */
-+ NL_RTAX_FASTOPEN_NO_COOKIE = 17, /* not supported */
-+ __NL_RTAX_MAX
-+};
-+#define NL_RTAX_MAX (__NL_RTAX_MAX - 1)
-+
-+#define RTAX_FEATURE_ECN (1 << 0)
-+#define RTAX_FEATURE_SACK (1 << 1)
-+#define RTAX_FEATURE_TIMESTAMP (1 << 2)
-+#define RTAX_FEATURE_ALLFRAG (1 << 3)
-+
-+#define RTAX_FEATURE_MASK \
-+ (RTAX_FEATURE_ECN | RTAX_FEATURE_SACK | RTAX_FEATURE_TIMESTAMP | \
-+ RTAX_FEATURE_ALLFRAG)
-+
-+#ifndef _KERNEL
-+
-+/*
-+ * RTAX_* space clashes with rtsock namespace.
-+ * Use NL_RTAX_ prefix in the kernel and map to
-+ * RTAX_ for userland.
-+ */
-+#define RTAX_UNSPEC NL_RTAX_UNSPEC
-+#define RTAX_LOCK NL_RTAX_LOCK
-+#define RTAX_MTU NL_RTAX_MTU
-+#define RTAX_WINDOW NL_RTAX_WINDOW
-+#define RTAX_RTT NL_RTAX_RTT
-+#define RTAX_RTTVAR NL_RTAX_RTTVAR
-+#define RTAX_SSTHRESH NL_RTAX_SSTHRESH
-+#define RTAX_CWND NL_RTAX_CWND
-+#define RTAX_ADVMSS NL_RTAX_ADVMSS
-+#define RTAX_REORDERING NL_RTAX_REORDERING
-+#define RTAX_HOPLIMIT NL_RTAX_HOPLIMIT
-+#define RTAX_INITCWND NL_RTAX_INITCWND
-+#define RTAX_FEATURES NL_RTAX_FEATURES
-+#define RTAX_RTO_MIN NL_RTAX_RTO_MIN
-+#define RTAX_INITRWND NL_RTAX_INITRWND
-+#define RTAX_QUICKACK NL_RTAX_QUICKACK
-+#define RTAX_CC_ALGO NL_RTAX_CC_ALGO
-+#define RTAX_FASTOPEN_NO_COOKIE NL_RTAX_FASTOPEN_NO_COOKIE
-+#endif
-+
-+/*
-+ * RTA_MULTIPATH consists of an array of rtnexthop structures.
-+ * Each rtnexthop structure contains RTA_GATEWAY or RTA_VIA
-+ * attribute following the header.
-+ */
-+struct rtnexthop {
-+ unsigned short rtnh_len;
-+ unsigned char rtnh_flags;
-+ unsigned char rtnh_hops; /* nexthop weight */
-+ int rtnh_ifindex;
-+};
-+
-+/* rtnh_flags */
-+#define RTNH_F_DEAD 0x01 /* not supported */
-+#define RTNH_F_PERVASIVE 0x02 /* not supported */
-+#define RTNH_F_ONLINK 0x04 /* not supported */
-+#define RTNH_F_OFFLOAD 0x08 /* not supported */
-+#define RTNH_F_LINKDOWN 0x10 /* not supported */
-+#define RTNH_F_UNRESOLVED 0x20 /* not supported */
-+#define RTNH_F_TRAP 0x40 /* not supported */
-+
-+#define RTNH_COMPARE_MASK (RTNH_F_DEAD | RTNH_F_LINKDOWN | \
-+ RTNH_F_OFFLOAD | RTNH_F_TRAP)
-+
-+/* Macros to handle hexthops */
-+#define RTNH_ALIGNTO NL_ITEM_ALIGN_SIZE
-+#define RTNH_ALIGN(_len) NL_ITEM_ALIGN(_len)
-+#define RTNH_HDRLEN ((int)sizeof(struct rtnexthop))
-+#define _RTNH_LEN(_nh) ((int)(_nh)->rtnh_len)
-+#define _RTNH_ALIGNED_LEN(_nh) RTNH_ALIGN(_RTNH_LEN(_nh))
-+#define RTNH_OK(_nh, _len) NL_ITEM_OK(_nh, _len, RTNH_HDRLEN, _RTNH_LEN)
-+#define RTNH_NEXT(_nh) ((struct rtnexthop *)((char *)(_nh) + _RTNH_ALIGNED_LEN(_nh)))
-+#define RTNH_LENGTH(_len) (RTNH_HDRLEN + (_len))
-+#define RTNH_SPACE(_len) RTNH_ALIGN(RTNH_LENGTH(_len))
-+#define RTNH_DATA(_nh) ((struct rtattr *)NL_ITEM_DATA(_nh, RTNH_HDRLEN))
-+
-+struct rtgenmsg {
-+ unsigned char rtgen_family;
-+};
-+
-+#endif
diff --git a/net/bird2/files/extra-patch-netlink-route/patch-sysdep_bsd-netlink_netlink-sys.h b/net/bird2/files/extra-patch-netlink-route/patch-sysdep_bsd-netlink_netlink-sys.h
deleted file mode 100644
index 004ab52775a6..000000000000
--- a/net/bird2/files/extra-patch-netlink-route/patch-sysdep_bsd-netlink_netlink-sys.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- sysdep/bsd-netlink/netlink-sys.h.orig 2024-03-22 14:19:18 UTC
-+++ sysdep/bsd-netlink/netlink-sys.h
-@@ -9,6 +9,7 @@
- #ifndef _BIRD_NETLINK_SYS_H_
- #define _BIRD_NETLINK_SYS_H_
-
-+#include "netlink-route.h"
- #include <netlink/netlink.h>
- #include <netlink/netlink_route.h>
-
diff --git a/net/cloud-init/Makefile b/net/cloud-init/Makefile
index d15d76c0745c..5fccedf2ba38 100644
--- a/net/cloud-init/Makefile
+++ b/net/cloud-init/Makefile
@@ -46,7 +46,7 @@ PLIST_FILES+= ${MAN1FILES:S|^|share/man/man1/|:S|.1$|.1.gz|}
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000
+.if ${OPSYS} == FreeBSD
EXTRA_PATCHES+= ${PATCHDIR}/extra-cloudinit_distros_freebsd.py
.endif
diff --git a/net/delegate/Makefile b/net/delegate/Makefile
index 44275fa69ad2..a1751220fabe 100644
--- a/net/delegate/Makefile
+++ b/net/delegate/Makefile
@@ -15,9 +15,6 @@ LICENSE_NAME= aist
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
-BROKEN_mips= fails to build: gmake[1]: [Makefile:116: mkmake.exe] Error 1
-BROKEN_mips64= fails to build: gmake[1]: [Makefile:116: mkmake.exe] Error 1
-
USES= compiler:c11 cpe gmake
SUB_FILES= pkg-message
diff --git a/net/eternalterminal/Makefile b/net/eternalterminal/Makefile
index b364268b2cef..9946284687bd 100644
--- a/net/eternalterminal/Makefile
+++ b/net/eternalterminal/Makefile
@@ -11,8 +11,6 @@ WWW= https://eternalterminal.dev/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_13= OpenSSL versions prior to 3.0.0 are not supported
-
LIB_DEPENDS= libabsl_log_internal_check_op.so:devel/abseil \
libprotobuf.so:devel/protobuf \
libsodium.so:security/libsodium \
diff --git a/net/gotify-server/Makefile b/net/gotify-server/Makefile
index 3410fedf9298..29f8deef3f44 100644
--- a/net/gotify-server/Makefile
+++ b/net/gotify-server/Makefile
@@ -16,7 +16,7 @@ LICENSE= MIT
BROKEN_i386= Build does not succeed (timeout in poudriere)
BUILD_DEPENDS= yarn${NODEJS_SUFFIX}>=1.10.0:www/yarn${NODEJS_SUFFIX} \
-
+
USES= go:modules nodejs:build
USE_RC_SUBR= gotify_server
GO_MODULE= github.com/gotify/server/v2
@@ -30,7 +30,7 @@ GO_BUILDFLAGS= -buildmode=pie -modcacherw \
-X 'main.BuildDate=${_BUILD_DATE}' \
-X 'main.Mode=prod'"
-.include <bsd.port.pre.mk>
+MAKE_ENV+= NODE_OPTIONS=--openssl-legacy-provider
USERS= gotify
GROUPS= gotify
@@ -40,7 +40,7 @@ PLIST_FILES= bin/gotify-server
post-patch:
# setup yarnrc for offline node_modules installatio
@${ECHO_CMD} 'yarn-offline-mirror "${WRKDIR}/yarn-offline-cache"' >> ${WRKSRC}/ui/.yarnrc
-
+
pre-build:
@cd ${WRKSRC}/ui && ${SETENV} ${MAKE_ENV} HOME=${WRKDIR} PUPPETEER_SKIP_DOWNLOAD=true yarn install --offline
@cd ${WRKSRC}/ui && ${SETENV} ${MAKE_ENV} yarn build
@@ -80,4 +80,4 @@ make-yarn-cache: patch
@${ECHO_CMD} upload ${PORTNAME}-yarn-offline-cache-${DISTVERSION}${EXTRACT_SUFX}
#@${ECHO_CMD} scp work/gotify-server-yarn-offline-cache-*.tar.gz mfechner@freefall.freebsd.org:public_distfiles/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/hsflowd/Makefile b/net/hsflowd/Makefile
index 4308382fac65..95083b1648f3 100644
--- a/net/hsflowd/Makefile
+++ b/net/hsflowd/Makefile
@@ -7,9 +7,6 @@ MAINTAINER= zi@FreeBSD.org
COMMENT= Agent that exports metrics using the sFlow protocol
WWW= https://host-sflow.sourceforge.net/
-BROKEN_mips= fails to compile: src/FreeBSD/Makefile: Malformed conditional (empty $(BINDIR))
-BROKEN_mips64= fails to compile: src/FreeBSD/Makefile: Malformed conditional (empty $(BINDIR))
-
SUB_FILES= pkg-message
USE_RC_SUBR= ${PORTNAME}
MAKE_ENV= BINDIR=${PREFIX}/sbin INITDIR=${PREFIX}/etc/rc.d \
diff --git a/net/kdenetwork-filesharing/Makefile b/net/kdenetwork-filesharing/Makefile
index b74950ba3d89..5e794732c921 100644
--- a/net/kdenetwork-filesharing/Makefile
+++ b/net/kdenetwork-filesharing/Makefile
@@ -16,11 +16,4 @@ USE_XORG= x11
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.if ${ARCH:Mpowerpc*} && ${OSVERSION} < 1400092
-CXX= clang++${LLVM_VERSION}
-USES+= llvm:min=16
-.endif
-
.include <bsd.port.mk>
diff --git a/net/librdkafka/Makefile b/net/librdkafka/Makefile
index 8f2af2dc4a9a..f0a03c6c35b5 100644
--- a/net/librdkafka/Makefile
+++ b/net/librdkafka/Makefile
@@ -10,9 +10,6 @@ WWW= https://github.com/edenhill/librdkafka/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_mips= fails to build: undefined reference to __sync_add_and_fetch_4
-BROKEN_mips64= fails to build: undefined reference to __sync_add_and_fetch_4
-
BUILD_DEPENDS= bash:shells/bash \
${LOCALBASE}/include/rapidjson/schema.h:devel/rapidjson
LIB_DEPENDS= libcurl.so:ftp/curl \
diff --git a/net/libusrsctp/Makefile b/net/libusrsctp/Makefile
index d5636b99c927..a81a53924bb0 100644
--- a/net/libusrsctp/Makefile
+++ b/net/libusrsctp/Makefile
@@ -26,11 +26,8 @@ PLIST_FILES= include/usrsctp.h \
CFLAGS+= -Wno-error
-.include <bsd.port.pre.mk>
-
post-patch:
-.if ${OSVERSION} >= 1400000
@${REINPLACE_CMD} -e 's|ip6protosw.h|ip6_var.h|g' \
${WRKSRC}/usrsctplib/netinet/sctp_os_userspace.h
-.endif
-.include <bsd.port.post.mk>
+
+.include <bsd.port.mk>
diff --git a/net/messagelib/Makefile b/net/messagelib/Makefile
index 2592b1618b65..98136af90407 100644
--- a/net/messagelib/Makefile
+++ b/net/messagelib/Makefile
@@ -8,8 +8,6 @@ WWW= https://invent.kde.org/pim/messagelib
LICENSE= LGPL21
-IGNORE_FreeBSD_13= is not supported on systems with OpenSSL 1.1.1
-
BUILD_DEPENDS= ${LOCALBASE}/include/boost/range/algorithm.hpp:devel/boost-libs
LIB_DEPENDS= libassuan.so:security/libassuan \
libgpg-error.so:security/libgpg-error \
diff --git a/net/openmpi/Makefile b/net/openmpi/Makefile
index 2739c1e9c486..d3f44dc5bce6 100644
--- a/net/openmpi/Makefile
+++ b/net/openmpi/Makefile
@@ -60,8 +60,6 @@ OPTIONS_EXCLUDE_aarch64= AVX
OPTIONS_EXCLUDE_armv6= AVX SLURM
OPTIONS_EXCLUDE_armv7= AVX SLURM
OPTIONS_EXCLUDE_i386= SLURM
-OPTIONS_EXCLUDE_mips= AVX SLURM
-OPTIONS_EXCLUDE_mips64= AVX
OPTIONS_EXCLUDE_powerpc= AVX SLURM
OPTIONS_EXCLUDE_powerpc64= AVX
OPTIONS_EXCLUDE_powerpc64le= AVX
diff --git a/net/openmpi4/Makefile b/net/openmpi4/Makefile
index 072fcd88c251..568b4ed78727 100644
--- a/net/openmpi4/Makefile
+++ b/net/openmpi4/Makefile
@@ -60,8 +60,6 @@ OPTIONS_EXCLUDE_aarch64= AVX
OPTIONS_EXCLUDE_armv6= AVX SLURM
OPTIONS_EXCLUDE_armv7= AVX SLURM
OPTIONS_EXCLUDE_i386= SLURM
-OPTIONS_EXCLUDE_mips= AVX SLURM
-OPTIONS_EXCLUDE_mips64= AVX
OPTIONS_EXCLUDE_powerpc= AVX SLURM
OPTIONS_EXCLUDE_powerpc64= AVX
OPTIONS_EXCLUDE_powerpc64le= AVX
diff --git a/net/openvswitch/Makefile b/net/openvswitch/Makefile
index d5184fea9d62..d293ed47073b 100644
--- a/net/openvswitch/Makefile
+++ b/net/openvswitch/Makefile
@@ -9,8 +9,6 @@ WWW= http://openvswitch.org/
LICENSE= APACHE20
-BROKEN_mips64= fails to compile: ofp-actions.h:486: flexible array member in otherwise empty struct
-
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
USES= compiler:c11 cpe gmake libtool perl5 pkgconfig python \
diff --git a/net/p5-Net-AMQP-RabbitMQ/Makefile b/net/p5-Net-AMQP-RabbitMQ/Makefile
index bc27f5fd4394..74400a516883 100644
--- a/net/p5-Net-AMQP-RabbitMQ/Makefile
+++ b/net/p5-Net-AMQP-RabbitMQ/Makefile
@@ -13,9 +13,6 @@ LICENSE_COMB= dual
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
LICENSE_FILE_MPL11= ${WRKSRC}/LICENSE-MPL-1.1
-NOT_FOR_ARCHS= mips mips64
-NOT_FOR_ARCHS_REASON= Endianness not known
-
BUILD_DEPENDS= p5-Devel-CheckLib>=0:devel/p5-Devel-CheckLib \
${RUN_DEPENDS}
RUN_DEPENDS= p5-Math-Int64>0.34:math/p5-Math-Int64
diff --git a/net/pvm/Makefile b/net/pvm/Makefile
index f74fd1ea2248..0ab4f1120b7a 100644
--- a/net/pvm/Makefile
+++ b/net/pvm/Makefile
@@ -11,8 +11,6 @@ WWW= http://www.csm.ornl.gov/pvm/
LICENSE= MIT
-BROKEN_mips= fails to compile: 'SIGCLD' undeclared (first use in this function)
-BROKEN_mips64= fails to compile: 'SIGCLD' undeclared (first use in this function)
BROKEN_riscv64= fails to build: grep: pvm3/conf/UNKNOWN.def: No such file or directory
USES= tar:tgz
diff --git a/net/realtek-rge-kmod/Makefile b/net/realtek-rge-kmod/Makefile
index eacca6b84be2..b3a689e85aae 100644
--- a/net/realtek-rge-kmod/Makefile
+++ b/net/realtek-rge-kmod/Makefile
@@ -11,8 +11,6 @@ WWW= https://github.com/erikarn/if_rge_freebsd
LICENSE= BSD2CLAUSE
-IGNORE_FreeBSD_13= Does not build on FreeBSD <=13
-
USES= kmod tar:tgz uidfix
USE_GITHUB= yes
diff --git a/net/relayd/files/patch-share_mk_bsd.own.mk b/net/relayd/files/patch-share_mk_bsd.own.mk
index b139a0ebadb2..69aabdd14176 100644
--- a/net/relayd/files/patch-share_mk_bsd.own.mk
+++ b/net/relayd/files/patch-share_mk_bsd.own.mk
@@ -5,7 +5,7 @@
CLANG_ARCH=aarch64 amd64 arm i386 mips64 mips64el powerpc powerpc64 riscv64 sparc64
# BEGIN FreeBSD-relayd
-CLANG_ARCH=aarch64 amd64 arm armv6 armv7 i386 mips64 mips64el powerpc powerpc64 riscv64 sparc64
-+CLANG_ARCH=aarch64 amd64 arm armv6 armv7 i386 mips64 mips64el powerpc powerpc64 powerpc64le riscv64
++CLANG_ARCH=aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 powerpc64le riscv64
# END FreeBSD-relayd
GCC4_ARCH=alpha hppa sh sparc64
GCC3_ARCH=m88k
diff --git a/net/samba416/Makefile b/net/samba416/Makefile
index 3c72005df76b..4db389e5ff8b 100644
--- a/net/samba416/Makefile
+++ b/net/samba416/Makefile
@@ -536,7 +536,7 @@ CONFIGURE_ARGS+= --accel-aes=none
.endif
# Only for 64-bit architectures
-.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != mips && ${ARCH} != powerpc && ${ARCH} != powerpcspe
+.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != powerpc && ${ARCH} != powerpcspe
. if defined(SAMBA4_BUNDLED_LDB) && ${SAMBA4_BUNDLED_LDB} == yes && (${PORT_OPTIONS:MAD_DC} || ${PORT_OPTIONS:MDEVELOPER})
# LMDB
SAMBA4_LMDB_DEPENDS= lmdb>=0.9.16:databases/lmdb
diff --git a/net/samba419/Makefile b/net/samba419/Makefile
index 9ca30f60338e..cbc2cbb8e9b3 100644
--- a/net/samba419/Makefile
+++ b/net/samba419/Makefile
@@ -524,7 +524,7 @@ DEBUG_FLAGS?= -g -ggdb3 -O0
.include <bsd.port.pre.mk>
##############################################################################
# Only for 64-bit architectures
-.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != mips && ${ARCH} != powerpc && ${ARCH} != powerpcspe
+.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != powerpc && ${ARCH} != powerpcspe
. if defined(SAMBA4_BUNDLED_LDB) && ${SAMBA4_BUNDLED_LDB} == yes && (${PORT_OPTIONS:MAD_DC} || ${PORT_OPTIONS:MDEVELOPER})
# LMDB
SAMBA4_LMDB_DEPENDS= lmdb>=0.9.16:databases/lmdb
diff --git a/net/samba420/Makefile b/net/samba420/Makefile
index cfec32ec29fd..dac914bbaa18 100644
--- a/net/samba420/Makefile
+++ b/net/samba420/Makefile
@@ -524,7 +524,7 @@ DEBUG_FLAGS?= -g -ggdb3 -O0
.include <bsd.port.pre.mk>
##############################################################################
# Only for 64-bit architectures
-.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != mips && ${ARCH} != powerpc && ${ARCH} != powerpcspe
+.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != powerpc && ${ARCH} != powerpcspe
. if defined(SAMBA4_BUNDLED_LDB) && ${SAMBA4_BUNDLED_LDB} == yes && (${PORT_OPTIONS:MAD_DC} || ${PORT_OPTIONS:MDEVELOPER})
# LMDB
SAMBA4_LMDB_DEPENDS= lmdb>=0.9.16:databases/lmdb
diff --git a/net/samba422/Makefile b/net/samba422/Makefile
index 72dc0718e10c..c45f516359de 100644
--- a/net/samba422/Makefile
+++ b/net/samba422/Makefile
@@ -435,7 +435,7 @@ _BUNDLED_LIBS+= ${"${PORT_OPTIONS:MBUNDLED_TDB}" == "BUNDLED_TDB":?:!}pytdb
.endif
# Only for 64-bit architectures
-.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != mips && ${ARCH} != powerpc && ${ARCH} != powerpcspe
+.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != powerpc && ${ARCH} != powerpcspe
. if (${PORT_OPTIONS:MAD_DC} || ${PORT_OPTIONS:MDEVELOPER})
# LMDB
_LMDB_DEPDENDS= lmdb>=0.9.16:databases/lmdb
diff --git a/net/samba423/Makefile b/net/samba423/Makefile
index b578f72d2482..a880aebbf54d 100644
--- a/net/samba423/Makefile
+++ b/net/samba423/Makefile
@@ -426,7 +426,7 @@ _BUNDLED_LIBS+= ${"${PORT_OPTIONS:MBUNDLED_TDB}" == "BUNDLED_TDB":?:!}pytdb
.endif
# Only for 64-bit architectures
-.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != mips && ${ARCH} != powerpc && ${ARCH} != powerpcspe
+.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != powerpc && ${ARCH} != powerpcspe
. if (${PORT_OPTIONS:MAD_DC} || ${PORT_OPTIONS:MDEVELOPER})
# LMDB
_LMDB_DEPDENDS= lmdb>=0.9.16:databases/lmdb
diff --git a/net/tcplog_dumper/Makefile b/net/tcplog_dumper/Makefile
index ca067bb0b8b7..1238f4c352b9 100644
--- a/net/tcplog_dumper/Makefile
+++ b/net/tcplog_dumper/Makefile
@@ -10,7 +10,7 @@ WWW= https://github.com/Netflix/tcplog_dumper
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-ONLY_FOR_ARCHS= aarch64 amd64 mips64 mips64el mips64elhf mips64hf powerpc64 powerpc64le riscv64 riscv64sf
+ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le riscv64
ONLY_FOR_ARCHS_REASON= only 64-bit platforms are supported
USE_GITHUB= yes
diff --git a/net/vpp/Makefile b/net/vpp/Makefile
index 71a038268ad2..83855fb4fe77 100644
--- a/net/vpp/Makefile
+++ b/net/vpp/Makefile
@@ -27,8 +27,6 @@ WWW= https://fd.io
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-IGNORE_FreeBSD_13= is not supported on FreeBSD 13.x due to missing timerfd library shim
-
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
diff --git a/net/wifi-firmware-kmod/Makefile.inc b/net/wifi-firmware-kmod/Makefile.inc
index b77b14377c88..411f06f9f01f 100644
--- a/net/wifi-firmware-kmod/Makefile.inc
+++ b/net/wifi-firmware-kmod/Makefile.inc
@@ -91,13 +91,6 @@ USES= uidfix
# allows direct loading of firmware files.
# We write a PLIST file so we can then simply use COPYTREE_SHARE with adjusted
# permissions to copy the files over.
-.if (${OSVERSION} < 1402000) || (${OSVERSION} >= 1500000 && ${OSVERSION} < 1500014)
-# For 13.5, which is the last supported release before plain firmware loading is
-# implemented, we did ship firmware in src/ still so there is no need to build.
-# Also mtw (mt7601u) was never in a version earlier than this.
-# XXX remove comment after April 2026 when 13.5 goes out of support as well.
-IGNORE= Not supported for this osversion.
-.endif
BOOT_LOADERCONFD= /boot/loader.conf.d
BOOTFWDIR?= /boot/firmware
diff --git a/net/wifibox-core/Makefile b/net/wifibox-core/Makefile
index e99b74932cd6..a7df39aa11f1 100644
--- a/net/wifibox-core/Makefile
+++ b/net/wifibox-core/Makefile
@@ -36,13 +36,7 @@ NO_BUILD= yes
MAKE_ARGS+= GUEST_ROOT=${LOCALBASE}/share/wifibox \
GUEST_MAN=${LOCALBASE}/share/man/man5/wifibox-alpine.5.gz \
VERSION=${PORTVERSION} \
- RECOVERY_METHOD=${PORT_OPTIONS:MRECOVER_*:S/RECOVER_//:tl}
-
-.if ${OSVERSION} > 1400089
-MAKE_ARGS+= DEVD_FIX=
-PLIST_SUB+= DEVD_FIX="@comment "
-.else
-PLIST_SUB+= DEVD_FIX=""
-.endif
+ RECOVERY_METHOD=${PORT_OPTIONS:MRECOVER_*:S/RECOVER_//:tl} \
+ DEVD_FIX=
.include <bsd.port.mk>
diff --git a/net/wifibox-core/pkg-plist b/net/wifibox-core/pkg-plist
index cdfc9a776406..f163c4bca22d 100644
--- a/net/wifibox-core/pkg-plist
+++ b/net/wifibox-core/pkg-plist
@@ -1,6 +1,5 @@
@sample etc/wifibox/bhyve.conf.sample
@sample etc/wifibox/core.conf.sample
-%%DEVD_FIX%%@sample etc/devd/wifibox.conf.sample
etc/rc.d/wifibox
sbin/wifibox
share/man/man5/wifibox-guest.5.gz
diff --git a/ports-mgmt/pkg-devel/Makefile b/ports-mgmt/pkg-devel/Makefile
index 76bbd6922016..b704275e602e 100644
--- a/ports-mgmt/pkg-devel/Makefile
+++ b/ports-mgmt/pkg-devel/Makefile
@@ -40,7 +40,7 @@ CONFIGURE_ARGS+= --with-asan --with-ubsan
.endif
# TODO: activate in april 2021
-#.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1400000
+#.if ${OPSYS} == FreeBSD
#CONFIGURE_ARGS+= --default-format=tzst
#.endif
diff --git a/ports-mgmt/pkg-provides/Makefile b/ports-mgmt/pkg-provides/Makefile
index 83a719023ca3..c379468df8fd 100644
--- a/ports-mgmt/pkg-provides/Makefile
+++ b/ports-mgmt/pkg-provides/Makefile
@@ -9,7 +9,7 @@ WWW= https://github.com/rosorio/pkg-provides
LICENSE= BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE
LICENSE_COMB= multi
-NOT_FOR_ARCHS= armv6 mips mips64
+NOT_FOR_ARCHS= armv6
BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:devel/uthash
LIB_DEPENDS= libpcre2-8.so:devel/pcre2
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile
index b4fe66299145..b9d2b73d212c 100644
--- a/security/cyrus-sasl2/Makefile
+++ b/security/cyrus-sasl2/Makefile
@@ -12,7 +12,6 @@ NO_OPTIONS_SORT= yes
OPTIONS_DEFINE= ALWAYSTRUE AUTHDAEMOND DOCS KEEP_DB_OPEN \
OBSOLETE_CRAM_ATTR OBSOLETE_DIGEST_ATTR \
OPIE SASLDB_IN_VAR
-OPTIONS_EXCLUDE_FreeBSD_13= OPIE
OPTIONS_RADIO= SASLDB
OPTIONS_RADIO_SASLDB= BDB1 BDB GDBM LMDB
OPTIONS_GROUP= PLUGIN
diff --git a/security/cyrus-sasl2/Makefile.common b/security/cyrus-sasl2/Makefile.common
index 682e8d050d53..37f37cc2dbc8 100644
--- a/security/cyrus-sasl2/Makefile.common
+++ b/security/cyrus-sasl2/Makefile.common
@@ -101,7 +101,7 @@ SASLDB_NAME= sasldb2
SASLDB= "@comment "
.endif
-.if ${OPSYS} == FreeBSD && ${OSREL:R} >= 14
+.if ${OPSYS} == FreeBSD
.if ${PORT_OPTIONS:MOPIE} && ${PORT_OPTIONS:MOTP}
CONFIGURE_ARGS+=--with-opie=${LOCALBASE}
LIB_DEPENDS+= libopie.so:security/opie
diff --git a/security/ftimes/Makefile b/security/ftimes/Makefile
index 81cc714ddbf1..736a23950e32 100644
--- a/security/ftimes/Makefile
+++ b/security/ftimes/Makefile
@@ -12,7 +12,6 @@ LICENSE= BSD3CLAUSE APACHE20 MIT
LICENSE_COMB= multi
BROKEN_aarch64= fails to build: aarch64 is not currently supported
-BROKEN_mips64= fails to build: mips64 is not currently supported
BROKEN_riscv64= fails to build: riscv64 is not currently supported
GNU_CONFIGURE= yes
diff --git a/security/git-crypt/Makefile b/security/git-crypt/Makefile
index e95fa8a74a61..e27947d6fe3a 100644
--- a/security/git-crypt/Makefile
+++ b/security/git-crypt/Makefile
@@ -38,7 +38,7 @@ CXXFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
.endif
-.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+.if ( ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
CXXFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L
.endif
diff --git a/security/gost-engine/Makefile b/security/gost-engine/Makefile
index 5c2c8dac8cf3..2dffe905838a 100644
--- a/security/gost-engine/Makefile
+++ b/security/gost-engine/Makefile
@@ -40,7 +40,7 @@ FLAVOR= openssl30
.endif
# For OpenSSL 3.0.x in base (14+) or installed as port/package
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 || ${FLAVOR:U} == openssl30
+.if ${OPSYS} == FreeBSD || ${FLAVOR:U} == openssl30
GH_TAGNAME= 2b22503
GH_TUPLE+= provider-corner:libprov:e9f3e6a:libprov
GH_SUBDIR= libprov:libprov
diff --git a/security/helib/Makefile b/security/helib/Makefile
index 26b428af5a7d..2cbd97aae292 100644
--- a/security/helib/Makefile
+++ b/security/helib/Makefile
@@ -10,7 +10,7 @@ WWW= https://github.com/homenc/HElib
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc powerpcspe
LIB_DEPENDS= libgmp.so:math/gmp \
libntl.so:math/ntl
diff --git a/security/kanidm/Makefile b/security/kanidm/Makefile
index 024ec01361f1..22cc23b046d8 100644
--- a/security/kanidm/Makefile
+++ b/security/kanidm/Makefile
@@ -12,7 +12,6 @@ WWW= https://kanidm.com \
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-IGNORE_FreeBSD_13= Does not build on FreeBSD 13.x due to OpenSSL 1.1.1
ONLY_FOR_ARCHS= aarch64 amd64
FLAVORS= client server
diff --git a/security/libhijack/Makefile b/security/libhijack/Makefile
index dd538505806a..dda43bb0d7de 100644
--- a/security/libhijack/Makefile
+++ b/security/libhijack/Makefile
@@ -15,7 +15,6 @@ USES= uidfix
ONLY_FOR_ARCHS= aarch64 amd64
ONLY_FOR_ARCHS_REASON= not ported to other architectures
BROKEN_aarch64= does not build, upstream is working on a fix (PR 283408)
-BROKEN_FreeBSD_13= does not build, upstream is working on a fix (PR 283408)
USE_GITLAB= yes
GL_SITE= https://git.hardenedbsd.org
diff --git a/security/libp11/Makefile b/security/libp11/Makefile
index 485c42573e77..c3202279ae80 100644
--- a/security/libp11/Makefile
+++ b/security/libp11/Makefile
@@ -34,15 +34,6 @@ CONFIGURE_ARGS= --with-enginesdir=${PREFIX}/lib/engines \
--with-modulesdir=${PREFIX}/lib/ossl-modules \
--enable-static-engine
-.include <bsd.port.options.mk>
-
-.if ${SSL_DEFAULT} == "base" && ${OPSYS} == FreeBSD && ${OSREL:R} < 14
-PLIST_SUB+= PROVIDERS="@comment "
-.else
-PLIST_SUB+= PROVIDERS=""
-.endif
-
-
INSTALL_TARGET= install-strip
PORTDOCS= *
diff --git a/security/libp11/pkg-plist b/security/libp11/pkg-plist
index 26f9b5e2f57c..627d3e8cf529 100644
--- a/security/libp11/pkg-plist
+++ b/security/libp11/pkg-plist
@@ -2,8 +2,8 @@ include/libp11.h
include/p11_err.h
lib/engines/libpkcs11.so
lib/engines/pkcs11.so
-%%PROVIDERS%%lib/ossl-modules/libpkcs11.so
-%%PROVIDERS%%lib/ossl-modules/pkcs11prov.so
+lib/ossl-modules/libpkcs11.so
+lib/ossl-modules/pkcs11prov.so
lib/libp11.a
lib/libp11.so
lib/libp11.so.3
diff --git a/security/nettle/Makefile b/security/nettle/Makefile
index 563d73f81bf0..9d95947e637b 100644
--- a/security/nettle/Makefile
+++ b/security/nettle/Makefile
@@ -36,11 +36,6 @@ EXAMPLES_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-Makefile.in
.include <bsd.port.options.mk>
-.if ${ARCH} == "mips64"
-post-patch:
- @${REINPLACE_CMD} -e 's|__sgi|__unix__|' ${WRKSRC}/configure
-.endif
-
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
${INSTALL_DATA} ${WRKSRC}/nettle.info ${STAGEDIR}${PREFIX}/${INFO_PATH}/nettle.info
diff --git a/security/nmap-devel/Makefile b/security/nmap-devel/Makefile
index b50840bb92fc..7ee1dab99bad 100644
--- a/security/nmap-devel/Makefile
+++ b/security/nmap-devel/Makefile
@@ -17,8 +17,6 @@ LICENSE_NAME= Nmap Public Source License
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= auto-accept dist-mirror pkg-mirror pkg-sell
-IGNORE_FreeBSD_13= Does not build on FreeBSD 13.x due to OpenSSL 1.1.1
-
LIB_DEPENDS= libpcre2-16.so:devel/pcre2
.if !defined(MASTERDIR)
@@ -73,9 +71,6 @@ STRIP_FILES+= nmap nping
.if ${SSL_DEFAULT} == libressl
BROKEN= error: OpenSSL-3.0.0 is the minimum supported version. LibreSSLis not supported
.endif
-.if ${SSL_DEFAULT} == openssl111
-BROKEN= error: OpenSSL-3.0.0 is the minimum supported version.
-.endif
.endif
.if exists(/usr/lib/libibverbs.a)
diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index 3c4b3b65a92a..f43e71d54b55 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -18,8 +18,6 @@ LICENSE_NAME= Nmap Public Source License
LICENSE_PERMS= auto-accept dist-mirror pkg-mirror pkg-sell
LICENSE_FILE= ${WRKSRC}/LICENSE
-IGNORE_FreeBSD_13= Does not build on FreeBSD 13.x due to OpenSSL 1.1.1
-
LIB_DEPENDS= libpcre2-16.so:devel/pcre2
.if !defined(MASTERDIR)
@@ -71,9 +69,6 @@ CONFIGURE_ARGS+=--without-localdirs \
.if ${SSL_DEFAULT} == libressl
BROKEN= error: OpenSSL-3.0.0 is the minimum supported version. LibreSSL is not supported
.endif
-.if ${SSL_DEFAULT} == openssl111
-BROKEN= error: OpenSSL-3.0.0 is the minimum supported version.
-.endif
.endif
.if exists(/usr/lib/libibverbs.a)
diff --git a/security/openssl-oqsprovider/Makefile b/security/openssl-oqsprovider/Makefile
index 6ef6548b880f..e1ff459a7ae5 100644
--- a/security/openssl-oqsprovider/Makefile
+++ b/security/openssl-oqsprovider/Makefile
@@ -22,7 +22,7 @@ GH_PROJECT= oqs-provider
CMAKE_ARGS= -DCMAKE_BUILD_TYPE=Debug\
-DOPENSSL_ROOT_DIR=${OPENSSLBASE} \
- -DCMAKE_PREFIX_PATH=${OPENSSL_PATH}
+ -DCMAKE_PREFIX_PATH=${OPENSSL_PATH}
SUB_FILES= oqsprovider.cnf pkg-message
@@ -32,10 +32,6 @@ PLIST_FILES= include/oqs-provider/oqs_prov.h \
.include <bsd.port.pre.mk>
-.if !defined(OPENSSL_PORT) && ${OSVERSION} < 1400000
-BROKEN= Requires OpenSSL 3.0+, preferably 3.2+
-.endif
-
post-install:
.if ${OPENSSLLIB} == "/usr/lib"
${MKDIR} ${STAGEDIR}${PREFIX}/lib/ossl-modules
diff --git a/security/openssl-unsafe/Makefile b/security/openssl-unsafe/Makefile
index 3d3c342de1b5..e1b74022821b 100644
--- a/security/openssl-unsafe/Makefile
+++ b/security/openssl-unsafe/Makefile
@@ -31,7 +31,7 @@ CFLAGS+= -fPIC -DPIC
SUB_FILES= pkg-message
PLIST_SUB+= SHLIBVER=${OPENSSL_SHLIBVER}
-.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "mips64el"
+.if ${MACHINE_ARCH} == "amd64"
CONFIGURE_ARGS+= enable-ec_nistp_64_gcc_128
.endif
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 9bd1e41fdb4a..340b5e0dc48f 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -45,8 +45,6 @@ OPTIONS_DEFAULT=ASM ASYNC CT DES EC FIPS GOST KTLS MAN3 MD4 NEXTPROTONEG \
.if ${MACHINE_ARCH} == "amd64"
OPTIONS_GROUP_OPTIMIZE+= EC
-.elif ${MACHINE_ARCH} == "mips64el"
-OPTIONS_GROUP_OPTIMIZE+= EC
.endif
OPTIONS_SUB= yes
diff --git a/security/openssl34/Makefile b/security/openssl34/Makefile
index 3a25a4990e98..cc1abdbd10d9 100644
--- a/security/openssl34/Makefile
+++ b/security/openssl34/Makefile
@@ -51,8 +51,6 @@ OPTIONS_GROUP_OPTIMIZE_amd64= EC
.if ${MACHINE_ARCH} == "amd64"
OPTIONS_GROUP_OPTIMIZE+= EC
-.elif ${MACHINE_ARCH} == "mips64el"
-OPTIONS_GROUP_OPTIMIZE+= EC
.endif
OPTIONS_SUB= yes
diff --git a/security/openssl35/Makefile b/security/openssl35/Makefile
index c4d1e4a28f28..098fb9ffe9fe 100644
--- a/security/openssl35/Makefile
+++ b/security/openssl35/Makefile
@@ -50,8 +50,6 @@ OPTIONS_GROUP_OPTIMIZE_amd64= EC
.if ${MACHINE_ARCH} == "amd64"
OPTIONS_GROUP_OPTIMIZE+= EC
-.elif ${MACHINE_ARCH} == "mips64el"
-OPTIONS_GROUP_OPTIMIZE+= EC
.endif
OPTIONS_SUB= yes
diff --git a/security/openssl36/Makefile b/security/openssl36/Makefile
index c3ee85d43cfa..1deeeda74175 100644
--- a/security/openssl36/Makefile
+++ b/security/openssl36/Makefile
@@ -50,8 +50,6 @@ OPTIONS_GROUP_OPTIMIZE_amd64= EC
.if ${MACHINE_ARCH} == "amd64"
OPTIONS_GROUP_OPTIMIZE+= EC
-.elif ${MACHINE_ARCH} == "mips64el"
-OPTIONS_GROUP_OPTIMIZE+= EC
.endif
OPTIONS_SUB= yes
diff --git a/security/openvpn-devel/Makefile b/security/openvpn-devel/Makefile
index bb46454744a0..27fe8fe1170a 100644
--- a/security/openvpn-devel/Makefile
+++ b/security/openvpn-devel/Makefile
@@ -55,7 +55,6 @@ OPTIONS_DEFINE+= TEST UNITTESTS
OPTIONS_DEFAULT= DCO EASYRSA LZ4 OPENSSL TEST
OPTIONS_SINGLE= SSL
OPTIONS_SINGLE_SSL= MBEDTLS OPENSSL
-OPTIONS_EXCLUDE_FreeBSD_13= DCO # FreeBSD 14 only
# option descriptions and interdependencies
diff --git a/security/openvpn/Makefile b/security/openvpn/Makefile
index d3ddda1cb6de..2a5998c9dfa8 100644
--- a/security/openvpn/Makefile
+++ b/security/openvpn/Makefile
@@ -45,7 +45,6 @@ PORTEXAMPLES= *
OPTIONS_DEFINE= ASYNC_PUSH DCO DOCS EASYRSA EXAMPLES LZ4 LZO PKCS11 SMALL \
TEST UNITTESTS X509ALTUSERNAME
OPTIONS_DEFAULT= DCO EASYRSA LZ4 LZO PKCS11 TEST
-OPTIONS_EXCLUDE_FreeBSD_13= DCO # FreeBSD 14 only
ASYNC_PUSH_DESC= Enable async-push support
DCO_DESC= Data Channel Offload/ovpn(4) support->README.dco.md
diff --git a/security/opie/Makefile b/security/opie/Makefile
index c437d1f93d56..b9d343f55809 100644
--- a/security/opie/Makefile
+++ b/security/opie/Makefile
@@ -23,6 +23,4 @@ MAKE_ARGS= BINDIR=${PREFIX}/bin \
LIBDIR=${PREFIX}/lib \
MANDIR=${PREFIX}/share/man/man
-IGNORE_FreeBSD_13= FreeBSD 13 has OPIE in base
-
.include <bsd.port.mk>
diff --git a/security/osv-scanner/Makefile b/security/osv-scanner/Makefile
index ec7d95b855f0..6f262cf62986 100644
--- a/security/osv-scanner/Makefile
+++ b/security/osv-scanner/Makefile
@@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:1.26+,modules,run
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc powerpcspe
_BUILD_VERSION= ${DISTVERSION}
_BUILD_COMMIT= 30bcc13
diff --git a/security/p11-kit/Makefile b/security/p11-kit/Makefile
index c4be0ca3ba37..5c06d21812b5 100644
--- a/security/p11-kit/Makefile
+++ b/security/p11-kit/Makefile
@@ -49,10 +49,6 @@ post-install:
${RMDIR} ${STAGEDIR}${PREFIX}/etc/pkcs11
${MKDIR} ${STAGEDIR}${DATADIR}/certs
${LN} -s /usr/share/certs/trusted ${STAGEDIR}${DATADIR}/certs/anchors
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400024
- ${LN} -s /usr/share/certs/blacklisted ${STAGEDIR}${DATADIR}/certs/blocklist
-.else
${LN} -s /usr/share/certs/untrusted ${STAGEDIR}${DATADIR}/certs/blocklist
-.endif
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-Curve25519/Makefile b/security/p5-Crypt-Curve25519/Makefile
index 1eb1756f4cdb..f9d6d014af64 100644
--- a/security/p5-Crypt-Curve25519/Makefile
+++ b/security/p5-Crypt-Curve25519/Makefile
@@ -11,9 +11,6 @@ WWW= https://metacpan.org/release/Crypt-Curve25519
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
-BROKEN_mips= fails to build: -m32 flag is not supported by this configuration
-BROKEN_mips64= fails to build: -m32 flag is not supported by this configuration
-
USES= perl5 ssl
USE_PERL5= configure
diff --git a/security/p5-Crypt-RHash/Makefile b/security/p5-Crypt-RHash/Makefile
index b2cc7853bff5..42a82f6ad6ea 100644
--- a/security/p5-Crypt-RHash/Makefile
+++ b/security/p5-Crypt-RHash/Makefile
@@ -11,8 +11,6 @@ WWW= https://metacpan.org/release/Crypt-RHash
LICENSE= BSD0CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_mips64= Fails to build: error Cannot detect CPU architechture
-
USES= perl5
USE_PERL5= configure
diff --git a/security/p5-Digest-GOST/Makefile b/security/p5-Digest-GOST/Makefile
index 1f40fb6a95e7..5293faa62cf2 100644
--- a/security/p5-Digest-GOST/Makefile
+++ b/security/p5-Digest-GOST/Makefile
@@ -11,7 +11,7 @@ WWW= https://metacpan.org/release/Digest-GOST
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
-NOT_FOR_ARCHS= aarch64 armv6 armv7 mips64 riscv64
+NOT_FOR_ARCHS= aarch64 armv6 armv7 riscv64
NOT_FOR_ARCHS_REASON= fails to build: Cannot detect CPU architechture
USES= perl5
diff --git a/security/pam_ssh_agent_auth/Makefile b/security/pam_ssh_agent_auth/Makefile
index 88fcc1af1c3f..8866ea4129ba 100644
--- a/security/pam_ssh_agent_auth/Makefile
+++ b/security/pam_ssh_agent_auth/Makefile
@@ -15,8 +15,6 @@ GH_ACCOUNT= jbeverly
GH_TAGNAME= 099beb2
GH_TUPLE= floodyberry:ed25519-donna:8757bd4:floodyberry_ed25519_donna/ed25519-donna
-BROKEN_mips64= fails to compile: ed25519-donna-portable.h:85:4: Need a uint128_t implementation!
-
USES= perl5 ssl tar:bzip2
USE_PERL5= build
diff --git a/security/pgpin/Makefile b/security/pgpin/Makefile
index 7cf0bdafbd0d..80f4db57fcf2 100644
--- a/security/pgpin/Makefile
+++ b/security/pgpin/Makefile
@@ -12,7 +12,6 @@ WWW= https://www.pgpi.org/
LICENSE= MIT
-BROKEN_mips64= Does not build
BROKEN_riscv64= Does not build: make: don't know how to make freebsd-riscv64
PORTSCOUT= ignore:1
diff --git a/security/picocrypt/Makefile b/security/picocrypt/Makefile
index 5e709f8e74c3..a91054e13683 100644
--- a/security/picocrypt/Makefile
+++ b/security/picocrypt/Makefile
@@ -10,7 +10,7 @@ WWW= https://github.com/Picocrypt/Picocrypt
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/../LICENSE
-ONLY_FOR_ARCHS= aarch64 amd64 mips64 powerpc64 powerpc64le riscv64
+ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le riscv64
ONLY_FOR_ARCHS_REASON= upstream only supports 64-bit
# https://github.com/HACKERALERT/Picocrypt/issues/127
diff --git a/security/rcracki_mt/Makefile b/security/rcracki_mt/Makefile
index 3e97f477e835..5476be46beaa 100644
--- a/security/rcracki_mt/Makefile
+++ b/security/rcracki_mt/Makefile
@@ -10,7 +10,7 @@ WWW= https://www.freerainbowtables.com
LICENSE= GPLv2
-NOT_FOR_ARCHS= aarch64 armv6 armv7 mips mips64 riscv64
+NOT_FOR_ARCHS= aarch64 armv6 armv7 riscv64
NOT_FOR_ARCHS_REASON= cannot detect endianness
WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}
diff --git a/security/samhain/Makefile b/security/samhain/Makefile
index c54b2e30c0cb..7e99e18602a3 100644
--- a/security/samhain/Makefile
+++ b/security/samhain/Makefile
@@ -11,9 +11,6 @@ WWW= https://la-samhna.de/samhain/
LICENSE= GPLv2
-BROKEN_mips= fails to configure: error: Could not find the libwrap library
-BROKEN_mips64= fails to configure: error: Could not find the libwrap library
-
USES= shebangfix
SHEBANG_FILES= scripts/samhainadmin-gpg.pl.in \
scripts/samhainadmin-sig.pl.in
diff --git a/security/softether5/Makefile b/security/softether5/Makefile
index d92835c87876..26294dcc2d97 100644
--- a/security/softether5/Makefile
+++ b/security/softether5/Makefile
@@ -64,8 +64,7 @@ SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
# devel/cpu_features not available on these archs, see devel/cpu_features/Makefile
-.if (${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7 || \
- ${ARCH} == mips || ${ARCH} == mips64)
+.if (${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7)
# skip cpu_features when devel/cpu_features is not available
CMAKE_ARGS+= -DSKIP_CPU_FEATURES=1
.else
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index f6d7a24aa003..ded516858595 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -115,7 +115,7 @@ CONFIGURE_ARGS+= --enable-kerb5-instance="${SUDO_KERB5_INSTANCE}"
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400072
+.if ${OPSYS} == FreeBSD
. if ${PORT_OPTIONS:MOPIE}
BUILD_DEPENDS+= opie>0:security/opie
RUN_DEPENDS+= opie>0:security/opie
diff --git a/security/tclsasl/Makefile b/security/tclsasl/Makefile
index 9e0b2b84335c..4cd14341d3da 100644
--- a/security/tclsasl/Makefile
+++ b/security/tclsasl/Makefile
@@ -23,7 +23,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+.if ${OPSYS} == FreeBSD
CPPFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
diff --git a/security/tpm2-openssl/Makefile b/security/tpm2-openssl/Makefile
index f0a6329dc650..9fd03a5341db 100644
--- a/security/tpm2-openssl/Makefile
+++ b/security/tpm2-openssl/Makefile
@@ -10,8 +10,6 @@ WWW= https://github.com/tpm2-software/tpm2-openssl
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-IGNORE_FreeBSD_13= Requires OpenSSL 3+
-
LIB_DEPENDS= libtss2-esys.so:security/tpm2-tss
RUN_DEPENDS= tpm2-abrmd:security/tpm2-abrmd
diff --git a/security/vaultwarden/Makefile b/security/vaultwarden/Makefile
index b90759da9cf9..6699a7573d20 100644
--- a/security/vaultwarden/Makefile
+++ b/security/vaultwarden/Makefile
@@ -11,7 +11,6 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BROKEN_i386= doesn't buld on pkg builder
-BROKEN_FreeBSD_13= fails to compile : Needs OpenSSL v3.0.0 or later to compile
LIB_DEPENDS+= libcapnp.so:devel/capnproto \
libgmp.so:math/gmp \
diff --git a/sysutils/arc_summary/Makefile b/sysutils/arc_summary/Makefile
index 47782014e038..1704f0768aff 100644
--- a/sysutils/arc_summary/Makefile
+++ b/sysutils/arc_summary/Makefile
@@ -1,10 +1,8 @@
PORTNAME= arc_summary
PORTVERSION= 20231114
CATEGORIES= sysutils
-MASTER_SITES= https://cgit.freebsd.org/src/plain/sys/contrib/openzfs/cmd/ \
- https://cgit.freebsd.org/src/plain/sys/contrib/openzfs/cmd/arc_summary/:13
-DISTFILES= ${PORTNAME}3?h=releng/13.2:13 \
- ${PORTNAME}?h=releng/14.0 \
+MASTER_SITES= https://cgit.freebsd.org/src/plain/sys/contrib/openzfs/cmd/
+DISTFILES= ${PORTNAME}?h=releng/14.0 \
${PORTNAME}
MAINTAINER= jrm@FreeBSD.org
@@ -27,9 +25,7 @@ PLIST_FILES= bin/arc_summary
.include <bsd.port.pre.mk>
do-extract:
-.if ${OSVERSION} < 1400000
- ${CP} ${DISTDIR}/${PORTNAME}3?h=releng/13.2 ${WRKSRC}/${PORTNAME}
-.elif ${OSVERSION} >= 1400000 && ${OSVERSION} < 1500000
+.if ${OSVERSION} >= 1400000 && ${OSVERSION} < 1500000
${CP} ${DISTDIR}/${PORTNAME}?h=releng/14.0 ${WRKSRC}/${PORTNAME}
.else
${CP} ${DISTDIR}/${PORTNAME} ${WRKSRC}/${PORTNAME}
diff --git a/sysutils/arc_summary/distinfo b/sysutils/arc_summary/distinfo
index be2951e8d7a5..a1229c52a34c 100644
--- a/sysutils/arc_summary/distinfo
+++ b/sysutils/arc_summary/distinfo
@@ -1,6 +1,4 @@
TIMESTAMP = 1702600566
-SHA256 (arc_summary3?h=releng/13.2) = 978d3743bc99a936c05418e3f08d6041535214196d081a6c87938c01a7936da2
-SIZE (arc_summary3?h=releng/13.2) = 34365
SHA256 (arc_summary?h=releng/14.0) = 81fc104da57777f45c931c9c2f425f1fe219d12dc61a9d2928a1b03561f9aecb
SIZE (arc_summary?h=releng/14.0) = 37272
SHA256 (arc_summary) = 44e8d4aec6614aacfece3a12a6953e0f68b4358fa9621415f25200b346020132
diff --git a/sysutils/barrier/Makefile b/sysutils/barrier/Makefile
index 3d3c2e4feb64..3349589a7999 100644
--- a/sysutils/barrier/Makefile
+++ b/sysutils/barrier/Makefile
@@ -39,7 +39,7 @@ GUI_CMAKE_BOOL= BARRIER_BUILD_GUI
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092
+.if ${OPSYS} == FreeBSD
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_lib_net_SecureUtils.cpp
.endif
diff --git a/sysutils/bhyvemgr/Makefile b/sysutils/bhyvemgr/Makefile
index a74d2f519126..bd248ce6e084 100644
--- a/sysutils/bhyvemgr/Makefile
+++ b/sysutils/bhyvemgr/Makefile
@@ -34,7 +34,7 @@ QEMU-TOOLS_RUN_DEPENDS= qemu-img:emulators/qemu@tools
ONLY_FOR_ARCHS= aarch64 amd64
.endif
-.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1403000)
+.if ${OPSYS} == FreeBSD
RUN_DEPENDS+= swtpm>0:sysutils/swtpm
.endif
diff --git a/sysutils/cmogstored/Makefile b/sysutils/cmogstored/Makefile
index 56e533bca369..6ea18998ca22 100644
--- a/sysutils/cmogstored/Makefile
+++ b/sysutils/cmogstored/Makefile
@@ -11,9 +11,6 @@ WWW= https://yhbt.net/cmogstored/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_mips= failst to compile: fdmap.c:89: undefined reference to `__sync_add_and_fetch_4'
-BROKEN_mips64= failst to compile: fdmap.c:89: undefined reference to `__sync_add_and_fetch_4'
-
USES= compiler:c11
PLIST_FILES= sbin/cmogstored \
diff --git a/sysutils/deskflow/Makefile b/sysutils/deskflow/Makefile
index 98c70d5387c4..ba40916aa4f4 100644
--- a/sysutils/deskflow/Makefile
+++ b/sysutils/deskflow/Makefile
@@ -12,8 +12,6 @@ WWW= https://deskflow.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_13= requires OpenSSL 3.0
-
BUILD_DEPENDS= googletest>0:devel/googletest \
help2man:misc/help2man
LIB_DEPENDS= libei.so:x11/libei \
diff --git a/sysutils/dmidecode/Makefile b/sysutils/dmidecode/Makefile
index acc632627cbd..8b1320ee8819 100644
--- a/sysutils/dmidecode/Makefile
+++ b/sysutils/dmidecode/Makefile
@@ -10,7 +10,7 @@ WWW= https://www.nongnu.org/dmidecode/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
-ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 riscv64 riscv64sf
+ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 riscv64
USES= tar:xz
diff --git a/sysutils/flashrom/Makefile b/sysutils/flashrom/Makefile
index 0cd896e80d5f..6c35af1ea0f7 100644
--- a/sysutils/flashrom/Makefile
+++ b/sysutils/flashrom/Makefile
@@ -12,7 +12,6 @@ WWW= https://www.flashrom.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-IGNORE_FreeBSD_13= Requires OpenSSL 3+
NOT_FOR_ARCHS= riscv64
NOT_FOR_ARCHS_REASON= Unable to determine endianness.
diff --git a/sysutils/fluent-bit/Makefile b/sysutils/fluent-bit/Makefile
index 8134934c21da..066212f538ac 100644
--- a/sysutils/fluent-bit/Makefile
+++ b/sysutils/fluent-bit/Makefile
@@ -9,9 +9,6 @@ WWW= https://fluentbit.io/
LICENSE= APACHE20
-BROKEN_mips= fails to build: conflicting types for 'restrict'
-BROKEN_mips64= fails to build: conflicting types for 'restrict'
-
LIB_DEPENDS= libyaml.so:textproc/libyaml
USES= bison cmake:noninja compiler:c11 gmake localbase:ldflags
diff --git a/sysutils/fwupd/Makefile b/sysutils/fwupd/Makefile
index a49da36f21d5..fd32b166df64 100644
--- a/sysutils/fwupd/Makefile
+++ b/sysutils/fwupd/Makefile
@@ -7,8 +7,6 @@ COMMENT= Update firmware automatically, safely, and reliably
LICENSE= LGPL21
-BROKEN_FreeBSD_13= requires at least FreeBSD 14
-
BUILD_DEPENDS= blkid:filesystems/libblkid \
flashrom>0:sysutils/flashrom \
help2man:misc/help2man \
diff --git a/sysutils/inxi/Makefile b/sysutils/inxi/Makefile
index 72e88ffaf601..c75c3f816e24 100644
--- a/sysutils/inxi/Makefile
+++ b/sysutils/inxi/Makefile
@@ -40,7 +40,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
-.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == riscv64 || ${ARCH} == riscv64sf
+.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == riscv64
RUN_DEPENDS+= dmidecode:sysutils/dmidecode
.endif
diff --git a/sysutils/mbgtools/Makefile b/sysutils/mbgtools/Makefile
index 44044a6553c5..a5bec1e52652 100644
--- a/sysutils/mbgtools/Makefile
+++ b/sysutils/mbgtools/Makefile
@@ -10,8 +10,6 @@ WWW= https://www.meinbergglobal.com/english/sw/
LICENSE= BSD2CLAUSE
-BROKEN_mips64= fails to compile: unused variables
-
USES= kmod uidfix
USE_RC_SUBR= mbgsvcd
diff --git a/sysutils/nut-devel/Makefile b/sysutils/nut-devel/Makefile
index 52ab823cd564..426c86043aef 100644
--- a/sysutils/nut-devel/Makefile
+++ b/sysutils/nut-devel/Makefile
@@ -45,7 +45,6 @@ OPTIONS_DEFAULT_powerpc= FREEIPMI
OPTIONS_DEFAULT_powerpc64= FREEIPMI
OPTIONS_DEFAULT_powerpc64le= FREEIPMI
OPTIONS_DEFAULT_riscv64= FREEIPMI
-OPTIONS_DEFAULT_riscv64sf= FREEIPMI
OPTIONS_DEFINE= SERIAL USB SNMP NEON PDU MODBUS CGI BASH AVAHI IPMIPSU FREEIPMI DOCS MANPAGES DEV
OPTIONS_SINGLE= SSL
OPTIONS_SINGLE_SSL= SSL_OFF OPENSSL NSS
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile
index 835699598ccf..5d37f0c5eedb 100644
--- a/sysutils/nut/Makefile
+++ b/sysutils/nut/Makefile
@@ -37,7 +37,6 @@ OPTIONS_DEFAULT_powerpc= FREEIPMI
OPTIONS_DEFAULT_powerpc64= FREEIPMI
OPTIONS_DEFAULT_powerpc64le= FREEIPMI
OPTIONS_DEFAULT_riscv64= FREEIPMI
-OPTIONS_DEFAULT_riscv64sf= FREEIPMI
OPTIONS_DEFINE= SERIAL USB SNMP NEON PDU MODBUS CGI BASH AVAHI IPMIPSU FREEIPMI DOCS MANPAGES DEV
OPTIONS_SINGLE= IPMI SSL
OPTIONS_SINGLE_SSL= SSL_OFF OPENSSL NSS
diff --git a/sysutils/p5-Unix-Processors/Makefile b/sysutils/p5-Unix-Processors/Makefile
index 94a3dc7426b6..1859cac872b7 100644
--- a/sysutils/p5-Unix-Processors/Makefile
+++ b/sysutils/p5-Unix-Processors/Makefile
@@ -11,9 +11,6 @@ WWW= https://metacpan.org/release/Unix-Processors
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
-BROKEN_mips= fails to compile: sys/systeminfo.h: No such file or directory
-BROKEN_mips64= fails to compile: sys/systeminfo.h: No such file or directory
-
USES= perl5
USE_PERL5= configure
diff --git a/sysutils/py-pywatchman/Makefile b/sysutils/py-pywatchman/Makefile
index c0183eefa374..f8bb2da6ab1b 100644
--- a/sysutils/py-pywatchman/Makefile
+++ b/sysutils/py-pywatchman/Makefile
@@ -12,9 +12,6 @@ WWW= https://pypi.org/project/pywatchman/
LICENSE= BSD3CLAUSE MIT
LICENSE_COMB= multi
-BROKEN_mips= depends on watchman, which needs c++11-libs
-BROKEN_mips64= depends on watchman, which needs c++11-libs
-
RUN_DEPENDS= watchman>=4:sysutils/watchman
USES= python
diff --git a/sysutils/radeontop/Makefile b/sysutils/radeontop/Makefile
index 3d4722393106..a0ac11cdd453 100644
--- a/sysutils/radeontop/Makefile
+++ b/sysutils/radeontop/Makefile
@@ -10,7 +10,7 @@ WWW= https://github.com/clbr/radeontop
LICENSE= GPLv3
-NOT_FOR_ARCHS= aarch64 armv6 armv7 mips mips64 riscv64
+NOT_FOR_ARCHS= aarch64 armv6 armv7 riscv64
NOT_FOR_ARCHS_REASON= fails to compile: fatal error: amdgpu_drm.h file not found
LIB_DEPENDS= libpciaccess.so:devel/libpciaccess \
diff --git a/sysutils/runit/Makefile b/sysutils/runit/Makefile
index df518f459e92..397189785dac 100644
--- a/sysutils/runit/Makefile
+++ b/sysutils/runit/Makefile
@@ -12,9 +12,6 @@ WWW= http://smarden.org/runit/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/package/COPYING
-BROKEN_mips= fails to install: runit-init failed
-BROKEN_mips64= fails to install: runit-init failed
-
USES= cpe
USE_RC_SUBR= runsvdir
diff --git a/sysutils/slurm-wlm/Makefile b/sysutils/slurm-wlm/Makefile
index ac5ce79f085d..2436299ec5db 100644
--- a/sysutils/slurm-wlm/Makefile
+++ b/sysutils/slurm-wlm/Makefile
@@ -11,7 +11,7 @@ WWW= https://slurm.schedmd.com/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc powerpcspe
NOT_FOR_ARCHS_REASON= 32-bit support is deprecated
LIB_DEPENDS= libhttp_parser.so:www/http-parser \
diff --git a/sysutils/tmux/Makefile b/sysutils/tmux/Makefile
index e55fb335d947..61505c7c34ff 100644
--- a/sysutils/tmux/Makefile
+++ b/sysutils/tmux/Makefile
@@ -10,7 +10,7 @@ WWW= https://tmux.github.io/
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= cpe pkgconfig
+USES= cpe ncurses pkgconfig
CPE_VENDOR= tmux_project
GNU_CONFIGURE= yes
@@ -37,15 +37,6 @@ UTF8PROC_LIB_DEPENDS= libutf8proc.so:textproc/utf8proc
UTF8PROC_USES= localbase
UTF8PROC_CONFIGURE_ENABLE= utf8proc
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && (${OSVERSION} < 1401502 || ${OSVERSION} >= 1500000 && \
- ${OSVERSION} < 1500020)
-USES+= ncurses:port
-.else
-USES+= ncurses
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|/etc/tmux.conf|${PREFIX}/etc/tmux.conf|g' \
${PATCH_WRKSRC}/CHANGES ${PATCH_WRKSRC}/tmux.h
@@ -63,4 +54,4 @@ post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example* ${STAGEDIR}${EXAMPLESDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/twa-kmod/Makefile b/sysutils/twa-kmod/Makefile
index 19a59fa840d4..f29a569024c4 100644
--- a/sysutils/twa-kmod/Makefile
+++ b/sysutils/twa-kmod/Makefile
@@ -10,7 +10,6 @@ LICENSE= BSD2CLAUSE
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= not yet tested on non amd64
-IGNORE_FreeBSD_13= included in base system
IGNORE_FreeBSD_16= not supported on FreeBSD 16.x
USES= kmod uidfix
diff --git a/sysutils/watchman/Makefile b/sysutils/watchman/Makefile
index 44f6b7d421bc..f330822b1a00 100644
--- a/sysutils/watchman/Makefile
+++ b/sysutils/watchman/Makefile
@@ -10,9 +10,6 @@ WWW= https://facebook.github.io/watchman/
LICENSE= APACHE20
-BROKEN_mips= fails to build: watchman.h:169: undefined reference to '__sync_add_and_fetch_8'
-BROKEN_mips64= fails to build: watchman.h:169: undefined reference to '__sync_add_and_fetch_8'
-
BUILD_DEPENDS= ${LOCALBASE}/include/sys/inotify.h:devel/libinotify
USE_GITHUB= yes
diff --git a/sysutils/zidrav/Makefile b/sysutils/zidrav/Makefile
index 150ebecee05e..7979ba66f57c 100644
--- a/sysutils/zidrav/Makefile
+++ b/sysutils/zidrav/Makefile
@@ -28,7 +28,7 @@ CFLAGS+= -Dcrc32_type=long
CFLAGS+= -Dcrc32_type=int
.endif
-.if ${ARCH} == mips || ${ARCH} == mipshf || ${ARCH} == mipsn32 || ${ARCH} == mips64 || ${ARCH} == mips64hf || ${ARCH} == powerpc || ${ARCH} == powerpcspe || ${ARCH} == powerpc64
+.if ${ARCH} == powerpc || ${ARCH} == powerpcspe || ${ARCH} == powerpc64
CFLAGS+= -DCPU_BIGENDIAN
.endif
diff --git a/textproc/es-hunspell/Makefile b/textproc/es-hunspell/Makefile
index 351060f72827..ecb9950be920 100644
--- a/textproc/es-hunspell/Makefile
+++ b/textproc/es-hunspell/Makefile
@@ -17,8 +17,6 @@ LICENSE_FILE_GPLv3= ${WRKSRC}/GPLv3.txt
LICENSE_FILE_LGPL3= ${WRKSRC}/LGPLv3.txt
LICENSE_FILE_MPL11= ${WRKSRC}/MPL-1.1.txt
-BROKEN_mips= fails to package: tar: Pathname cannot be converted from UTF-8 to current locale
-
NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
diff --git a/textproc/es-hyphen/Makefile b/textproc/es-hyphen/Makefile
index 878e5876e932..6352ac002ec4 100644
--- a/textproc/es-hyphen/Makefile
+++ b/textproc/es-hyphen/Makefile
@@ -18,8 +18,6 @@ LICENSE_FILE_GPLv3= ${WRKSRC}/GPLv3.txt
LICENSE_FILE_LGPL3= ${WRKSRC}/LGPLv3.txt
LICENSE_FILE_MPL11= ${WRKSRC}/MPL-1.1.txt
-BROKEN_mips= fails to package: tar: Pathname cannot be converted from UTF-8 to current locale
-
NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
diff --git a/textproc/htmldoc/Makefile b/textproc/htmldoc/Makefile
index a8f7915110f6..77abadc90365 100644
--- a/textproc/htmldoc/Makefile
+++ b/textproc/htmldoc/Makefile
@@ -10,8 +10,6 @@ WWW= https://michaelrsweet.github.io/htmldoc
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_mips= complains about expecting ) before png_ptr
-
LIB_DEPENDS= libcups.so:print/cups \
libpng16.so:graphics/png
diff --git a/textproc/kmfl-european-latin/Makefile b/textproc/kmfl-european-latin/Makefile
index 7740d970282f..334139d05d06 100644
--- a/textproc/kmfl-european-latin/Makefile
+++ b/textproc/kmfl-european-latin/Makefile
@@ -31,7 +31,7 @@ KMFL_ICONS_DIR= share/kmfl/icons
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+.if ${OPSYS} == FreeBSD
BASE64= /usr/bin/base64
.else
BUILD_DEPENDS= base64:converters/base64
diff --git a/textproc/libucl/Makefile b/textproc/libucl/Makefile
index 24c44bd07d71..cceb7c5e9ee2 100644
--- a/textproc/libucl/Makefile
+++ b/textproc/libucl/Makefile
@@ -10,9 +10,6 @@ WWW= https://github.com/vstakhov/libucl
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_mips= fails to link: undefined reference to '__sync_add_and_fetch_4'
-BROKEN_mips64= fails to link: undefined reference to '__sync_add_and_fetch_4'
-
USES= autoreconf gmake libtool pathfix pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= vstakhov
diff --git a/textproc/nunnimcax/Makefile b/textproc/nunnimcax/Makefile
index a987d02748c3..9ecf1f83961e 100644
--- a/textproc/nunnimcax/Makefile
+++ b/textproc/nunnimcax/Makefile
@@ -22,7 +22,7 @@ SHLIB_MAJOR= 2
.include <bsd.port.options.mk>
-.if defined(NOPROFILE) || defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 )
+.if defined(NOPROFILE) || defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD)
PLIST_SUB+= PROFILE="@comment "
.else
PLIST_SUB+= PROFILE=""
diff --git a/textproc/py-ufal.udpipe/Makefile b/textproc/py-ufal.udpipe/Makefile
index 0d24e657a5f1..e65cb9154451 100644
--- a/textproc/py-ufal.udpipe/Makefile
+++ b/textproc/py-ufal.udpipe/Makefile
@@ -12,7 +12,7 @@ WWW= https://ufal.mff.cuni.cz/udpipe
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= mips mips64 powerpc powerpc64 powerpcspe
+NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe
NOT_FOR_ARCHS_REASON= Only little endian systems are supported!
USES= compiler:c++11-lang python
diff --git a/www/bozohttpd/Makefile b/www/bozohttpd/Makefile
index ec5539311c4d..6ccd604efc26 100644
--- a/www/bozohttpd/Makefile
+++ b/www/bozohttpd/Makefile
@@ -61,7 +61,7 @@ USER_CFLAGS_OFF= -DNO_USER_SUPPORT
CFLAGS+= -Wno-error=unused-but-set-variable
.endif
-.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+.if ( ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L
.endif
diff --git a/www/cpp-httplib/Makefile b/www/cpp-httplib/Makefile
index 24da0e320855..70d12b21a0f6 100644
--- a/www/cpp-httplib/Makefile
+++ b/www/cpp-httplib/Makefile
@@ -10,8 +10,6 @@ WWW= https://github.com/yhirose/cpp-httplib
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_13= configure fails: OpenSSL is too old: Found unsuitable version "1.1.1t", but required is at least "3.0.0"
-
TEST_DEPENDS= gmake:devel/gmake
USES= cmake localbase:ldflags python:test # localbase only for tests
diff --git a/www/gatling/Makefile b/www/gatling/Makefile
index 1605e57a0eca..cf9c2d249df3 100644
--- a/www/gatling/Makefile
+++ b/www/gatling/Makefile
@@ -10,9 +10,6 @@ WWW= https://www.fefe.de/gatling/
LICENSE= GPLv2
-BROKEN_mips= fails to compile: dirfd.c: error: expected ';', ',' or ')' before 'key'
-BROKEN_mips64= fails to compile: dirfd.c: error: expected ';', ',' or ')' before 'key'
-
BUILD_DEPENDS= libowfat>=0.32:devel/libowfat
USES= compiler:c++11-lang gmake localbase:ldflags ssl tar:xz
diff --git a/www/mod_auth_gssapi/Makefile b/www/mod_auth_gssapi/Makefile
index aca316e2da41..4c0cb8aa65b0 100644
--- a/www/mod_auth_gssapi/Makefile
+++ b/www/mod_auth_gssapi/Makefile
@@ -27,13 +27,11 @@ PLIST_FILES= @sample\ ${APACHEETCDIR}/modules.d/${APMOD_FILE} \
PLIST_SUB= APMOD_FILE=${APMOD_FILE}
OPTIONS_DEFAULT= ${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}}
-OPTIONS_DEFAULT_FreeBSD_13= GSSAPI_MIT
OPTIONS_DEFAULT_FreeBSD_14= GSSAPI_MIT
OPTIONS_DEFAULT_FreeBSD_15= GSSAPI_BASE
OPTIONS_DEFAULT_FreeBSD_16= GSSAPI_BASE
OPTIONS_SINGLE= GSSAPI
OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_MIT
-OPTIONS_EXCLUDE_FreeBSD_13= GSSAPI_BASE
OPTIONS_EXCLUDE_FreeBSD_14= GSSAPI_BASE
GSSAPI_BASE_USES= gssapi:flags
@@ -41,10 +39,6 @@ GSSAPI_MIT_USES= gssapi:mit,flags
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MGSSAPI_BASE} && ${OPSYS} == FreeBSD && ${OSVERSION} < 1500054
-IGNORE= the GSSAPI_BASE option needs MIT Kerberos in base
-.endif
-
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} \
${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
diff --git a/www/py-adblock/Makefile b/www/py-adblock/Makefile
index efc0f8a82223..94bba3160859 100644
--- a/www/py-adblock/Makefile
+++ b/www/py-adblock/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
# doesn't support creating 32-bit Python wheels for FreeBSD. Thus save build
# time and skip the port at a early stage.
# SEE devel/py-maturin/Makefile
-NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc
+NOT_FOR_ARCHS= armv6 armv7 i386 powerpc
NOT_FOR_ARCHS_REASON= the creation of 32-bit Python wheels is not supported for FreeBSD
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=0.8.3:devel/py-maturin@${PY_FLAVOR} \
diff --git a/www/qt5-webengine/Makefile b/www/qt5-webengine/Makefile
index 8e9ceda30021..4048ebaccffb 100644
--- a/www/qt5-webengine/Makefile
+++ b/www/qt5-webengine/Makefile
@@ -125,7 +125,7 @@ USES+= nodejs:build,20
USES+= nodejs:build,lts
.endif
-.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*}
+.if ${ARCH:Mpowerpc*}
PLIST_SUB+= BE="" LE="@comment "
.else
PLIST_SUB+= BE="@comment " LE=""
@@ -153,7 +153,7 @@ post-patch:
@${REINPLACE_CMD} -E -e 's|^(MODULE_VERSION = ).*|\1${QT5_VERSION}|' \
${WRKSRC}/.qmake.conf
-.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*}
+.if ${ARCH:Mpowerpc*}
@${REINPLACE_CMD} -e 's/icudtl.dat/icudtb.dat/' \
${WRKSRC}/src/core/core_module.pro
.endif
diff --git a/www/sogo2/Makefile b/www/sogo2/Makefile
index 0255a12af81d..a4e0205676ba 100644
--- a/www/sogo2/Makefile
+++ b/www/sogo2/Makefile
@@ -11,7 +11,6 @@ WWW?= https://sogo.nu/
LICENSE= GPLv2
-BROKEN_FreeBSD_13= ld: error: duplicate symbol: SOGoMailCoreInfoKeys
BROKEN_FreeBSD_14= ld: error: duplicate symbol: SOGoMailCoreInfoKeys
LIB_DEPENDS= libmemcached.so:databases/libmemcached \
diff --git a/www/tomcat-native2/Makefile b/www/tomcat-native2/Makefile
index 1e5286913f01..c79e3530cb9f 100644
--- a/www/tomcat-native2/Makefile
+++ b/www/tomcat-native2/Makefile
@@ -12,8 +12,6 @@ WWW= https://tomcat.apache.org/native-doc/
LICENSE= APACHE20
-IGNORE_FreeBSD_13= Does not build on FreeBSD 13.x due to OpenSSL 1.1.1
-
LIB_DEPENDS= libapr-1.so:devel/apr1
USES= java libtool ssl
diff --git a/www/w3m/Makefile b/www/w3m/Makefile
index aa52ae3dfd3b..31e57ccbaf9a 100644
--- a/www/w3m/Makefile
+++ b/www/w3m/Makefile
@@ -14,8 +14,6 @@ LICENSE_NAME= w3m
LICENSE_FILE= ${WRKSRC}/doc/README
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-BROKEN_mips64= fails to build: qemu: uncaught target signal 11 (Segmentation fault) - core dumped
-
LIB_DEPENDS= libgc.so:devel/boehm-gc
USES= cpe iconv pkgconfig perl5 ssl
diff --git a/x11-toolkits/aquamarine/Makefile b/x11-toolkits/aquamarine/Makefile
index f5e19a9cde4f..9bdcda60ac41 100644
--- a/x11-toolkits/aquamarine/Makefile
+++ b/x11-toolkits/aquamarine/Makefile
@@ -36,12 +36,6 @@ USE_XORG= pixman
PLIST_SUB= SOVERSION_FULL=${DISTVERSION:C/-.*//} \
SOVERSION_MAJOR=10
-# XXX Drop after FreeBSD 13.5 EOL around 2026-04-30
-# https://cgit.freebsd.org/src/commit/?id=af93fea71038
-.if !exists(/usr/include/sys/timerfd.h)
-LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
-.endif
-
.include <bsd.port.options.mk>
.if ${ARCH} == i386
diff --git a/x11-toolkits/hyprtoolkit/Makefile b/x11-toolkits/hyprtoolkit/Makefile
index 24f87856d69f..3767ec1d1e27 100644
--- a/x11-toolkits/hyprtoolkit/Makefile
+++ b/x11-toolkits/hyprtoolkit/Makefile
@@ -36,12 +36,6 @@ LDFLAGS+= -pthread
PLIST_SUB= SOVERSION_FULL=${DISTVERSION} \
SOVERSION_MAJOR=5
-# XXX Drop after FreeBSD 13.5 EOL around 2026-04-30
-# https://cgit.freebsd.org/src/commit/?id=af93fea71038
-.if !exists(/usr/include/sys/timerfd.h)
-LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
-.endif
-
# XXX Drop after FreeBSD 14.* EOL around 2028-11-30
# https://cgit.freebsd.org/src/commit/?id=3965de642c29
.if !exists(/usr/include/sys/inotify.h)
diff --git a/x11-wm/dwm/Makefile b/x11-wm/dwm/Makefile
index 3c1299fa4222..cf42c5f28419 100644
--- a/x11-wm/dwm/Makefile
+++ b/x11-wm/dwm/Makefile
@@ -75,7 +75,7 @@ post-install-DOCS-on:
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
do-test:
- ${LOCALBASE}/libexec/atf-check -s exit:1 -e match:"dwm-${PORTVERSION}" \
+ /usr/libexec/atf-check -s exit:1 -e match:"dwm-${PORTVERSION}" \
${STAGEDIR}${PREFIX}/bin/dwm -v
.include <bsd.port.mk>
diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile
index 363c68c382a8..083cb676eed1 100644
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -49,12 +49,6 @@ LDFLAGS+= -pthread
WRKSRC= ${WRKDIR}/${PORTNAME}-source
-# XXX Drop after FreeBSD 13.5 EOL around 2026-04-30
-# https://cgit.freebsd.org/src/commit/?id=af93fea71038
-.if !exists(/usr/include/sys/timerfd.h)
-LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
-.endif
-
# XXX Drop after FreeBSD 14.* EOL around 2028-11-30
# https://cgit.freebsd.org/src/commit/?id=3965de642c29
.if !exists(/usr/include/sys/inotify.h)
diff --git a/x11-wm/sway/Makefile b/x11-wm/sway/Makefile
index 120ae0e8cd0a..df63e4e36605 100644
--- a/x11-wm/sway/Makefile
+++ b/x11-wm/sway/Makefile
@@ -54,9 +54,7 @@ X11_LIB_DEPENDS= libxcb-icccm.so:x11/xcb-util-wm
.include <bsd.port.options.mk>
# https://github.com/freebsd/freebsd-src/pull/1675
-.if ${OPSYS} == FreeBSD && (${OSVERSION} < 1305503 \
- || ${OSVERSION} >= 1400000 && ${OSVERSION} < 1403505 \
- || ${OSVERSION} >= 1500000 && ${OSVERSION} < 1500052)
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1403505
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-wordexp
.endif
diff --git a/x11-wm/swayfx/Makefile b/x11-wm/swayfx/Makefile
index 8e4890d5cdef..8a01a45e836a 100644
--- a/x11-wm/swayfx/Makefile
+++ b/x11-wm/swayfx/Makefile
@@ -57,9 +57,7 @@ X11_LIB_DEPENDS= libxcb-icccm.so:x11/xcb-util-wm
.include <bsd.port.options.mk>
# https://github.com/freebsd/freebsd-src/pull/1675
-.if ${OPSYS} == FreeBSD && (${OSVERSION} < 1305503 \
- || ${OSVERSION} >= 1400000 && ${OSVERSION} < 1403505 \
- || ${OSVERSION} >= 1500000 && ${OSVERSION} < 1500052)
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1403505
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-wordexp
.endif
diff --git a/x11/contour/Makefile b/x11/contour/Makefile
index 1c555827b9a8..29bba74e3697 100644
--- a/x11/contour/Makefile
+++ b/x11/contour/Makefile
@@ -48,11 +48,6 @@ OPTIONS_DEFINE= DOCS
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_crispy_read__selector.h
.endif
-# FreeBSD 13 does not have tic in base, so we need one from ports
-.if ${OPSYS} == FreeBSD && ${OSREL:R} == 13
-BUILD_DEPENDS+= tic:devel/ncurses
-.endif
-
.if ${ARCH:Mpowerpc*}
USES+= compiler:gcc-c++11-lib
.endif
diff --git a/x11/kde-gear/Makefile b/x11/kde-gear/Makefile
index 5370d52825f3..7c2a8c4915f3 100644
--- a/x11/kde-gear/Makefile
+++ b/x11/kde-gear/Makefile
@@ -12,7 +12,6 @@ USE_QT= # empty
OPTIONS_DEFINE= KDEADMIN KDEEDU KDEGAMES KDEGRAPHICS KDEMULTIMEDIA KDENETWORK \
KDEPIM KDEUTILS
OPTIONS_DEFAULT=${OPTIONS_DEFINE}
-OPTIONS_EXCLUDE_FreeBSD_13= KDEPIM # OpenSSL 1.1.x is not supported
KDEADMIN_DESC= Administration utilities
KDEADMIN_RUN_DEPENDS= kdeadmin>=${KDE_APPLICATIONS_VERSION}:sysutils/kdeadmin
diff --git a/x11/kitty/Makefile b/x11/kitty/Makefile
index 936bf4fb4351..9f34ae538411 100644
--- a/x11/kitty/Makefile
+++ b/x11/kitty/Makefile
@@ -38,9 +38,10 @@ LIB_DEPENDS= libcairo.so:graphics/cairo \
libxkbcommon.so:x11/libxkbcommon \
libxxhash.so:devel/xxhash
+# ncursesw and tinfo >= 6.1 seem to be needed
USES= compiler:c11 cpe desktop-file-utils gettext-runtime gl gmake \
- go:modules,1.26 magick pkgconfig python shebangfix ssl tar:xz \
- terminfo xorg
+ go:modules,1.26 magick ncurses pkgconfig python shebangfix ssl \
+ tar:xz terminfo xorg
CPE_VENDOR= kitty_project
USE_GL= gl
@@ -84,13 +85,6 @@ CFLAGS+= -Wno-error=invalid-utf8 -Winvalid-utf8
MAKE_ENV+= KITTY_NO_LTO=1
.endif
-# ncursesw and tinfo >= 6.1 seem to be neededd
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400035
-USES+= ncurses:port
-.else
-USES+= ncurses
-.endif
-
# PR291485
# Temporarily disable build/installation of docs and man pages on FreeBSD >= 15.0
# See:
diff --git a/x11/nvidia-kmod/Makefile b/x11/nvidia-kmod/Makefile
index 3d34f9a3eb6d..5ae99c8449ed 100644
--- a/x11/nvidia-kmod/Makefile
+++ b/x11/nvidia-kmod/Makefile
@@ -187,12 +187,10 @@ post-patch: .SILENT
${WRKSRC}/src/${NVSRC}/nvidia_dev.c
.endif
# After src 2a99dd30dfaa, DRIVER_MODULE should not include nvidia_devclass
-.if ${OSVERSION} >= 1400058
${REINPLACE_CMD} -e '/^DRIVER_MODULE/s/, nvidia_devclass//' \
${WRKSRC}/src/${NVSRC}/nvidia_pci.c
-.endif
# Catch up with pmap_unmapdev() and kmem_*() changes in 14-CURRENT
-.if ${OSVERSION} >= 1400070 && (${NVVERSION} < 470.25602 || ${NVVERSION} >= 480.00000 && ${NVVERSION} < 530.03002)
+.if ${NVVERSION} < 470.25602 || ${NVVERSION} >= 480.00000 && ${NVVERSION} < 530.03002
${REINPLACE_CMD} -e '/pmap_unmapdev/s,(vm_offset_t),,' \
${WRKSRC}/src/${NVSRC}/nvidia_os.c
${REINPLACE_CMD} -e '/vm_offset_t virtual_address/s,vm_offset_t ,char *,' \
diff --git a/x11/pixman/Makefile b/x11/pixman/Makefile
index 8375ecaa276d..852b12e73600 100644
--- a/x11/pixman/Makefile
+++ b/x11/pixman/Makefile
@@ -13,7 +13,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USES= cpe meson pkgconfig tar:xz
MESON_ARGS= -Dloongson-mmi=disabled \
-Dgtk=disabled \
- -Ddemos=disabled
+ -Ddemos=disabled \
+ -Dmips-dspr2=disabled
OPTIONS_DEFINE= OPENMP TEST
OPTIONS_DEFAULT= OPENMP
@@ -52,11 +53,6 @@ MESON_ARGS+= -Dmmx=disabled \
-Dsse2=disabled \
-Dssse3=disabled
.endif
-.if ${ARCH:Mmips*}
-MESON_ARGS+= -Dmips-dspr2=enabled
-.else
-MESON_ARGS+= -Dmips-dspr2=disabled
-.endif
.if ${ARCH:Mpowerpc*}
MESON_ARGS+= -Dvmx=enabled
.else
diff --git a/x11/plasma6-plasma-workspace/Makefile b/x11/plasma6-plasma-workspace/Makefile
index d275f0fc38fd..dcccf982f683 100644
--- a/x11/plasma6-plasma-workspace/Makefile
+++ b/x11/plasma6-plasma-workspace/Makefile
@@ -54,8 +54,6 @@ OPTIONS_DEFINE= GTK
GTK_DESC= Global menu bar support for GTK applications
GTK_RUN_DEPENDS= appmenu-gtk-module>0:x11/gtk-app-menu
-IGNORE_FreeBSD_13= requires timerfd(2)
-
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${PATCH_WRKSRC}/startkde/startplasma.cpp \
diff --git a/x11/squeekboard/Makefile b/x11/squeekboard/Makefile
index c92bb991fe97..e260609744c4 100644
--- a/x11/squeekboard/Makefile
+++ b/x11/squeekboard/Makefile
@@ -14,8 +14,6 @@ WWW= https://gitlab.gnome.org/World/Phosh/squeekboard
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_FreeBSD_13_powerpc64= fails to link: ld: error: undefined symbol: eekboard_context_service_get_overlay
-
BUILD_DEPENDS= wayland-protocols>=1.12:graphics/wayland-protocols
LIB_DEPENDS= libfeedback-0.0.so:accessibility/feedbackd \
libwayland-client.so:graphics/wayland \
diff --git a/x11/swayimg/Makefile b/x11/swayimg/Makefile
index dd847e2a366b..7a2e8b89d0f9 100644
--- a/x11/swayimg/Makefile
+++ b/x11/swayimg/Makefile
@@ -36,12 +36,6 @@ PLIST_FILES= bin/${PORTNAME} \
LIB_DEPENDS+= libinotify.so:devel/libinotify
.endif
-# XXX Drop after FreeBSD 13.5 EOL around 2026-04-30
-# https://cgit.freebsd.org/src/commit/?id=af93fea71038
-.if !exists(/usr/include/sys/timerfd.h)
-LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
-.endif
-
OPTIONS_DEFINE= AVIF BASH EXIV2 GIF HEIF JPEG JXL LIBRSVG2 \
OPENEXR PNG RAW SIXEL TIFF WEBP ZSH
OPTIONS_DEFAULT=AVIF BASH DRM EXIV2 GIF HEIF JPEG JXL LIBRSVG2 \
diff --git a/x11/wmenu/Makefile b/x11/wmenu/Makefile
index fa5a2ea63cec..c105240107c3 100644
--- a/x11/wmenu/Makefile
+++ b/x11/wmenu/Makefile
@@ -18,14 +18,6 @@ LIB_DEPENDS= libwayland-client.so:graphics/wayland \
USES= compiler:c11 gnome meson pkgconfig
USE_GNOME= cairo pango
-# XXX Drop after FreeBSD 13.5 EOL around 2026-04-30
-# https://cgit.freebsd.org/src/commit/?id=af93fea71038
-.if !exists(/usr/include/sys/timerfd.h)
-LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
-CPPFLAGS+= `pkg-config --cflags epoll-shim`
-LDFLAGS+= `pkg-config --libs epoll-shim`
-.endif
-
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/wmenu \
diff --git a/x11/xdg-desktop-portal-wlr/Makefile b/x11/xdg-desktop-portal-wlr/Makefile
index 33abee371dbb..1010eb43ac5e 100644
--- a/x11/xdg-desktop-portal-wlr/Makefile
+++ b/x11/xdg-desktop-portal-wlr/Makefile
@@ -30,12 +30,6 @@ PLIST_FILES= libexec/${PORTNAME} \
share/dbus-1/services/org.freedesktop.impl.portal.desktop.wlr.service \
share/xdg-desktop-portal/portals/wlr.portal
-# XXX Drop after FreeBSD 13.5 EOL around 2026-04-30
-# https://cgit.freebsd.org/src/commit/?id=af93fea71038
-.if !exists(/usr/include/sys/timerfd.h)
-LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
-.endif
-
OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT=MANPAGES
diff --git a/x11/xfce4-goodies/Makefile b/x11/xfce4-goodies/Makefile
index dafad746337e..b10802f28604 100644
--- a/x11/xfce4-goodies/Makefile
+++ b/x11/xfce4-goodies/Makefile
@@ -27,7 +27,6 @@ OPTIONS_EXCLUDE_powerpc64= BATTERY
OPTIONS_EXCLUDE_powerpc64le= BATTERY
OPTIONS_EXCLUDE_powerpcspe= BATTERY
OPTIONS_EXCLUDE_riscv64= BATTERY
-OPTIONS_EXCLUDE_riscv64sf= BATTERY
OPTIONS_GROUP= APPLICATIONS PANELPLUGINS THUNARPLUGINS UNOFFICIAL