git: 3a410624ae88 - main - sysutils/fwupd: Add accidentally removed libinotify dependency for 14.x

From: Bernhard Froehlich <decke_at_FreeBSD.org>
Date: Mon, 08 Dec 2025 13:41:28 UTC
The branch main has been updated by decke:

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

commit 3a410624ae88fa05f9038cea36778d5f4f5957b2
Author:     Bernhard Froehlich <decke@FreeBSD.org>
AuthorDate: 2025-12-08 13:40:04 +0000
Commit:     Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2025-12-08 13:40:04 +0000

    sysutils/fwupd: Add accidentally removed libinotify dependency for 14.x
    
    PR:             291451
---
 sysutils/fwupd/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/sysutils/fwupd/Makefile b/sysutils/fwupd/Makefile
index 6f8cad457c08..6cf0c3e3ee29 100644
--- a/sysutils/fwupd/Makefile
+++ b/sysutils/fwupd/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fwupd
 DISTVERSION=	2.0.18
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	decke@FreeBSD.org
@@ -63,4 +64,11 @@ MESON_ARGS+=	-Dlibmnl=disabled \
 		-Dplugin_modem_manager=disabled \
 		-Dpython=${PYTHON_CMD}
 
+.include <bsd.port.options.mk>
+
+# FreeBSD 14.x needs extra libinotify dependency
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500000
+LIB_DEPENDS+=	libinotify.so:devel/libinotify
+.endif
+
 .include <bsd.port.mk>