diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2024-01-10 16:19:00 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2024-01-10 16:23:10 +0000 |
commit | 014c6ea64d07ff7f3e35d82d2db6e90c1e9eef9d (patch) | |
tree | 38cd32cf8ec5303630184c9dbea3424fcf295892 | |
parent | 82aca1e7b435638d2b99b136fe7c571b03042921 (diff) | |
download | ports-014c6ea64d07ff7f3e35d82d2db6e90c1e9eef9d.tar.gz ports-014c6ea64d07ff7f3e35d82d2db6e90c1e9eef9d.zip |
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
(cherry picked from commit 2ed094adef32cc683a9a077f1c8eb2241754068a)
-rw-r--r-- | databases/rrdtool/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
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 |