git: bbab7f59e963 - main - */*: Sunset 12.4-RELEASE/12-STABLE from ports tree

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 31 Dec 2023 01:14:14 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bbab7f59e9630416397189df70ec133bdd690e38

commit bbab7f59e9630416397189df70ec133bdd690e38
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-09-30 20:44:19 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-31 00:37:05 +0000

    */*: Sunset 12.4-RELEASE/12-STABLE from ports tree
    
    - Remove all references to defunct ARCH arm
    - Remove all references to defunct ARCH sparc64
    - Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
      ARCH
    - Remove sysutils/afbinit requires defunct sparc64 ARCH
    - Remove all references to bktr driver
    - Remove all references to defunct FreeBSD_12
    - Remove all references to OSVERSION/OSREL corresponding to 12
    - Remove conditionals in Mk/Uses/cabal.mk
    - Remove sparc reference from Mk/Uses/qt-dist.mk
    - Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
    - Remove BROKEN_FreeBSD_12* from:
    - Remove OpenSSL patches from:
    - Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
      Also move conditional flags for non sparc64/arm ARCH to fixed flags.
    
    Reviewed by:    brooks, jbeich, rene, salvadore
    Differential Revision: https://reviews.freebsd.org/D42068
---
 Mk/Uses/cabal.mk                                   |   6 -
 Mk/Uses/qt-dist.mk                                 |   3 +-
 Mk/bsd.port.mk                                     |   4 +-
 archivers/innoextract/Makefile                     |   2 -
 archivers/libarchive/Makefile                      |   8 -
 .../libarchive/files/extra-patch-pkgconfig-compat  |   7 -
 archivers/py-zstandard/Makefile                    |   2 -
 astro/libgal/Makefile                              |   2 -
 astro/oskar/Makefile                               |   1 -
 audio/cheesecutter/Makefile                        |   9 +-
 audio/fdk-aac/Makefile                             |   3 -
 audio/mhwaveedit/Makefile                          |   1 -
 audio/mixertui/Makefile                            |   9 +-
 audio/nas/Makefile                                 |  10 +-
 audio/ncpamixer/Makefile                           |  11 +-
 audio/opus/Makefile                                |   7 -
 audio/rhvoice/Makefile                             |   2 -
 audio/sfizz/Makefile                               |   4 -
 benchmarks/sipp/Makefile                           |   2 -
 biology/avida/Makefile                             |   1 -
 biology/gatk/Makefile                              |   2 -
 biology/mafft/Makefile                             |   8 -
 biology/plink/Makefile                             |   2 +-
 cad/astk-serveur/Makefile                          |   5 -
 cad/brlcad/Makefile                                |   2 -
 cad/calculix-ccx/Makefile                          |  11 +-
 cad/calculix/Makefile                              |  11 +-
 cad/klayout/Makefile                               |   1 -
 cad/libredwg/Makefile                              |   2 +-
 cad/nvc/Makefile                                   |   3 -
 cad/stepcode/Makefile                              |   2 -
 cad/z88/Makefile                                   |   2 -
 chinese/kcfonts/Makefile                           |   1 -
 comms/aprsd/Makefile                               |   2 -
 comms/ebusd/files/patch-src_lib_ebus_datatype.cpp  |  10 -
 comms/fldigi/Makefile                              |   2 -
 comms/flrig/Makefile                               |   2 -
 comms/linrad/Makefile                              |   1 -
 comms/obexapp/Makefile                             |   8 +-
 comms/uhd/Makefile                                 |   3 -
 ...JavaScriptCore__runtime__JSValueInlineMethods.h |  26 --
 databases/firebird30-server/Makefile               |   2 -
 databases/firebird40-server/Makefile               |   2 -
 databases/gnats4/Makefile                          |   1 -
 databases/grass7/Makefile                          |   2 -
 databases/leofs/Makefile                           |   2 +-
 databases/libmemcached/Makefile                    |   9 +-
 databases/libmemcached/files/extra-patch-openssl   |  11 -
 databases/memcached/Makefile                       |   2 -
 databases/mysql80-server/Makefile                  |   5 -
 .../files/extra-patch-scripts_CMakeLists.txt       |  10 -
 databases/mysql81-server/Makefile                  |   5 -
 .../files/extra-patch-scripts_CMakeLists.txt       |  10 -
 databases/p5-Tie-LevelDB/Makefile                  |   1 -
 databases/postgresql16-server/Makefile             |   2 -
 databases/rocksdb/Makefile                         |   1 -
 databases/soci/Makefile                            |   1 -
 deskutils/easystroke/Makefile                      |   2 -
 deskutils/xdg-desktop-portal/Makefile              |   9 +-
 devel/9base/Makefile                               |   2 +-
 devel/abi-compliance-checker/Makefile              |   8 +-
 devel/adacurses/Makefile                           |  10 +-
 .../files/patch-vendor_adb_compression__utils.h    |  28 --
 devel/api-sanity-autotest/Makefile                 |   8 +-
 devel/arduino/Makefile                             |   2 +-
 devel/avce00/Makefile                              |   2 +-
 devel/avro-c/Makefile                              |   2 -
 devel/bazel029/Makefile                            |   1 -
 devel/bazel5/Makefile                              |   1 -
 devel/bbparse/Makefile                             |   1 -
 devel/binutils/Makefile                            |   4 +-
 devel/boost-libs/Makefile                          |   2 -
 devel/concurrencykit/Makefile                      |   2 +-
 devel/cxxtools/Makefile                            |   1 -
 devel/distorm/Makefile                             |   8 +-
 devel/efivar/Makefile                              |   2 +-
 .../patch-third__party_wayland_include_config.h    |  23 +-
 ...m_wayland_host_zwp__text__input__wrapper__v1.cc |  21 --
 .../patch-third__party_wayland_include_config.h    |  23 +-
 ...m_wayland_host_zwp__text__input__wrapper__v1.cc |  21 --
 devel/elfutils/Makefile                            |  13 +-
 devel/freebsd-gcc12/Makefile                       |   2 -
 devel/freebsd-gcc13/Makefile                       |   2 -
 devel/freebsd-gcc9/Makefile                        |   2 +-
 devel/freebsd-gcc9/pkg-plist.sparc64               |   8 -
 devel/grpc/Makefile                                |   9 +-
 devel/grpc/files/extra-patch-openssl               |  20 --
 devel/hare/Makefile                                |   8 +-
 devel/intel-graphics-compiler/Makefile             |   1 -
 devel/kf5-kcoreaddons/Makefile                     |  11 +-
 devel/libffcall/files/patch-ffcall-abi.h           |  11 -
 devel/libftdi1/Makefile                            |   2 -
 devel/libhoard/Makefile                            |   1 -
 devel/libpeak/Makefile                             |   2 +-
 devel/libqsbr/Makefile                             |   7 -
 devel/lightning/Makefile                           |   4 +-
 devel/linux_libusb/Makefile                        |   3 -
 devel/llbuild/Makefile                             |   1 -
 devel/llvm-devel/Makefile                          |   8 -
 devel/llvm10/Makefile                              |   3 +-
 devel/llvm11/Makefile                              |   3 +-
 devel/llvm12/Makefile                              |   8 +-
 devel/llvm13/Makefile                              |   8 +-
 devel/llvm14/Makefile                              |  10 +-
 devel/llvm15/Makefile                              |  10 +-
 devel/llvm16/Makefile                              |  11 +-
 devel/llvm17/Makefile                              |   8 -
 devel/love/Makefile                                |   2 +-
 devel/mdb/Makefile                                 |  10 -
 devel/mongo-c-driver/Makefile                      |   4 -
 devel/msgpack-c/Makefile                           |  10 +-
 devel/ncurses/Makefile                             |   2 -
 devel/nextpnr/Makefile                             |   1 -
 devel/p5-Data-MessagePack-Stream/Makefile          |   1 -
 devel/pcl/Makefile                                 |   4 -
 devel/pcre/Makefile                                |   1 -
 devel/pcre2/Makefile                               |   2 +-
 devel/pickle/Makefile                              |   1 -
 devel/pika/Makefile                                |   1 -
 devel/protobuf/Makefile                            |   2 -
 devel/py-hidraw/Makefile                           |   8 +-
 devel/py-keystone-engine/Makefile                  |   2 -
 ...ascriptcore__JavaScriptCore__runtime__JSValue.h |  26 --
 devel/radare2/Makefile                             |   2 +-
 devel/root/Makefile                                |   8 -
 devel/root/pkg-plist                               |   1 -
 devel/rubygem-gobject-introspection/Makefile       |   2 -
 devel/rubygem-rice/Makefile                        |   2 -
 devel/sdbus-cpp/Makefile                           |   8 -
 devel/socket_wrapper/Makefile                      |   1 -
 devel/stack/Makefile                               |   2 +-
 devel/tex-libtexluajit/Makefile                    |   1 -
 devel/upp/Makefile                                 |   1 -
 dns/powerdns-recursor/Makefile                     |   1 -
 dns/powerdns/Makefile                              |   1 -
 editors/xcoral/Makefile                            |  14 +-
 emulators/cingb/Makefile                           |   2 +-
 emulators/dynamips-community/Makefile              |   1 -
 emulators/mednafen/Makefile                        |   2 -
 emulators/pcsx2/Makefile                           |   9 +-
 emulators/ppsspp/Makefile                          |   2 +-
 emulators/qemu-devel/Makefile                      |   4 -
 emulators/qemu/Makefile                            |   4 -
 emulators/qemu7/Makefile                           |   4 -
 emulators/qmc2/Makefile                            |   6 -
 .../qmc2/files/extra-scripts-sdl-includepaths      |   9 -
 emulators/rpcs3/files/patch-libc++13               |  26 --
 emulators/vba/Makefile                             |   1 -
 emulators/virtualbox-ose/Makefile                  |   5 -
 .../extrapatch-src_VBox_Devices_PC_DevFwCommon.cpp |  14 -
 emulators/wine-proton/Makefile                     |   1 -
 finance/ledger/Makefile                            |   2 -
 french/aster/Makefile                              |   4 -
 ftp/axel/Makefile                                  |   4 -
 ftp/freebsd-ftpd/Makefile                          |  11 +-
 games/adom/Makefile                                |   6 +-
 games/blinkensisters/Makefile                      |   2 -
 games/bloodfrontier/Makefile                       |   1 -
 games/bsdgames/Makefile                            |   8 +-
 games/chessx/Makefile                              |   6 -
 games/el/Makefile                                  |   2 -
 games/fishsupper/Makefile                          |   2 -
 games/freeminer/Makefile                           |   1 -
 games/jaggedalliance2/Makefile                     |   2 +-
 games/lgeneral/Makefile                            |   1 -
 games/linux-steam-utils/Makefile                   |   1 -
 games/moonlight-qt/Makefile                        |  16 +-
 games/openglad/Makefile                            |   2 -
 games/openrct2/Makefile                            |   2 +-
 games/pentobi/Makefile                             |   2 -
 games/quetoo/Makefile                              |   4 -
 games/redeclipse/Makefile                          |   2 -
 games/redeclipse16/Makefile                        |   2 -
 games/regoth/Makefile                              |   1 -
 games/retroarch/Makefile                           |   1 -
 games/rlvm/Makefile                                |   2 -
 games/sdb/Makefile                                 |   2 +-
 games/sdlpop/Makefile                              |   2 +-
 games/spacejunk/Makefile                           |   1 -
 games/wolfpack/Makefile                            |   8 +-
 graphics/Hermes/Makefile                           |   2 -
 graphics/aseprite/Makefile                         |   1 -
 graphics/cbonsai/Makefile                          |   1 -
 graphics/darktable/Makefile                        |  27 +-
 graphics/drm-510-kmod/Makefile                     |   3 -
 graphics/gpu-firmware-amd-kmod/Makefile            |   7 -
 graphics/gpu-firmware-kmod/Makefile                |  16 +-
 graphics/igt-gpu-tools/Makefile                    |   2 -
 .../patch-cmake_modules_xsimd_xsimdMacros.cmake    |  15 -
 graphics/lux/Makefile                              |   2 +-
 graphics/mozjpeg/Makefile                          |   1 -
 graphics/nvidia-drm-kmod/Makefile                  |   9 +-
 graphics/ogre3d/Makefile                           |   4 +-
 graphics/ogre3d19/Makefile                         |   2 +-
 graphics/opencollada/Makefile                      |   2 -
 graphics/openshadinglanguage/Makefile              |   1 -
 graphics/pixie/Makefile                            |   1 -
 graphics/qgis-ltr/Makefile                         |   7 -
 graphics/qgis/Makefile                             |   7 -
 .../patch-src_client_qwaylandshmbackingstore.cpp   |   4 +-
 graphics/tesseract-data/Makefile                   |   2 -
 graphics/vulkan-headers/Makefile                   |   7 -
 japanese/mozc-server/Makefile                      |   2 -
 java/netty/Makefile                                |   2 -
 java/openjdk11/Makefile                            |   3 -
 ...-patch-src_hotspot_cpu_ppc_vm__version__ppc.hpp |  11 -
 java/openjdk17/Makefile                            |   3 -
 ...-patch-src_hotspot_cpu_ppc_vm__version__ppc.hpp |  11 -
 java/openjdk18/Makefile                            |   3 -
 ...-patch-src_hotspot_cpu_ppc_vm__version__ppc.hpp |  11 -
 java/openjdk19/Makefile                            |   3 -
 ...-patch-src_hotspot_cpu_ppc_vm__version__ppc.hpp |  11 -
 java/openjdk20/Makefile                            |   3 -
 ...-patch-src_hotspot_cpu_ppc_vm__version__ppc.hpp |  11 -
 java/openjdk21/Makefile                            |   3 -
 ...-patch-src_hotspot_cpu_ppc_vm__version__ppc.hpp |  11 -
 lang/angelscript/Makefile                          |   2 -
 lang/cling/Makefile                                |   1 -
 lang/clisp/Makefile                                |   2 -
 lang/emilua/Makefile                               |   1 -
 lang/erlang-runtime21/Makefile                     |   2 -
 lang/erlang-runtime22/Makefile                     |   2 -
 lang/erlang-runtime23/Makefile                     |   2 -
 lang/erlang-runtime24/Makefile                     |   2 -
 lang/erlang-runtime25/Makefile                     |   2 -
 lang/erlang-runtime26/Makefile                     |   2 -
 lang/erlang/Makefile                               |   2 -
 lang/gauche/Makefile                               |   3 -
 lang/gcc10/Makefile                                |   2 +-
 lang/gcc11-devel/Makefile                          |   2 +-
 lang/gcc11/Makefile                                |   2 +-
 lang/gcc12-devel/Makefile                          |   2 +-
 lang/gcc12/Makefile                                |   2 +-
 lang/gcc13-devel/Makefile                          |   2 +-
 lang/gcc13/Makefile                                |   2 +-
 lang/gcc14-devel/Makefile                          |   2 +-
 lang/gcc9/Makefile                                 |   2 +-
 lang/gforth/Makefile                               |   2 +-
 lang/ghc/Makefile                                  |   2 +-
 lang/gnustep-base/Makefile                         |   6 -
 lang/go-devel/Makefile                             |   4 -
 lang/lfortran/Makefile                             |   3 -
 lang/libobjc2/Makefile                             |   2 -
 lang/mecrisp-stellaris/Makefile                    |   1 -
 lang/mlton/Makefile                                |  12 +-
 lang/mlton/distinfo                                |   4 -
 lang/mono6.8/Makefile                              |   2 +-
 lang/newlisp/Makefile                              |   2 +-
 lang/nim/Makefile                                  |   2 -
 lang/ocaml/Makefile                                |   1 -
 lang/opencoarrays/Makefile                         |   2 -
 lang/perl5-devel/Makefile                          |   4 +-
 lang/perl5.34/Makefile                             |   4 +-
 lang/perl5.36/Makefile                             |   4 +-
 lang/perl5.38/Makefile                             |   4 +-
 lang/php81/Makefile                                |   3 -
 lang/php82/Makefile                                |   3 -
 lang/php83/Makefile                                |   3 -
 lang/python27/Makefile                             |   4 -
 lang/python310/Makefile                            |   4 -
 lang/python311/Makefile                            |   4 -
 lang/python38/Makefile                             |   4 -
 lang/python39/Makefile                             |   4 -
 lang/rust-bootstrap/Makefile                       |   3 -
 lang/rust/Makefile                                 |   1 -
 lang/scm/Makefile                                  |   6 +-
 lang/seed7/Makefile                                |   2 +-
 lang/smalltalk/Makefile                            |   1 +
 lang/solidity/Makefile                             |   2 +-
 lang/tauthon/Makefile                              |   4 -
 lang/tcl87/Makefile                                |   3 -
 mail/fetchmail/Makefile                            |   6 -
 mail/filtermail/Makefile                           |  14 +-
 mail/rmilter/Makefile                              |   2 +-
 mail/spamilter/Makefile                            |   1 -
 ...third__party_libwebrtc_rtc__base_ip__address.cc |  23 --
 math/R-cran-igraph/Makefile                        |   2 -
 math/acalc/Makefile                                |   2 -
 math/asymptote/Makefile                            |   1 -
 math/blacs/Makefile                                |   2 +-
 math/cgal/Makefile                                 |   2 -
 math/clasp/Makefile                                |   2 -
 math/clblas/Makefile                               |   2 -
 math/dieharder/Makefile                            |   1 -
 math/elemental/Makefile                            |   1 -
 math/fenics-basix/Makefile                         |   8 +-
 math/gambit/Makefile                               |   2 -
 math/kktdirect/Makefile                            |   8 +-
 math/lapack95/Makefile                             |   8 +-
 math/ldouble/Makefile                              |   4 +-
 math/libocas/Makefile                              |  12 +-
 math/metis/Makefile                                |   8 +-
 math/ndiff/Makefile                                |   4 -
 math/nfft/Makefile                                 |  12 -
 math/octave-forge-ltfat/Makefile                   |   2 -
 math/parmetis/Makefile                             |   2 +-
 math/qrupdate/Makefile                             |  12 +-
 math/scalapack/Makefile                            |   2 +-
 math/spooles/Makefile                              |   8 +-
 math/taucs/Makefile                                |   8 +-
 math/trlan/Makefile                                |   8 +-
 math/xblas/Makefile                                |   8 +-
 misc/compat5x/Makefile                             |   8 +-
 misc/compat5x/distinfo                             |   4 +-
 misc/compat5x/pkg-plist                            |   4 -
 misc/compat6x/Makefile                             |   2 +-
 misc/compat6x/distinfo                             |   3 +-
 misc/compat6x/pkg-plist.sparc64                    | 109 ------
 misc/dahdi-kmod26/Makefile                         |   2 +-
 misc/dnetc/Makefile                                |   8 +-
 misc/dnetc/distinfo.sparc64                        |   2 -
 misc/libpri/Makefile                               |   2 +-
 misc/localedata/Makefile                           |   2 +-
 multimedia/dav1d/files/patch-freebsd12             |  19 -
 multimedia/helvum/Makefile                         |   7 -
 multimedia/makemkv/Makefile                        |   3 +-
 multimedia/mkclean/Makefile                        |   1 -
 multimedia/mkvalidator/Makefile                    |   1 -
 multimedia/mkvtoolnix/Makefile                     |   2 -
 multimedia/mlt7/Makefile                           |   2 -
 multimedia/musikcube/Makefile                      |  17 +-
 multimedia/obs-studio/Makefile                     |   2 -
 .../files/patch-src_modules_module-netjack2_peer.c |  23 --
 multimedia/xawtv/Makefile                          |  10 +-
 multimedia/xawtv/files/patch-Makefile.in           |  11 +-
 multimedia/xawtv/files/patch-common__vbi-data.c    |   6 +-
 multimedia/xawtv/files/patch-configure             |  21 +-
 multimedia/xawtv/files/patch-console__fbtools.c    |   6 +-
 multimedia/xawtv/files/patch-console__scantv.c     |   6 +-
 multimedia/xawtv/files/patch-console__showqt.c     |  14 +-
 multimedia/xawtv/files/patch-console__vbi-tty.c    |  30 +-
 .../files/patch-libng__contrib-plugins__Subdir.mk  |   6 +-
 .../xawtv/files/patch-libng__plugins__drv0-bsd.c   |  24 +-
 .../xawtv/files/patch-libng_plugins_Subdir.mk      |   9 +-
 multimedia/xawtv/files/patch-scripts-subtitles     |   6 +-
 multimedia/xawtv/files/patch-x11__Subdir.mk        |   8 +-
 multimedia/xawtv/pkg-plist                         |   1 -
 .../files/patch-Quotient_qt__connection__util.h    |  52 ---
 net-im/telegram-purple/Makefile                    |   1 -
 net-mgmt/monitoring-plugins/Makefile               |   4 -
 net-mgmt/nagios-plugins/Makefile                   |   8 +-
 net-mgmt/nfs-exporter/Makefile                     |   6 -
 net-p2p/qbittorrent/Makefile                       |   2 -
 net/asterisk18/Makefile                            |   2 -
 net/bird2/Makefile                                 |   3 -
 net/bsdrcmds/Makefile                              |   9 +-
 net/freebsd-telnetd/Makefile                       |  11 +-
 net/freeipa-client/Makefile                        |   3 -
 net/libcmis/Makefile                               |   2 -
 net/libpcap/Makefile                               |   1 -
 net/libpfctl/Makefile                              |   2 +-
 net/liveMedia/Makefile                             |   2 -
 net/samba413/Makefile                              |   3 -
 net/samba416/Makefile                              |   2 -
 net/sflowtool/Makefile                             |   7 -
 net/sflowtool/files/extra-patch-src_sflowtool.c    |  25 --
 net/sniffnet/Makefile                              |   2 -
 net/tcplog_dumper/Makefile                         |   1 -
 net/tcprtt/Makefile                                |   1 -
 net/widentd/Makefile                               |   8 +-
 net/wifibox-core/Makefile                          |   3 +-
 net/yate/Makefile                                  |   2 +-
 net/zerotier/Makefile                              |   5 -
 ports-mgmt/synth/Makefile                          |   8 -
 print/pdf-tools/Makefile                           |   2 -
 science/agrum/Makefile                             |   2 -
 science/cantera/Makefile                           |   2 -
 science/cdo/Makefile                               |   9 +-
 science/dftbplus/Makefile                          |   2 -
 science/libctl/Makefile                            |   2 -
 science/libtensorflow1/Makefile                    |   5 -
 .../files/extra-patch-third_party_repo.bzl         |  25 --
 science/siesta/Makefile                            |   2 -
 science/simlib/Makefile                            |   2 +-
 science/step/Makefile                              |   1 -
 science/zotero/Makefile                            |   1 -
 security/hashcat/Makefile                          |   2 +-
 security/isal-kmod/Makefile                        |   1 -
 security/libfido2/Makefile                         |   9 +-
 security/libfido2/files/extra-patch-openssl        |  26 --
 security/nettle/Makefile                           |   4 -
 security/openssl-quictls/Makefile                  |  11 +-
 security/openssl/Makefile                          |  11 +-
 security/openssl111/Makefile                       |  11 +-
 security/openssl31-quictls/Makefile                |   8 -
 security/openssl31/Makefile                        |  11 +-
 security/openssl32/Makefile                        |  11 +-
 security/openvpn-devel/Makefile                    |   1 -
 security/openvpn/Makefile                          |   1 -
 security/opie/Makefile                             |   1 -
 security/p5-Crypt-Curve25519/Makefile              |   1 -
 security/p5-PGP/Makefile                           |   2 +-
 security/pam_ssh_agent_auth/Makefile               |   1 -
 security/pam_u2f/Makefile                          |   4 -
 security/picocrypt/Makefile                        |   2 +-
 security/pkcs11-tools/Makefile                     |  13 -
 security/rcracki_mt/Makefile                       |   2 +-
 security/snort3/Makefile                           |   6 -
 security/sssd-devel/Makefile                       |  10 +-
 security/tor/Makefile                              |   1 -
 security/wazuh-manager/Makefile                    |   6 +-
 security/zeek/Makefile                             |   2 -
 shells/ksh-devel/Makefile                          |   2 -
 shells/v7sh/files/Makefile                         |   4 -
 sysutils/acpica-tools/Makefile                     |   2 -
 sysutils/arcconf/Makefile                          |   8 +-
 sysutils/bhyve+/Makefile                           |   4 +-
 sysutils/bhyve+/files/freebsd-12/3/patch-virtio-9p |  31 --
 sysutils/bhyve+/files/freebsd-12/patch-libvmmapi   |  33 --
 .../bhyve+/files/freebsd-12/patch-msi-x-mappings   | 132 -------
 sysutils/bhyve+/files/freebsd-12/patch-virtio-9p   | 385 ---------------------
 sysutils/dynamic_motd/Makefile                     |   2 -
 sysutils/egress-monitor/Makefile                   |   2 -
 sysutils/hammer2/Makefile                          |   2 -
 sysutils/hid-tools/Makefile                        |   1 -
 sysutils/mbgtools/Makefile                         |   1 -
 sysutils/mtm/Makefile                              |  13 +-
 sysutils/ocijail/Makefile                          |   2 -
 sysutils/openzfs-kmod/Makefile                     |   5 +-
 ...emon_backends_upower_freebsdbacklighthelper.cpp |  17 -
 sysutils/syslog-ng/Makefile                        |   2 -
 sysutils/vector/Makefile                           |   1 -
 sysutils/xen-tools/Makefile                        |   4 -
 sysutils/xnvme/Makefile                            |   1 -
 sysutils/zidrav/Makefile                           |   2 +-
 textproc/apertium/Makefile                         |   2 -
 textproc/p5-CSS-Sass/Makefile                      |   2 -
 textproc/py-ufal.udpipe/Makefile                   |   2 +-
 textproc/senna/Makefile                            |   1 -
 textproc/source-highlight/Makefile                 |   2 -
 textproc/turboxsl/Makefile                         |   2 +-
 textproc/uim/Makefile                              |   2 +-
 textproc/xmlwrapp/Makefile                         |   2 -
 .../patch-third__party_wayland_include_config.h    |  23 +-
 ...m_wayland_host_zwp__text__input__wrapper__v1.cc |  21 --
 www/edbrowse/Makefile                              |   7 -
 www/edbrowse/files/extra-patch-openssl             |  11 -
 ...third__party_libwebrtc_rtc__base_ip__address.cc |  23 --
 ...third__party_libwebrtc_rtc__base_ip__address.cc |  23 --
 www/h2o-devel/Makefile                             |   1 -
 www/h2o/Makefile                                   |   1 -
 .../patch-third__party_wayland_include_config.h    |  23 +-
 ...m_wayland_host_zwp__text__input__wrapper__v1.cc |  21 --
 www/ladybird/Makefile                              |   1 -
 ...third__party_libwebrtc_rtc__base_ip__address.cc |  23 --
 www/luakit-devel/Makefile                          |   3 -
 www/luakit/Makefile                                |   3 -
 www/nginx-devel/Makefile                           |   7 +-
 www/nginx/Makefile                                 |   7 +-
 www/osrm-backend/Makefile                          |  10 +-
 www/qt5-webengine/Makefile                         |   4 +-
 ...third__party_libwebrtc_rtc__base_ip__address.cc |  23 --
 .../patch-third__party_wayland_include_config.h    |  23 +-
 ...m_wayland_host_zwp__text__input__wrapper__v1.cc |  21 --
 .../files/patch-Source_WTF_wtf_PlatformCPU.h       |  28 --
 .../files/patch-Source_WTF_wtf_dtoa_utils.h        |  12 -
 x11-servers/xorg-server/Makefile                   |   6 -
 .../patch-hw_xfree86_os-support_bsd_bsd__init.c    |  22 +-
 x11-servers/xorg-server/pkg-plist                  |   1 -
 x11-toolkits/kf5-kirigami2/Makefile                |  10 +-
 x11-toolkits/movingmotif/Makefile                  |   2 -
 x11-toolkits/scintilla/Makefile                    |   8 +-
 x11-toolkits/vte3/Makefile                         |  16 +-
 x11-toolkits/wlroots/Makefile                      |   8 -
 x11-wm/hyprland/Makefile                           |   2 -
 x11-wm/wmii/Makefile                               |   2 +-
 x11/foot/Makefile                                  |   1 -
 x11/kitty/Makefile                                 |   5 -
 x11/kitty/files/extra-patch-kitty_data-types.h     |  13 -
 x11/nvidia-driver/Makefile                         |   2 +-
 x11/sandbar/Makefile                               |   2 -
 x11/squeekboard/Makefile                           |   1 -
 x11/wl-mirror/Makefile                             |   2 -
 x11/xdg-desktop-portal-hyprland/Makefile           |   2 -
 x11/xdg-desktop-portal-luminous/Makefile           |   2 -
 475 files changed, 312 insertions(+), 3031 deletions(-)

