git: a3fc04a50fe5 - main - all: re-introduce checks for libepoll-shim
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Jul 2025 12:13:40 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a3fc04a50fe513257910f8580c552d7a08277bda
commit a3fc04a50fe513257910f8580c552d7a08277bda
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-07-06 12:06:01 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-07-06 12:13:22 +0000
all: re-introduce checks for libepoll-shim
These got erroneously removed in commit 3be82964f866
A follow-up commit will adjust the nearby comments.
Reported by: jbeich
Fixes: 3be82964f866 ("Mk/bsd.port.mk: mark FreeBSD 13.4 as unsupported.")
---
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 ++++++
5 files changed, 32 insertions(+)
diff --git a/x11-toolkits/aquamarine/Makefile b/x11-toolkits/aquamarine/Makefile
index 79c592ba958f..0e079b7f3620 100644
--- a/x11-toolkits/aquamarine/Makefile
+++ b/x11-toolkits/aquamarine/Makefile
@@ -31,4 +31,10 @@ 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 fe2ddfecb4ef..870fcacbcecf 100644
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -45,6 +45,12 @@ 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 e31a97d5aea6..70f297c194b6 100644
--- a/x11/swayimg/Makefile
+++ b/x11/swayimg/Makefile
@@ -32,6 +32,12 @@ 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 33a2ebd90609..b5981638437f 100644
--- a/x11/wmenu/Makefile
+++ b/x11/wmenu/Makefile
@@ -18,6 +18,14 @@ 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 4c1705400d01..db96e49cef79 100644
--- a/x11/xdg-desktop-portal-wlr/Makefile
+++ b/x11/xdg-desktop-portal-wlr/Makefile
@@ -32,6 +32,12 @@ 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