tech-pkg archive

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

Re: PKG_CONFIG_PATH



On Sun, 22 Feb 2009 00:55:49 +0900, Greg Troxel <gdt%ir.bbn.com@localhost> 
wrote:

>> On OpenSolaris a number of .pc files are supplied with the base OS which
>> I'd like to use.  Ideally I'd just like to be able to do a
>> CONFIGURE_ENV+=      PKG_CONFIG_PATH=/usr/lib/pkgconfig so it picks up e.g.
>> openssl.
>
> Ideally this one file would get buildlinked into the pkg-config
> buildlink directory after being found by a builtin.mk file after the
> dependency was expressed normally and the builtin version found to be
> adequate.
>
>> As a hack I suppose I could just ${CP} the .pc file from the base OS
>> into the pkg-config path but that just seems ugly to me.
>
> agreed; seems like asking for trouble

X11 related builtin.mk using mk/buildlink3/pkgconfig-builtin.mk to do so.

The other hand, if applications require *.pc files, it may also required
to create fake *.pc file for *.pc-less buitin packages.

-- 
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index