diff --git a/Mk/Uses/cabal.mk b/Mk/Uses/cabal.mk
index 92dbec7a9553..e91e4522e8f7 100644
--- a/Mk/Uses/cabal.mk
+++ b/Mk/Uses/cabal.mk
@@ -81,12 +81,6 @@ IGNORE=		CABAL_PROJECT: invalid value: ${CABAL_PROJECT}
 BROKEN=		${USE_CABAL:Mbasement-0.0.1[4-5]} package doesn't compile on i386
 .  endif
 
-.  if ${OSVERSION} < 1302000 && defined(USE_CABAL) && ${USE_CABAL:Mtext-2.*}
-# Band-aids for a Clang bug that is shipped with FreeBSD < 13.2
-BUILD_DEPENDS+=	clang15:devel/llvm15
-BUILD_ARGS+=	--ghc-options='-pgmc clang++15'
-.  endif
-
 PKGNAMEPREFIX?=	hs-
 
 CABAL_EXECUTABLES?=	${PORTNAME}
diff --git a/Mk/Uses/qt-dist.mk b/Mk/Uses/qt-dist.mk
index 60e88885f958..1d16f2f5371f 100644
--- a/Mk/Uses/qt-dist.mk
+++ b/Mk/Uses/qt-dist.mk
@@ -261,7 +261,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)) || ${ARCH} == sparc64
+.    if ${ARCH:Mmips*} || (${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
@@ -548,4 +548,3 @@ qt-create-kde-distfile:
 		${_KDE_${_QT_DIST}_BRANCH}
 
 .endif # defined(_QT_DIST_MK_INCLUDED)
-
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index dae7b5772f40..c6593af4f8cf 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -42,7 +42,7 @@ FreeBSD_MAINTAINER=	portmgr@FreeBSD.org
 # OSREL			- The release version of the operating system as a text
 #				  string (e.g., "12.4").
 # OSVERSION		- The operating system version as a comparable integer;
-#				  the value of __FreeBSD_version (e.g., 1204000).
+#				  the value of __FreeBSD_version (e.g., 1302000).
 #
 # This is the beginning of the list of all variables that need to be
 # defined in a port, listed in order that they should be included
@@ -1184,7 +1184,7 @@ OSVERSION!=	${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${SRC
 .    endif
 _EXPORTED_VARS+=	OSVERSION
 
-.    if ${OPSYS} == FreeBSD && (${OSVERSION} < 1204000 || (${OSVERSION} >= 1300000 && ${OSVERSION} < 1302000))
+.    if ${OPSYS} == FreeBSD && (${OSVERSION} < 1302000 )
 _UNSUPPORTED_SYSTEM_MESSAGE=	Ports Collection support for your ${OPSYS} version has ended, and no ports\
 								are guaranteed to build on this system. Please upgrade to a supported release.
 .      if defined(ALLOW_UNSUPPORTED_SYSTEM)
diff --git a/archivers/innoextract/Makefile b/archivers/innoextract/Makefile
index 9d46ae4ad944..7f4aa7e623e4 100644
--- a/archivers/innoextract/Makefile
+++ b/archivers/innoextract/Makefile
@@ -11,8 +11,6 @@ WWW=		https://constexpr.org/innoextract/
 LICENSE=	ZLIB
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN_sparc64=	does not build: undefined reference to std::ctype<char>::_M_widen_init()
-
 BUILD_DEPENDS=	boost-libs>0:devel/boost-libs
 
 USES=		cmake compiler:c++11-lang iconv
diff --git a/archivers/libarchive/Makefile b/archivers/libarchive/Makefile
index 65418bd2daa9..9833b7d85161 100644
--- a/archivers/libarchive/Makefile
+++ b/archivers/libarchive/Makefile
@@ -63,12 +63,4 @@ CONFIGURE_ENV+=	ac_cv_header_localcharset_h=no \
 		ac_cv_lib_charset_locale_charset=no
 .endif
 
-# Prior to 1301508 we didn't ship openssl.pc which libarchive now expects
-# so we need to use the old approach on older versions of FreeBSD
-# which is not to define Requires.private in libarchive.pc
-
-.if ${PORT_OPTIONS:MOPENSSL} && ${OPSYS} == FreeBSD && ${OSVERSION} < 1301508
-EXTRA_PATCHES=	${PATCHDIR}/extra-patch-pkgconfig-compat
-.endif
-
 .include <bsd.port.post.mk>
diff --git a/archivers/libarchive/files/extra-patch-pkgconfig-compat b/archivers/libarchive/files/extra-patch-pkgconfig-compat
deleted file mode 100644
index f51609d6d0e9..000000000000
--- a/archivers/libarchive/files/extra-patch-pkgconfig-compat
+++ /dev/null
@@ -1,7 +0,0 @@
---- build/pkgconfig/libarchive.pc.in.orig	2022-12-09 13:38:31 UTC
-+++ build/pkgconfig/libarchive.pc.in
-@@ -10,4 +10,3 @@ Cflags: -I${includedir}
- Cflags.private: -DLIBARCHIVE_STATIC
- Libs: -L${libdir} -larchive
- Libs.private: @LIBS@
--Requires.private: @LIBSREQUIRED@
diff --git a/archivers/py-zstandard/Makefile b/archivers/py-zstandard/Makefile
index 0e808dcc1650..a90639e6dcb2 100644
--- a/archivers/py-zstandard/Makefile
+++ b/archivers/py-zstandard/Makefile
@@ -10,8 +10,6 @@ WWW=		https://github.com/indygreg/python-zstandard
 
 LICENSE=	BSD2CLAUSE
 
-BROKEN_FreeBSD_12_powerpc64=	fails to build: cffi.error.CDefError: parse error
-
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.8.0:devel/py-cffi@${PY_FLAVOR}
 #LIB_DEPENDS=	libzstd.so:archivers/zstd
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
diff --git a/astro/libgal/Makefile b/astro/libgal/Makefile
index a830a5d1acaf..8b0d74b3f86b 100644
--- a/astro/libgal/Makefile
+++ b/astro/libgal/Makefile
@@ -14,6 +14,4 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX} --sysconfdir=${PREFIX} --enable-shared=yes
 USE_LDCONFIG=	yes
 
-BROKEN_sparc64=	Does not compile on sparc64: gcc coredump
-
 .include <bsd.port.mk>
diff --git a/astro/oskar/Makefile b/astro/oskar/Makefile
index b3daff360116..9583d9efd6a6 100644
--- a/astro/oskar/Makefile
+++ b/astro/oskar/Makefile
@@ -12,7 +12,6 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 ONLY_FOR_ARCHS=		amd64 i386 powerpc powerpc64 powerpc64le
 ONLY_FOR_ARCHS_REASON=	gccfeatures.h:54:4: This code has only been tested on x86 and powerpc platforms
-BROKEN_FreeBSD_12_powerpc64=	fails to compile: oskar_convert_cirs_relative_directions_to_enu_directions.c:67:29: 'csinl' undeclared (first use in this function)
 
 LIB_DEPENDS=	libcfitsio.so:astro/cfitsio \
 		libhdf5.so:science/hdf5 \
diff --git a/audio/cheesecutter/Makefile b/audio/cheesecutter/Makefile
index 065f178cbabf..add12ff50145 100644
--- a/audio/cheesecutter/Makefile
+++ b/audio/cheesecutter/Makefile
@@ -22,6 +22,7 @@ GH_ACCOUNT=	ehaupt
 GH_PROJECT=	CheeseCutter
 
 MAKEFILE=	Makefile.ldc
+MAKE_ARGS=	DLDFLAGS=-L=-Wl,-z,nostart-stop-gc
 MAKE_ENV+=	EXAMPLESDIR=${EXAMPLESDIR}
 
 OPTIONS_DEFINE=	EXAMPLES
@@ -35,10 +36,4 @@ post-install:
 	${INSTALL_MAN} ${WRKSRC}/doc/${f}.fr.1 ${STAGEDIR}${MANPREFIX}/share/man/fr/man1
 .endfor
 
-.include <bsd.port.pre.mk>
-
-.if (${OSVERSION} >= 1301000)
-MAKE_ARGS=	DLDFLAGS=-L=-Wl,-z,nostart-stop-gc
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/fdk-aac/Makefile b/audio/fdk-aac/Makefile
index b79dbc42c985..23a0f666818d 100644
--- a/audio/fdk-aac/Makefile
+++ b/audio/fdk-aac/Makefile
@@ -12,9 +12,6 @@ LICENSE_NAME=	Software License for The Fraunhofer FDK AAC Codec Library for Andr
 LICENSE_FILE=	${WRKSRC}/NOTICE
 LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
 
-NOT_FOR_ARCHS=		sparc64
-NOT_FOR_ARCHS_REASON=	not yet ported to this architecture
-
 USES=		cmake
 USE_LDCONFIG=	yes
 
diff --git a/audio/mhwaveedit/Makefile b/audio/mhwaveedit/Makefile
index 48fb601199ed..e301557e69db 100644
--- a/audio/mhwaveedit/Makefile
+++ b/audio/mhwaveedit/Makefile
@@ -24,7 +24,6 @@ CONFIGURE_ARGS=	--without-alsalib \
 		--with-build-time="-"
 
 BROKEN_powerpc64=	fails to compile on powerpc64: convert_inc.c: conflicting types for 'C_FLOAT_PCM32SBEPM'
-BROKEN_sparc64=		fails to compile on sparc64
 
 OPTIONS_DEFINE=		DOUBLE_SAMPLES JACK LADSPA OSS PORTAUDIO \
 			PULSEAUDIO SAMPLERATE SDL SNDFILE NLS
diff --git a/audio/mixertui/Makefile b/audio/mixertui/Makefile
index 013703c8cc7c..023a1d6ad061 100644
--- a/audio/mixertui/Makefile
+++ b/audio/mixertui/Makefile
@@ -12,6 +12,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libsysctlmibinfo2.so:devel/libsysctlmibinfo2
 
+USES=	ncurses
 USE_GITLAB=	yes
 
 GL_ACCOUNT=	alfix
@@ -24,12 +25,4 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MAN8PREFIX}/share/man/man8
 
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079
-USES+=	ncurses
-.else
-USES+=	ncurses:port
-.endif
-
 .include <bsd.port.mk>
diff --git a/audio/nas/Makefile b/audio/nas/Makefile
index 38197cb04e4d..ebab2d4da15a 100644
--- a/audio/nas/Makefile
+++ b/audio/nas/Makefile
@@ -18,7 +18,7 @@ USE_LDCONFIG=	yes
 MAKE_ENV+=	COMPRESS_CMD="${COMPRESS_CMD:S/c//}"
 MAKE_JOBS_UNSAFE=	yes
 
-.include <bsd.port.pre.mk>
+FPIC=	-fpic
 
 post-configure:
 # Work around shortcomings of the Imake.rules et. al:
@@ -27,13 +27,7 @@ post-configure:
 	    -e 's,\(\$$(AR) \$$@ \$$\)(OBJS),\1(OBJS:S|^|unshared/|),' \
 		${WRKSRC}/lib/audio/Makefile
 
-.if ${ARCH} == "sparc64"
-FPIC=	-fPIC
-.else
-FPIC=	-fpic
-.endif
-
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaudio.so.2
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/ncpamixer/Makefile b/audio/ncpamixer/Makefile
index 033bf81f161e..650b7c0a52cd 100644
--- a/audio/ncpamixer/Makefile
+++ b/audio/ncpamixer/Makefile
@@ -12,7 +12,7 @@ LICENSE_FILE=	${WRKSRC}/../LICENSE
 
 LIB_DEPENDS=	libpulse.so:audio/pulseaudio
 
-USES=		cmake compiler:c++17-lang
+USES=		cmake compiler:c++17-lang ncurses
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	fulhax
@@ -21,13 +21,4 @@ WRKSRC_SUBDIR=	src
 
 PLIST_FILES=	bin/${PORTNAME}
 
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079
-USES+=          ncurses
-.else
-USES+=          ncurses:port
-CFLAGS+=	-I${LOCALBASE}/include/ncurses
-.endif
-
 .include <bsd.port.mk>
diff --git a/audio/opus/Makefile b/audio/opus/Makefile
index ff12a9325b3d..70abf5edd7b0 100644
--- a/audio/opus/Makefile
+++ b/audio/opus/Makefile
@@ -21,11 +21,4 @@ CONFIGURE_ARGS=	--enable-custom-modes \
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
 
-.include <bsd.port.options.mk>
-
-# drop after FreeBSD 12 EOL
-.if ${ARCH} == "arm"
-CONFIGURE_ARGS+=--enable-fixed-point
-.endif
-
 .include <bsd.port.mk>
diff --git a/audio/rhvoice/Makefile b/audio/rhvoice/Makefile
index aec0128857cb..d5c529dc0f79 100644
--- a/audio/rhvoice/Makefile
+++ b/audio/rhvoice/Makefile
@@ -12,8 +12,6 @@ LICENSE_COMB=	multi
 LICENSE_FILE_LGPL21+ =	${WRKSRC}/licenses/lgpl-2.1.txt
 LICENSE_FILE_GPLv3+ =	${WRKSRC}/licenses/gpl-3.0.txt
 
-BROKEN_FreeBSD_12_powerpc64=	fails to configure: The C++ compiler is not working
-
 USES=		compiler:c++0x pkgconfig scons
 USE_LDCONFIG=	yes
 
diff --git a/audio/sfizz/Makefile b/audio/sfizz/Makefile
index 1d7c40b0fc3f..bf6b20b8827d 100644
--- a/audio/sfizz/Makefile
+++ b/audio/sfizz/Makefile
@@ -69,10 +69,6 @@ VST_CMAKE_BOOL=		SFIZZ_VST
 
 .include <bsd.port.pre.mk>
 
-.if (${OSVERSION} < 1301505) # 20d21e43514502c0a346f3c2cdb1d8cd8c7cc6b0 commit in 13 fixed booleans in stdatomic.h that were causing breakage
-BROKEN=		fails to compile: unknown type name '_Bool'
-.endif
-
 post-install-LV2-on:
 	@${STRIP_CMD} \
 		${STAGEDIR}${PREFIX}/lib/lv2/sfizz.lv2/Contents/Binary/sfizz.so \
diff --git a/benchmarks/sipp/Makefile b/benchmarks/sipp/Makefile
index fb1984c80f24..9de5a3988df8 100644
--- a/benchmarks/sipp/Makefile
+++ b/benchmarks/sipp/Makefile
@@ -10,8 +10,6 @@ WWW=		https://sipp.sourceforge.net/
 
 LICENSE=	GPLv2
 
-BROKEN_FreeBSD_12_powerpc64=	fails to compile: /usr/local/lib/gcc9/include/c++/cstddef:52:8: expected unqualified-id before string constant
-
 BUILD_DEPENDS=	help2man:misc/help2man
 
 USES=		autoreconf compiler:c++11-lang gmake ncurses pkgconfig
diff --git a/biology/avida/Makefile b/biology/avida/Makefile
index 1c44a5fd5b52..a933fe8d50d1 100644
--- a/biology/avida/Makefile
+++ b/biology/avida/Makefile
@@ -16,7 +16,6 @@ BROKEN_armv7=		invokes x86 assembler
 BROKEN_mips=		invokes x86 assembler
 BROKEN_mips64=		invokes x86 assembler
 BROKEN_riscv64=		invokes x86 assembler
-BROKEN_sparc64=		missing atomics implementation
 
 USES=		compiler:c11 cmake ncurses
 USE_CXXSTD=	gnu++98
diff --git a/biology/gatk/Makefile b/biology/gatk/Makefile
index 4449c3005f90..672e53c1d812 100644
--- a/biology/gatk/Makefile
+++ b/biology/gatk/Makefile
@@ -10,8 +10,6 @@ WWW=		https://gatk.broadinstitute.org/hc/en-us
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.TXT
 
-BROKEN_FreeBSD_12_powerpc64=	fails to build: String index out of range: -1
-
 BUILD_DEPENDS=	gradle:devel/gradle
 
 USES=		gettext-runtime
diff --git a/biology/mafft/Makefile b/biology/mafft/Makefile
index 61f225828684..f65f210abb13 100644
--- a/biology/mafft/Makefile
+++ b/biology/mafft/Makefile
@@ -28,14 +28,6 @@ MAKE_ENV=	INSTALL_LIB="${INSTALL_LIB}" \
 		MKDIR="${MKDIR}" \
 		LN="${LN}"
 
-.include <bsd.port.options.mk>
-
-post-patch:
-.if ${ARCH} == sparc64
-	@${REINPLACE_CMD} -e 's|ENABLE_MULTITHREAD = -Denablemultithread||' \
-		${BUILD_WRKSRC}/Makefile
-.endif
-
 post-install:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/biology/plink/Makefile b/biology/plink/Makefile
index 3eb1d24acf4c..0d0fddcbcc1e 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 powerpc64le sparc64
+NOT_FOR_ARCHS=		aarch64 mips64 powerpc64 powerpc64le
 NOT_FOR_ARCHS_REASON=	64bit code requires SSE2 instructions
 
 USES=		gmake fortran
diff --git a/cad/astk-serveur/Makefile b/cad/astk-serveur/Makefile
index 8d8bcec671be..764089e04c21 100644
--- a/cad/astk-serveur/Makefile
+++ b/cad/astk-serveur/Makefile
@@ -60,11 +60,6 @@ conf_dir=	${WRKSRC}/etc/astkrc
 
 .include <bsd.port.pre.mk>
 
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300068
-# ASTK is not useful without french/aster
-IGNORE=	a larger value of ARG_MAX is needed for Code_Aster, please upgrade your system
-.endif
-
 WRKCONF=	${WRKDIR}/${PORTNAME}-${PORTVERSION:R}/configuration
 .if !defined(CLIENT_SEUL)
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R}/ASTK_SERV
diff --git a/cad/brlcad/Makefile b/cad/brlcad/Makefile
index f364a0a4490a..a911eb72a0d5 100644
--- a/cad/brlcad/Makefile
+++ b/cad/brlcad/Makefile
@@ -10,8 +10,6 @@ WWW=		https://brlcad.org/
 LICENSE=	LGPL21+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN_sparc64=	does not compile: invokes i386 assembler
-
 BUILD_DEPENDS=	xsltproc:textproc/libxslt
 LIB_DEPENDS=	liblz4.so:archivers/liblz4 \
 		libdrm.so:graphics/libdrm \
diff --git a/cad/calculix-ccx/Makefile b/cad/calculix-ccx/Makefile
index 7534ceac5692..031a7a842320 100644
--- a/cad/calculix-ccx/Makefile
+++ b/cad/calculix-ccx/Makefile
@@ -32,6 +32,9 @@ WRKSRC=		${WRKDIR}/CalculiX/${CCX_VER}/src
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
+CFLAGS+=	-fpic
+FFLAGS+=	-fpic
+
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MDOCS}
@@ -44,14 +47,6 @@ DISTFILES+=	${DIST_EXAMPLES}
 EXTRACT_ONLY+=	${DIST_EXAMPLES}
 .endif
 
