git: 3be82964f866 - main - Mk/bsd.port.mk: mark FreeBSD 13.4 as unsupported.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Jul 2025 17:19:10 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3be82964f866f291e3be35ce41c6146f46bd134c
commit 3be82964f866f291e3be35ce41c6146f46bd134c
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-06-06 22:32:08 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-07-01 17:16:05 +0000
Mk/bsd.port.mk: mark FreeBSD 13.4 as unsupported.
Drop support for FreeBSD 13.4 (and sometimes 12, 14.0, 14.1) from all
ports.
Reviewed by: dch, @gor_clogic.com.ua
Approved by: portmgr (implicit)
Differential Revision: https://reviews.freebsd.org/D50769
---
Mk/bsd.port.mk | 2 +-
audio/ardour/Makefile | 4 +-
lang/crystal/Makefile | 9 -----
.../files/extra-patch-src_openssl_lib__crypto.cr | 46 ----------------------
.../files/extra-patch-src_openssl_lib__ssl.cr | 42 --------------------
net/udt/files/BSDmakefile | 7 +---
x11-toolkits/aquamarine/Makefile | 6 ---
x11-wm/hyprland/Makefile | 6 ---
x11/swayimg/Makefile | 6 ---
x11/wmenu/Makefile | 8 ----
x11/xdg-desktop-portal-wlr/Makefile | 6 ---
11 files changed, 4 insertions(+), 138 deletions(-)
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 343dc63683f0..dc71c82235bc 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1165,7 +1165,7 @@ OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${SRC
. endif
_EXPORTED_VARS+= OSVERSION
-. if ${OPSYS} == FreeBSD && (${OSVERSION} < 1304000 || (${OSVERSION} >= 1400000 && ${OSVERSION} < 1402000))
+. if ${OPSYS} == FreeBSD && (${OSVERSION} < 1305000 || (${OSVERSION} >= 1400000 && ${OSVERSION} < 1402000))
_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/audio/ardour/Makefile b/audio/ardour/Makefile
index dbbe00b93340..8ee2a2469040 100644
--- a/audio/ardour/Makefile
+++ b/audio/ardour/Makefile
@@ -117,9 +117,7 @@ post-install-VST3-on:
# Some peripheral libraries are only built with libusb-1.0 >= 1.0.16
.if ${OPSYS} == FreeBSD && \
- (${OSVERSION} <= 1304500 \
- || 1400000 <= ${OSVERSION} && ${OSVERSION} <= 1401502 \
- || 1500000 <= ${OSVERSION} && ${OSVERSION} <= 1500019)
+ (1500000 <= ${OSVERSION} && ${OSVERSION} <= 1500019)
PLIST_SUB+= LIBUSB="@comment "
.else
PLIST_SUB+= LIBUSB=""
diff --git a/lang/crystal/Makefile b/lang/crystal/Makefile
index c30e77f3236f..5c2df7e0ad91 100644
--- a/lang/crystal/Makefile
+++ b/lang/crystal/Makefile
@@ -69,15 +69,6 @@ STATIC_MAKE_ARGS= static=1
IGNORE= not supported on anything but FreeBSD
.endif
-# crystal needs pkgconfig to determine SSL variants but these are not
-# present in FreeBSD base. We splice in the correct info based on
-# FreeBSD version and hope it doesn't change during minor releases.
-# See post-patch for the substitutions of these patches.
-.if ${SSL_DEFAULT} == "base" && ${OSREL:R} < 13
-EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_openssl_lib__crypto.cr \
- ${PATCHDIR}/extra-patch-src_openssl_lib__ssl.cr
-.endif
-
post-extract:
@${RLN} ${WRKDIR}/.build ${WRKSRC}
@${RLN} x86_64-freebsd ${WRKSRC}/src/lib_c/aarch64-freebsd
diff --git a/lang/crystal/files/extra-patch-src_openssl_lib__crypto.cr b/lang/crystal/files/extra-patch-src_openssl_lib__crypto.cr
deleted file mode 100644
index 124851bf55fa..000000000000
--- a/lang/crystal/files/extra-patch-src_openssl_lib__crypto.cr
+++ /dev/null
@@ -1,46 +0,0 @@
---- src/openssl/lib_crypto.cr.orig 2022-04-09 14:20:55.000000000 -0700
-+++ src/openssl/lib_crypto.cr 2022-04-09 14:15:51.000000000 -0700
-@@ -1,31 +1,7 @@
- {% begin %}
- lib LibCrypto
-- {% if flag?(:win32) %}
-- {% from_libressl = false %}
-- {% ssl_version = nil %}
-- {% for dir in Crystal::LIBRARY_PATH.split(';') %}
-- {% unless ssl_version %}
-- {% config_path = "#{dir.id}\\openssl_VERSION" %}
-- {% if config_version = read_file?(config_path) %}
-- {% ssl_version = config_version.chomp %}
-- {% end %}
-- {% end %}
-- {% end %}
-- {% ssl_version ||= "0.0.0" %}
-- {% else %}
-- {% from_libressl = (`hash pkg-config 2> /dev/null || printf %s false` != "false") &&
-- (`test -f $(pkg-config --silence-errors --variable=includedir libcrypto)/openssl/opensslv.h || printf %s false` != "false") &&
-- (`printf "#include <openssl/opensslv.h>\nLIBRESSL_VERSION_NUMBER" | ${CC:-cc} $(pkg-config --cflags --silence-errors libcrypto || true) -E -`.chomp.split('\n').last != "LIBRESSL_VERSION_NUMBER") %}
-- {% ssl_version = `hash pkg-config 2> /dev/null && pkg-config --silence-errors --modversion libcrypto || printf %s 0.0.0`.split.last.gsub(/[^0-9.]/, "") %}
-- {% end %}
--
-- {% if from_libressl %}
-- LIBRESSL_VERSION = {{ ssl_version }}
-- OPENSSL_VERSION = "0.0.0"
-- {% else %}
-- LIBRESSL_VERSION = "0.0.0"
-- OPENSSL_VERSION = {{ ssl_version }}
-- {% end %}
-+ LIBRESSL_VERSION = "0.0.0"
-+ OPENSSL_VERSION = "CRYSTAL_SSL_VERSION"
- end
- {% end %}
-
-@@ -34,7 +10,7 @@
- @[Link("crypt32")] # CertOpenStore, ...
- @[Link("user32")] # GetProcessWindowStation, GetUserObjectInformationW, _MessageBoxW
- {% else %}
-- @[Link(ldflags: "`command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'`")]
-+ @[Link(ldflags: "-LCRYSTAL_SSL_LDFLAGS -lcrypto")]
- {% end %}
- lib LibCrypto
- alias Char = LibC::Char
-
diff --git a/lang/crystal/files/extra-patch-src_openssl_lib__ssl.cr b/lang/crystal/files/extra-patch-src_openssl_lib__ssl.cr
deleted file mode 100644
index 20ec2243b192..000000000000
--- a/lang/crystal/files/extra-patch-src_openssl_lib__ssl.cr
+++ /dev/null
@@ -1,42 +0,0 @@
---- src/openssl/lib_ssl.cr.orig 2022-04-09 14:24:40.000000000 -0700
-+++ src/openssl/lib_ssl.cr 2022-04-09 14:24:07.000000000 -0700
-@@ -6,32 +6,8 @@
-
- {% begin %}
- lib LibSSL
-- {% if flag?(:win32) %}
-- {% from_libressl = false %}
-- {% ssl_version = nil %}
-- {% for dir in Crystal::LIBRARY_PATH.split(';') %}
-- {% unless ssl_version %}
-- {% config_path = "#{dir.id}\\openssl_VERSION" %}
-- {% if config_version = read_file?(config_path) %}
-- {% ssl_version = config_version.chomp %}
-- {% end %}
-- {% end %}
-- {% end %}
-- {% ssl_version ||= "0.0.0" %}
-- {% else %}
-- {% from_libressl = (`hash pkg-config 2> /dev/null || printf %s false` != "false") &&
-- (`test -f $(pkg-config --silence-errors --variable=includedir libssl)/openssl/opensslv.h || printf %s false` != "false") &&
-- (`printf "#include <openssl/opensslv.h>\nLIBRESSL_VERSION_NUMBER" | ${CC:-cc} $(pkg-config --cflags --silence-errors libssl || true) -E -`.chomp.split('\n').last != "LIBRESSL_VERSION_NUMBER") %}
-- {% ssl_version = `hash pkg-config 2> /dev/null && pkg-config --silence-errors --modversion libssl || printf %s 0.0.0`.split.last.gsub(/[^0-9.]/, "") %}
-- {% end %}
--
-- {% if from_libressl %}
-- LIBRESSL_VERSION = {{ ssl_version }}
-- OPENSSL_VERSION = "0.0.0"
-- {% else %}
-- LIBRESSL_VERSION = "0.0.0"
-- OPENSSL_VERSION = {{ ssl_version }}
-- {% end %}
-+ LIBRESSL_VERSION = "0.0.0"
-+ OPENSSL_VERSION = "CRYSTAL_SSL_VERSION"
- end
- {% end %}
-
--@[Link(ldflags: "`command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'`")]
-+@[Link(ldflags: "-LCRYSTAL_SSL_LDFLAGS -lssl")]
- lib LibSSL
- alias Int = LibC::Int
- alias Char = LibC::Char
diff --git a/net/udt/files/BSDmakefile b/net/udt/files/BSDmakefile
index f41527d37ffa..49c087ab83db 100644
--- a/net/udt/files/BSDmakefile
+++ b/net/udt/files/BSDmakefile
@@ -15,10 +15,7 @@ CXXFLAGS+= -D${MACHINE_ARCH:tu:S/I386/IA32/:S/SPARC64/SPARC/} -DBSD
CXXFLAGS+= -Wno-system-headers -Wall -W \
-Wpointer-arith -Wreturn-type \
-Wwrite-strings -Wswitch -Wno-cast-align \
- -Wunused-parameter -Werror
-
-.if ${OSVERSION} >= 1304000
-CXXFLAGS+= -Wno-vla-cxx-extension
-.endif
+ -Wunused-parameter -Werror \
+ -Wno-vla-cxx-extension
.include <bsd.lib.mk>
diff --git a/x11-toolkits/aquamarine/Makefile b/x11-toolkits/aquamarine/Makefile
index 5453c190d9c0..b1b223668071 100644
--- a/x11-toolkits/aquamarine/Makefile
+++ b/x11-toolkits/aquamarine/Makefile
@@ -31,10 +31,4 @@ USE_XORG= pixman
GH_ACCOUNT= hyprwm
PLIST_SUB= VERSION=${DISTVERSION:C/-.*//}
-# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31
-# 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.mk>
diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile
index 4aaf25c6476e..56a25548b502 100644
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -45,12 +45,6 @@ LDFLAGS+= -Wl,--as-needed # GL, pango deps
# Generated by "make update-hash" for commit_pins in hyprpm.toml
GH_HASH= 29e2e59fdbab8ed2cc23a20e3c6043d5decb5cdc
-# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31
-# 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= QT6 X11
OPTIONS_DEFAULT=QT6 X11
diff --git a/x11/swayimg/Makefile b/x11/swayimg/Makefile
index 70f297c194b6..e31a97d5aea6 100644
--- a/x11/swayimg/Makefile
+++ b/x11/swayimg/Makefile
@@ -32,12 +32,6 @@ PLIST_FILES= bin/${PORTNAME} \
${DATADIR}/${PORTNAME}rc \
${NULL}
-# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31
-# 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 GIF HEIF JPEG JSON JXL LIBEXIF LIBRSVG2 \
OPENEXR PNG RAW SIXEL TIFF WEBP ZSH
OPTIONS_DEFAULT=AVIF BASH GIF HEIF JPEG JSON JXL LIBEXIF LIBRSVG2 \
diff --git a/x11/wmenu/Makefile b/x11/wmenu/Makefile
index b5981638437f..33a2ebd90609 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.4 EOL around 2026-01-31
-# 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 db96e49cef79..4c1705400d01 100644
--- a/x11/xdg-desktop-portal-wlr/Makefile
+++ b/x11/xdg-desktop-portal-wlr/Makefile
@@ -32,12 +32,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.4 EOL around 2026-01-31
-# 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