Skip to content

Commit

Permalink
databases/rrdtool: fix build with lld 17
Browse files Browse the repository at this point in the history
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
  • Loading branch information
DimitryAndric committed Jan 10, 2024
1 parent 5e95caa commit 2ed094a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion 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}/

Expand All @@ -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
Expand Down

0 comments on commit 2ed094a

Please sign in to comment.