aboutsummaryrefslogtreecommitdiff
path: root/databases/tdb
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2023-09-28 17:07:19 +0000
committerDimitry Andric <dim@FreeBSD.org>2023-10-15 15:44:41 +0000
commitbc9cbb7a3ac19cd58f0e910cc3438a786c173c93 (patch)
tree6f4917e3c80d916a3b0f6e70e34ed6ae4b1cafeb /databases/tdb
parent5a92ad2b2f46742bd5e07cc540fde4daf1544c6d (diff)
Diffstat (limited to 'databases/tdb')
-rw-r--r--databases/tdb/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/tdb/Makefile b/databases/tdb/Makefile
index 7c96b97b87f1..e3d3ca3b047e 100644
--- a/databases/tdb/Makefile
+++ b/databases/tdb/Makefile
@@ -52,6 +52,10 @@ CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}}
CFLAGS_clang= -fno-color-diagnostics
CONFIGURE_ENV+= NOCOLOR=yes
MAKE_ENV+= NOCOLOR=yes
+# Some symbols in tdb's linker version scripts are not defined, but since the
+# scripts are generated dynamically, suppress errors with lld >= 17 due to these
+# undefined symbols.
+LDFLAGS+= -Wl,--undefined-version
post-patch:
@${REINPLACE_CMD} -e 's|%%PKGCONFIGDIR%%|${PKGCONFIGDIR}|g' \