diff options
| author | Jan Beich <jbeich@FreeBSD.org> | 2023-08-27 10:24:44 +0200 |
|---|---|---|
| committer | Jan Beich <jbeich@FreeBSD.org> | 2023-08-28 19:34:21 +0200 |
| commit | 37db1d20057263b20edc3002280128753ea00c4d (patch) | |
| tree | 7679a3ae317c5c291e2879aa46019e16786e05cb | |
| parent | x11/xdg-desktop-portal-wlr: clarify future minor FreeBSD version (diff) | |
x11/wmenu: drop unused dependency on FreeBSD >= 14.0
PR: 273406
Approved by: Oleh Hushchenkov (maintainer)
| -rw-r--r-- | x11/wmenu/Makefile | 8 |
1 files 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 |
