Re: pkg-config and share/

From: Andrea Pappacoda <andrea_at_pappacoda.it>
Date: Thu, 28 Jul 2022 23:08:43 UTC
Il giorno lun 25 lug 2022 alle 15:56:12 +02:00:00, Andrea Pappacoda 
<andrea@pappacoda.it> ha scritto:
>> what is
>> fundamentally different from share/pkgconfig and libdata/pkgconfig 
>> beside the
>> name of the directory?
> 
> I guess the difference is in the meaning of the two locations. If a 
> .pc file is in share/ you can be sure it can be used for cross 
> compilation, as share/ only contains arch-independent stuff. And if 
> it is in libdata/? Maybe, I can't know, it could be either 
> arch-specific or arch-independent.

Hi Bapt, sorry to ping this thread, but I think I forgot to specify my 
intents clearly.

Given the usefulness of using share/pkgconfig/, and the fact that 
pkgconf upstream and many different OSes use that directory too, would 
you consider making your pkgconf honour that directory too?

If not, could you please point me to where I should go / who should I 
ask to make the Ports system move .pc files from share/ to libdata/? As 
Daniel (diizzy) mentioned, it seems that currently only files from lib/ 
are moved to libdata/.

If you're not convinced of share/'s usefulness, please pay this thread 
a visit: https://github.com/marzer/tomlplusplus/pull/165

Thanks for your time!