HomeFreeBSD

security/gnutls: fix build with lld 17

Description

security/gnutls: fix build with lld 17

Since lld17 the default is to have the LDFLAGS --no-undefined-version
activated by default, which means that versions scripts should not
contain undefined symbols

2 bugs in gnutls:
1/ the configure scripts tests an empty binary against a list of version
symbols, meaning it breaks in configure (hence the activation of
--enable-ld-version-scripts) which means currently provided gnutls
packages are build without version scripts which breaks existing
installations...
2/ the version script used to link the binary can contain undefined
symbols depending on the options used to build (hence the addition of
the LDFLAGS.

Details

Provenance
baptAuthored on Feb 26 2024, 8:27 AM
Parents
R11:9a2c9f6d943c: textproc/mdocml: Moved man to share/man
Branches
Unknown
Tags
Unknown