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

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262137

            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=3D232027&action=
=3Dedit
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 failu=
re
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=3D261523
[Bug 261523] Mk/bsd.default-versions.mk: Change default db5 (deprecated and
EoL) to db18
--=20
You are receiving this mail because:
You are the assignee for the bug.=



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