Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2022 01:08:43 +0200
From:      Andrea Pappacoda <andrea@pappacoda.it>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        Daniel Engberg <diizzy@FreeBSD.org>, Alex Dupre <sysadmin@alexdupre.com>, freebsd-hackers@FreeBSD.org
Subject:   Re: pkg-config and share/
Message-ID:  <JY6RFR.WNI64J5K6IPO2@pappacoda.it>
In-Reply-To: <ODXKFR.TMQ5KIOXE4A31@pappacoda.it>
References:  <50B3D276-5E68-4F87-97FB-71D75D3D9602@pappacoda.it> <20220725081535.vuxy74odqt2cxdnw@aniel.nours.eu> <be19c9ab-c762-a0b4-a3d2-8ffbc45dd5ac@alexdupre.com> <20220725090824.qfeypgyugx6f7i6q@aniel.nours.eu> <CNMKFR.31V3MUTROVR7@pappacoda.it> <20220725111046.7sr7yyvsm5f3hyhj@aniel.nours.eu> <ODXKFR.TMQ5KIOXE4A31@pappacoda.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?JY6RFR.WNI64J5K6IPO2>