pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg_filecheck under darwin



On Fri, Feb 16, 2007 at 11:21:02PM +0100, Dieter Baron wrote:
> > I encountered some problems when building pkgtools/pkg_filecheck under
> > darwin.
> > 
> > I get build errors with incorrect db4 uses:
> > 
> > That is, .include "../../mk/bdb.buildlink3.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.
yes

> > However, pkg_filecheck builds fine under netbsd, and will fail with the
> > attached patch. db4 pkg is installed, but bdb.buildlink3.mk do not
> > require it, and pkg_filecheck uses /usr/include/db.h.
> > 
> > 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/bdb.buildlink3.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, db1.builtin.mk, which is included by bdb.blk3 already do this
job, so that we simply need to include db_185.h instead of db.h

Thanks,
antoine

Attachment: pgp43LD0RPX0x.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index