Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Feb 2022 06:45:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        apache@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 262137] devel/apr1: Fix output of `apu-1-config --libs` when default  version of berkeley db is 18
Message-ID:  <bug-262137-16115-ZXQr46WNAA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262137-16115@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262137-16115@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-apache (Nobody)
<apache@FreeBSD.org> for maintainer-feedback:
Bug 262137: devel/apr1: Fix output of `apu-1-config --libs` when default 
version of berkeley db is 18
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262137



--- Description ---
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262137-16115-ZXQr46WNAA>