aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2025-08-08 10:35:55 +0000
committerJan Beich <jbeich@FreeBSD.org>2025-08-08 10:41:00 +0000
commita208f76c57a5ecb5723b9a0d95d6371b7ded507f (patch)
treee0e27f5657085be80749a680c7c9a2fb9991ff04
parent3e6a8fffef6d6b0318e7ee3cf8fe3dc09352c9cd (diff)
x11/wlrctl: unbreak build after b991d37c58ed
ld: error: undefined symbol: round >>> referenced by pointer.c >>> wlrctl.p/pointer.c.o:(prepare_pointer) >>> referenced by pointer.c >>> wlrctl.p/pointer.c.o:(prepare_pointer) >>> referenced by pointer.c >>> wlrctl.p/pointer.c.o:(prepare_pointer) >>> referenced 1 more times Reported by: pkg-fallout
-rw-r--r--x11/wlrctl/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11/wlrctl/Makefile b/x11/wlrctl/Makefile
index cff919bca6b1..66e0cc15433e 100644
--- a/x11/wlrctl/Makefile
+++ b/x11/wlrctl/Makefile
@@ -17,6 +17,7 @@ LIB_DEPENDS= libwayland-client.so:graphics/wayland \
libxkbcommon.so:x11/libxkbcommon
USES= compiler:c11 meson pkgconfig
+LDFLAGS+= -lm # https://cgit.FreeBSD.org/ports/commit/?id=b991d37c58ed
PLIST_FILES= bin/${PORTNAME} \
share/zsh/site-functions/_${PORTNAME}