mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
net/librdkafka: work around undefined version symbol error
When building outside of poudriere, net/librdkafka can fail to link, with an error similar to: ld: error: version script assignment of 'global' to symbol 'rd_ut_coverage_check' failed: symbol not defined Work around this by adding -Wl,--undefined-version to LDFLAGS. While here, pet portlint. PR: 275866 Approved by: maintainer timeout (2 weeks) MFH: 2024Q4
This commit is contained in:
parent
d2757d98eb
commit
148d4c8dd9
@ -1,6 +1,6 @@
|
||||
PORTNAME= librdkafka
|
||||
DISTVERSION= 2.3.0
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.3.0
|
||||
CATEGORIES= net
|
||||
|
||||
MAINTAINER= pizzamig@FreeBSD.org
|
||||
@ -29,6 +29,7 @@ MAKE_ARGS= pkgconfigdir=${PREFIX}/libdata/pkgconfig
|
||||
CONFIGURE_ARGS+= --disable-sasl \
|
||||
--enable-ssl \
|
||||
--enable-strip
|
||||
LDFLAGS+= -Wl,--undefined-version
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user