git: 168150ec3fd7 - main - x11/swayimg: drop libinotify on FreeBSD >= 15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jan 2026 19:19:18 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=168150ec3fd76720ac36513cd4219a5823ed0ea1
commit 168150ec3fd76720ac36513cd4219a5823ed0ea1
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2025-12-28 08:26:58 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2026-01-05 19:18:53 +0000
x11/swayimg: drop libinotify on FreeBSD >= 15
---
x11/swayimg/Makefile | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/x11/swayimg/Makefile b/x11/swayimg/Makefile
index 41d062ed6bc7..1fc29f34054f 100644
--- a/x11/swayimg/Makefile
+++ b/x11/swayimg/Makefile
@@ -10,8 +10,7 @@ WWW= https://github.com/artemsen/swayimg
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libinotify.so:devel/libinotify \
- libfreetype.so:print/freetype2 \
+LIB_DEPENDS= libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig \
libxkbcommon.so:x11/libxkbcommon
TEST_DEPENDS= googletest>0:devel/googletest
@@ -30,6 +29,12 @@ PLIST_FILES= bin/${PORTNAME} \
${DATADIR}/${PORTNAME}rc \
${NULL}
+# 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)
+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)