HomeFreeBSD

sysutils/dar: Fix failure to detect libgcrypt

Description

sysutils/dar: Fix failure to detect libgcrypt

Currently configure script fails to detect libgcrypt as following.

configure:24491: checking for libgcrypt usability
configure:24561: c++ -o conftest -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -fstack-protector-strong conftest.cpp -llzma -lbz2 -lz -ldl >&5
ld: error: undefined symbol: gcry_check_version

referenced by conftest.cpp

/tmp/conftest-5a5403.o:(main)

c++: error: linker command failed with exit code 1 (use -v to see invocation)

It happens because '-L/usr/local/lib' is lacked from options to
compile conftest. So fix it by adding 'localbase' to USES.

Bump PORTREVISION as GCRYPT option is ON by default.

PR: 267312
Reported by: Graham Menhennitt (in freebsd-ports ML)
MFH: 2022Q4

Details

Provenance
yasuAuthored on Oct 24 2022, 6:42 PM
bofhCommitted on Oct 25 2022, 7:50 AM
Parents
R11:df1615b780bc: net-p2p/ogmios: Update to 5.5.6
Branches
Unknown
Tags
Unknown