On Dienstag, 11. März 2008, clemens kirchgatterer wrote:
On Tue, Mar 11, 2008 at 12:27 AM, Matthias Schwarzott zzam@gentoo.org
wrote:
On Montag, 10. März 2008, Ville Skyttä wrote:
So you can install .pc file anywhere you want if you add this location to PKG_CONFIG_PATH.
So /usr/bin/pkg-config will always look into /usr/lib/pkgconfig. We can either use A. $(DESTDIR)/usr/lib/pkgconfig or B. $(DESTDIR)$(PREFIX)/lib/pkgconfig
For most installations A should be fine.
definitly B, otherwise it will not work for parallel installs of different vdr versions in different $PREFIXes.
Ack! BUT: B with default values from Makefile gives /usr/local/lib/pkgconfig that by default is not in pkgconfig search-path.
And I wrote: "For most installations ..."
Matthias