On Tue, 30.12.14 16:58, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote:
> On Mon, Dec 29, 2014 at 03:01:12PM +0000, Simon Peeters wrote: > > 2014-12-29 13:02 GMT+00:00 Martin Pitt <martin.p...@ubuntu.com>: > > > Mike Gilbert [2014-12-28 12:41 -0500]: > > >> From Lennart's commit message, it seems like this was done intentionally. > > > > > > The addition of libdir was certainly intentional, that's why I didn't > > > propose to just remove libdir. But it looks like this was just missing > > > to adjust the install location accordingly? > > > > just my 2c: > > > > well, the addition of libdir was to be able to find the libdir for the > > "primary" arch (however you might define that), moving the pc file > > with this info to $libdir/pkgconfig makes that argument moot since you > > need to know libdir in order to know libdir. > > > > So if I can follow lennart correctly there are 2 possible ways: > > - have libdir in the pc file in /usr/share and make it to denote the > > "primary" arch (which is the current situation) > > - not have libdir in the pc file at all and still have the pc file in > > /usr/share (since libdir does not make sense if the file is in > > $libdir/pkgconfig, and it is the only reason why it might not belong > > in /usr/share) > > > > I have no preference between the 2, but moving the pc file to > > $libdir/pkgconfig just does not make sense. > > What is $libdir in the .pc file used for? If we can answer that, it'll > be clearer whether status quo is correct. The reason I added $libdir there is actually to make this easily queriable, so that I could reference that in file-hierarchy(7). See the part about "vendor-supplied operating system resources" in there. Martin's fix to move this to /usr/share looks right, though, afaics. Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel