Subject: Re: pkg_filecheck under darwin
To: None <>
From: Antoine Reilles <>
List: pkgsrc-users
Date: 02/16/2007 23:58:33
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Feb 16, 2007 at 11:21:02PM +0100, Dieter Baron wrote:
> > I encountered some problems when building pkgtools/pkg_filecheck under
> > darwin.
> >=20
> > I get build errors with incorrect db4 uses:
> >=20
> > That is, .include "../../mk/" gets the db4-4.4.20nb1
> > package, so pkg_filecheck should use its api.
>   Actually, it should use its DB 1.85 compatibility API.

> > However, pkg_filecheck builds fine under netbsd, and will fail with the
> > attached patch. db4 pkg is installed, but do not
> > require it, and pkg_filecheck uses /usr/include/db.h.
> >=20
> > What is the correct way to fix this problem ?
>   Include the correct file to get the compatibility API, probably
> db4/db_185.h or db_185.h.
>   The cleanest solution is probably to have mk/
> provide this in some way.  How do other DB 1.85 using package handle
> this?  (I'm sorry, I don't have time to look into this at the moment.
> Perhaps raise this issue on tech-pkg?  Feel free to quote this message.)
Actually,, which is included by bdb.blk3 already do this
job, so that we simply need to include db_185.h instead of db.h


Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.4.6 (Darwin)