Subject: Re: document PKGCONFIG_OVERRIDE?
To: Jeremy C. Reed <reed@reedmedia.net>
From: Juan RP <jrp@hispabsd.org>
List: tech-pkg
Date: 08/13/2003 09:53:19
--=.y,aa)YSOVkWfvf
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Wed, 13 Aug 2003 00:42:26 -0700 (PDT)
"Jeremy C. Reed" <reed@reedmedia.net> wrote:

> Can someone document the PKGCONFIG_OVERRIDE in the Packages.txt?
> 
> When should it be used? And an example with explanation on how it can be
> used?

It should be used if a package contains files *.pc.in, if there are more
files than one, you can use PKGCONFIG_OVERRIDE+=, i.e:

PKGCONFIG_OVERRIDE=	${WRKSRC}/file.pc.in
PKGCONFIG_OVERRIDE+=	${WRKSRC}/file2.pc.in
...

With url2pkg ( pkgtools/url2pkg ), it will add automatically all files
for pkgconfig ...

> 
> (I am working on a mozilla-gtk that will provide a mozilla-gtkmozembed.pc
> and I'd like to know the proper steps for doing this.)

Nice :)

-- 
Juan RP		<jrp@hispabsd.org>
--

--=.y,aa)YSOVkWfvf
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)

iD4DBQE/Oe4rmOEpHEa5ttcRAmV1AJjK+onH72fECQbO6OH/rUny6DuiAJ9shNEm
LklmZx1p5e72jJSHaCNdiw==
=R6mz
-----END PGP SIGNATURE-----

--=.y,aa)YSOVkWfvf--