summaryrefslogtreecommitdiff
path: root/misc/libuuid
diff options
context:
space:
mode:
Diffstat (limited to 'misc/libuuid')
-rw-r--r--misc/libuuid/Makefile2
-rw-r--r--misc/libuuid/files/patch-libuuid_meson.build15
2 files changed, 17 insertions, 0 deletions
diff --git a/misc/libuuid/Makefile b/misc/libuuid/Makefile
index 7c779d8ae994..1e82c4084e01 100644
--- a/misc/libuuid/Makefile
+++ b/misc/libuuid/Makefile
@@ -1,6 +1,7 @@
PORTNAME= libuuid
DISTVERSIONPREFIX= v
DISTVERSION= 2.41.1
+PORTREVISION= 1
CATEGORIES= misc
MAINTAINER= arrowd@FreeBSD.org
@@ -17,6 +18,7 @@ GH_ACCOUNT= util-linux
GH_PROJECT= util-linux
USE_LDCONFIG= yes
+HAS_SYMBOL_VERSION= ${PREFIX}/lib/libuuid.so.1.3.0
# 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 \
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')
+