Excerpts from Allan McRae's message of December 14, 2021 13:10:
On 14/12/21 21:51, Jan Alexander Steffens (heftig) wrote:On Sun, Dec 12, 2021 at 11:54 AM Allan McRae <[email protected] <mailto:[email protected]>> wrote:This patch series replaces the old libdepends/libprovides system into something akin to that used by APK. In short, makepkg.conf will have a variable like: LIB_DIRS=('lib:usr/lib' 'lib32:usr/lib32')What about packages that install libraries into non-standard dirs and then configure ld.so to look?On my system I currently have: /usr/lib/libfakeroot /usr/lib/opencollada /usr/lib/openmpi /usr/lib/perfCan this somehow be covered? I guess ignoring it wouldn't leave us any worse off.Sure. E.g. the fakeroot PKGBUILD can add: LIB_DIRS+=('lib:usr/lib/libfakeroot') and lib:libfakeroot-0.so will be added as a provide.
With the currently proposed patch it should already be added even without touching LIB_DIRS, since the `find` command used doesn't limit the depth. And adding it to LIB_DIRS would cause it to be added to provides= twice, unless the list is filtered later on in makepkg.
They just won't be added to depends= automatically unless added to LIB_DIRS. -- Sincerely, Johannes Löthberg :: SA0DEM
pgpSzF6028Zvb.pgp
Description: PGP signature
