diff --git a/x11/libxkbcommon/Makefile b/x11/libxkbcommon/Makefile index 32f1662d4802..90377035b8ff 100644 --- a/x11/libxkbcommon/Makefile +++ b/x11/libxkbcommon/Makefile @@ -1,46 +1,47 @@ PORTNAME= libxkbcommon PORTVERSION= 1.8.1 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= x11@FreeBSD.org COMMENT= Keymap handling library for toolkits and window systems WWW= https://xkbcommon.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= xkeyboard-config>0:x11/xkeyboard-config USES= bison compiler:c11 cpe gnome meson pkgconfig python:test \ shebangfix USE_GNOME= libxml2 USE_GITHUB= yes GH_ACCOUNT= xkbcommon GH_TAGNAME= ${GH_ACCOUNT}-${PORTVERSION} USE_LDCONFIG= yes MESON_ARGS= -Denable-docs=false \ -Dx-locale-root="${PREFIX}/lib/X11/locale" \ ${MESON_ARGS_${OPSYS}_${OSREL:R}} CPE_VENDOR= xkbcommon SHEBANG_FILES= test/xkeyboard-config-test.py.in \ test/*.py HAS_SYMBOL_VERSION= ${PREFIX}/lib/libxkbregistry.so.0.8.1 OPTIONS_DEFINE= EVDEV WAYLAND X11 OPTIONS_DEFAULT=EVDEV WAYLAND X11 OPTIONS_SUB= yes EVDEV_DESC= Interactive debugger for XKB keymaps for evdev EVDEV_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto EVDEV_USES= localbase WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.12:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_MESON_TRUE= enable-wayland X11_USES= xorg X11_USE= XORG=xcb X11_MESON_TRUE= enable-x11 .include diff --git a/x11/libxkbcommon/files/patch-meson.build b/x11/libxkbcommon/files/patch-meson.build new file mode 100644 index 000000000000..ac0c651dc44f --- /dev/null +++ b/x11/libxkbcommon/files/patch-meson.build @@ -0,0 +1,11 @@ +--- meson.build.orig 2025-03-11 23:24:11 UTC ++++ meson.build +@@ -168,7 +168,7 @@ have_version_script = cc.links( + meson_test_map = meson.current_source_dir() / 'test/meson_test.map' + have_version_script = cc.links( + 'int main() { return 0; }', +- args: f'-Wl,--version-script=@meson_test_map@', ++ args: ['-shared', f'-Wl,--version-script=@meson_test_map@'], + name: '-Wl,--version-script', + ) +