[vdr] [PATCH] Install headers, add pkgconfig file

Ville Skyttä ville.skytta at iki.fi
Wed Mar 12 21:50:36 CET 2008


On Wednesday 12 March 2008, clemens kirchgatterer wrote:
> On Tue, Mar 11, 2008 at 3:46 PM, Joerg Pulz <Joerg.Pulz at frm2.tum.de> wrote:
> >  Out of this four cases (there are probably more, one for every Linux
> >  distribution on this planet), tell me which is the most reasonable
> >  default?
>
> the most reasonable default is simply to put vdr.pc in
> [$(DESTDIR)/]$(PREFIX)/lib/pkgconfig. for cases that this is not
> appropriate, there is $PKG_CONFIG_PATH.

Agreed.  The second revision of the patch is attached; compared to the first 
one this also installs the *.pc file to the first (colon separated) component 
of $PKG_CONFIG_PATH, or to $(PREFIX)/lib/pkgconfig if $PKG_CONFIG_PATH is not 
set in the environment.  Unless I've missed something, as far as I'm 
concerned this is good enough to go in.

By the way, if someone's interested, the bug I reported against pkg-config 
because it can't be queried for its default *.pc dirs is 
https://bugs.freedesktop.org/show_bug.cgi?id=14975
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdr-install-includes-pkgconfig-v2.patch
Type: text/x-diff
Size: 1715 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20080312/5bfde3a7/attachment.patch 


More information about the vdr mailing list