summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2025-08-06 10:19:51 +0200
committerEmmanuel Vadot <manu@FreeBSD.org>2025-08-06 10:21:55 +0200
commitb991d37c58ed06123020cbc8bc244840d99a1b59 (patch)
treec68b2228a2c4bf96a8f00c746d54413e0bba3a1e
parentwww/py-flask-admin: Update 1.6.0 -> 1.6.1 (diff)
graphics/wayland: Remove libm from pkgconfig Libs
This changes seems to confuse CMake for some unknown reason so for now remove libm from the Libs section, it's in the Libs.private so it's picked up just fine. Fixes: 9e3878cf8428 ("graphics/wayland: Update to 1.24.0") Sponsored by: Beckhoff Automation GmbH & Co. KG
-rw-r--r--graphics/wayland/Makefile1
-rw-r--r--graphics/wayland/files/patch-src_meson.build18
2 files changed, 19 insertions, 0 deletions
diff --git a/graphics/wayland/Makefile b/graphics/wayland/Makefile
index 30d88fc0daa3..894b4a237482 100644
--- a/graphics/wayland/Makefile
+++ b/graphics/wayland/Makefile
@@ -1,5 +1,6 @@
PORTNAME= wayland
DISTVERSION= 1.24.0
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://gitlab.freedesktop.org/${PORTNAME}/${PORTNAME}/-/releases/${DISTVERSION}/downloads/
diff --git a/graphics/wayland/files/patch-src_meson.build b/graphics/wayland/files/patch-src_meson.build
new file mode 100644
index 000000000000..40955be2d068
--- /dev/null
+++ b/graphics/wayland/files/patch-src_meson.build
@@ -0,0 +1,18 @@
+--- src/meson.build.orig 2025-08-06 08:17:13 UTC
++++ src/meson.build
+@@ -212,7 +212,6 @@ if get_option('libraries')
+ description: 'Server side implementation of the Wayland protocol',
+ version: meson.project_version(),
+ filebase: 'wayland-server',
+- libraries: mathlib_dep,
+ variables: [
+ 'datarootdir=' + join_paths('${prefix}', get_option('datadir')),
+ 'pkgdatadir=' + join_paths('${pc_sysrootdir}${datarootdir}', meson.project_name())
+@@ -252,7 +251,6 @@ if get_option('libraries')
+ description: 'Wayland client side library',
+ version: meson.project_version(),
+ filebase: 'wayland-client',
+- libraries: mathlib_dep,
+ variables: [
+ 'datarootdir=' + join_paths('${prefix}', get_option('datadir')),
+ 'pkgdatadir=' + join_paths('${pc_sysrootdir}${datarootdir}', meson.project_name())