diff --git a/misc/libuuid/Makefile b/misc/libuuid/Makefile index 7c779d8ae994..b87afa0281ea 100644 --- a/misc/libuuid/Makefile +++ b/misc/libuuid/Makefile @@ -1,32 +1,33 @@ PORTNAME= libuuid DISTVERSIONPREFIX= v DISTVERSION= 2.41.1 +PORTREVISION= 1 CATEGORIES= misc MAINTAINER= arrowd@FreeBSD.org COMMENT= Library to generate or parse 128-bit Universally Unique IDs (UUIDs) WWW= https://github.com/util-linux/util-linux LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/Documentation/licenses/COPYING.BSD-3-Clause USES= bison meson pkgconfig tar:xz USE_GITHUB= yes GH_ACCOUNT= util-linux GH_PROJECT= util-linux USE_LDCONFIG= yes # disable all Meson features because the project has gazillion of them and we only need one MESON_ARGS= --auto-features=disabled \ -Dallow-32bit-time=true \ -Dbuild-libuuid=enabled \ -Ddefault_library=both \ -Dprogram-tests=false OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT= MANPAGES OPTIONS_SUB= yes MANPAGES_BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor .include diff --git a/misc/libuuid/files/patch-libuuid_meson.build b/misc/libuuid/files/patch-libuuid_meson.build new file mode 100644 index 000000000000..6564ba08a90f --- /dev/null +++ b/misc/libuuid/files/patch-libuuid_meson.build @@ -0,0 +1,15 @@ +--- libuuid/meson.build.orig 2025-06-24 07:55:28 UTC ++++ libuuid/meson.build +@@ -26,10 +26,8 @@ libuuid_link_args = [] + libuuid_link_depends = [] + libuuid_link_args = [] + +-if cc.has_link_argument('-Wl,--version-script=@0@'.format(libuuid_sym_path)) +- libuuid_link_depends += [libuuid_sym] +- libuuid_link_args += ['-Wl,--version-script=@0@'.format(libuuid_sym_path)] +-endif ++libuuid_link_depends += [libuuid_sym] ++libuuid_link_args += ['-Wl,--version-script=@0@'.format(libuuid_sym_path)] + + thread_dep = dependency('threads') +