Date: Wed, 10 Jan 2024 16:20:46 GMT From: Dimitry Andric <dim@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 2ed094adef32 - main - databases/rrdtool: fix build with lld 17 Message-ID: <202401101620.40AGKk2i044320@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=2ed094adef32cc683a9a077f1c8eb2241754068a commit 2ed094adef32cc683a9a077f1c8eb2241754068a Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2024-01-10 16:19:00 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-10 16:20:30 +0000 databases/rrdtool: fix build with lld 17 Some symbols in the linker version script librrd.sym are undefined when the CACHE option is off. Suppress errors with lld >= 17 due to these undefined symbols. PR: 273753 MFH: 2024Q1 --- databases/rrdtool/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/databases/rrdtool/Makefile b/databases/rrdtool/Makefile index 743cc8636da1..048243ba52ae 100644 --- a/databases/rrdtool/Makefile +++ b/databases/rrdtool/Makefile @@ -1,6 +1,6 @@ PORTNAME= rrdtool DISTVERSION= 1.8.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases graphics MASTER_SITES= https://github.com/oetiker/rrdtool-1.x/releases/download/v${DISTVERSION}/ @@ -22,6 +22,10 @@ CONFIGURE_ARGS= --disable-tcl CONFIGURE_ENV= RRDDOCDIR=${DOCSDIR:Q} INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 +# Some symbols in the linker version script librrd.sym are undefined when the +# CACHE option is off. Suppress errors with lld >= 17 due to these undefined +# symbols. +LDFLAGS+= -Wl,--undefined-version CONFLICTS= rrdtool12 PORTDOCS= * PORTEXAMPLES= cgi-demo.cgi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401101620.40AGKk2i044320>