summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2025-08-08 12:35:55 +0200
committerJan Beich <jbeich@FreeBSD.org>2025-08-08 12:41:00 +0200
commitf2d9466e25660bc430e3d092df9f9bb7f660ce84 (patch)
tree98aef28caecdb084e2d4c0ee194c13461912113f
parentx11/wlrctl: unbreak build after b991d37c58ed (diff)
x11-wm/phoc: unbreak build after b991d37c58ed
ld: error: undefined symbol: round >>> referenced by layer-shell-effects.c >>> examples/layer-shell-effects.p/layer-shell-effects.c.o:(drag_surface_handle_dragged) >>> referenced by layer-shell-effects.c >>> examples/layer-shell-effects.p/layer-shell-effects.c.o:(main) Reported by: pkg-fallout
-rw-r--r--x11-wm/phoc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11-wm/phoc/Makefile b/x11-wm/phoc/Makefile
index 639b7f0b819d..010f1b762c71 100644
--- a/x11-wm/phoc/Makefile
+++ b/x11-wm/phoc/Makefile
@@ -30,6 +30,7 @@ GL_ACCOUNT= World/Phosh
GL_TUPLE= World/Phosh:gmobile:v0.2.0:gmobile/subprojects/gmobile \
GNOME:gvdb:4758f6f:gvdb/subprojects/gvdb
MESON_ARGS= -Dembed-wlroots=disabled
+LDFLAGS+= -lm # https://cgit.FreeBSD.org/ports/commit/?id=b991d37c58ed
PLIST_FILES= bin/${PORTNAME} \
bin/${PORTNAME}-outputs-states \
share/man/man1/${PORTNAME}-outputs-states.1.gz \