HomeFreeBSD

devel/apr1: Fix output of `apu-1-config --libs` when default version of…

Description

devel/apr1: Fix output of apu-1-config --libs when default version of berkeley db is 18

When default version of berkeley db is 18, apu-1-config --libs returns following output.

yasu@eastasia[2137]% apu-1-config --libs

-ldb -lgdbm  -lexpat

yasu@eastasia[2146]%

However, it is not libdb.so but libdb-18.1.so that is installed under ${PREFIX}/lib when you install database/db18. And it results in build failure of some ports that depend on devel/apr1 and use the output of apu-1-config --libs to get the options necessary for linking libraries properly. So fix the output by adding patch that makes configure script detects library name correctly.

PR: 262137
Submitted by: yasu
Approved by: apache (with hat)
Sponsored by: Netzkommune GmbH

Details

Provenance
joneumAuthored on Feb 23 2022, 12:15 PM
Parents
R11:3ff336348ca6: graphics/R-cran-colorspace: Update to 2.0-3
Branches
Unknown
Tags
Unknown