diff options
Diffstat (limited to 'x11/wmenu/Makefile')
-rw-r--r-- | x11/wmenu/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/x11/wmenu/Makefile b/x11/wmenu/Makefile index 33a2ebd90609..ae10b0395978 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.5 EOL around 2026-04-30 +# 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 \ |