Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2023 17:35:34 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 37db1d200572 - main - x11/wmenu: drop unused dependency on FreeBSD >= 14.0
Message-ID:  <202308281735.37SHZYQW078794@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

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

commit 37db1d20057263b20edc3002280128753ea00c4d
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-08-27 08:24:44 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-08-28 17:34:21 +0000

    x11/wmenu: drop unused dependency on FreeBSD >= 14.0
    
    PR:             273406
    Approved by:    Oleh Hushchenkov (maintainer)
---
 x11/wmenu/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/x11/wmenu/Makefile b/x11/wmenu/Makefile
index cfe45e46b286..8764a8ffe766 100644
--- a/x11/wmenu/Makefile
+++ b/x11/wmenu/Makefile
@@ -12,15 +12,19 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	scdoc:textproc/scdoc \
 		wayland-protocols>0:graphics/wayland-protocols
-LIB_DEPENDS=	libepoll-shim.so:devel/libepoll-shim \
-		libwayland-client.so:graphics/wayland \
+LIB_DEPENDS=	libwayland-client.so:graphics/wayland \
 		libxkbcommon.so:x11/libxkbcommon
 
 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
 
 PLIST_FILES=	bin/wmenu \
 		man/man1/wmenu.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308281735.37SHZYQW078794>