[Bug 262137] devel/apr1: Fix output of `apu-1-config --libs` when default version of berkeley db is 18
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Feb 2022 06:45:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262137 Bug ID: 262137 Summary: devel/apr1: Fix output of `apu-1-config --libs` when default version of berkeley db is 18 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: apache@FreeBSD.org Reporter: yasu@freebsd.org Blocks: 261523 Flags: maintainer-feedback?(apache@FreeBSD.org) Assignee: apache@FreeBSD.org Created attachment 232027 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232027&action=edit Patch file 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. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261523 [Bug 261523] Mk/bsd.default-versions.mk: Change default db5 (deprecated and EoL) to db18 -- You are receiving this mail because: You are the assignee for the bug.