-.if ${ARCH} == "sparc64"
-CFLAGS+=	-fPIC
-FFLAGS+=	-fPIC
-.else
-CFLAGS+=	-fpic
-FFLAGS+=	-fpic
-.endif
-
 .if ${GCC_DEFAULT} >= 10
 # workaround for Missing actual argument for argument '_formal_15' at (1)
 FFLAGS+=	-fallow-argument-mismatch
diff --git a/cad/calculix/Makefile b/cad/calculix/Makefile
index 10668d98944a..5b7c849793d6 100644
--- a/cad/calculix/Makefile
+++ b/cad/calculix/Makefile
@@ -45,20 +45,15 @@ PSVIEWER?=	gv
 USES+=	llvm:max=15
 .endif
 
+CFLAGS+=	-fpic
+FFLAGS+=	-fpic
+
 .include <bsd.port.pre.mk>
 
 .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
 CPPFLAGS+=	-Wno-error=int-conversion
 .endif
 
-.if ${ARCH} == "sparc64"
-CFLAGS+=	-fPIC
-FFLAGS+=	-fPIC
-.else
-CFLAGS+=	-fpic
-FFLAGS+=	-fpic
-.endif
-
 pre-build:
 	@${REINPLACE_CMD} -e 's!c++!${CXX}!g;' \
 		${WRKSRC}/libSNL/src/makefile
diff --git a/cad/klayout/Makefile b/cad/klayout/Makefile
index 63b5542e49cc..756749bcff01 100644
--- a/cad/klayout/Makefile
+++ b/cad/klayout/Makefile
@@ -11,7 +11,6 @@ LICENSE=	GPLv2
 
 BROKEN_i386=	type 'hash<long long>' does not provide a call operator
 BROKEN_powerpc=	type 'hash<long long>' does not provide a call operator
-BROKEN_sparc64=	does not compile on sparc64: gcc bug
 
 USES=		compiler:c++0x gmake gl python ruby qt:5
 USE_GITHUB=	yes
*** 8654 LINES SKIPPED ***