[PATCH] Replace libdepends/libprovides

Allan McRae allan at archlinux.org
Tue Dec 14 12:10:43 UTC 2021


On 14/12/21 21:51, Jan Alexander Steffens (heftig) wrote:
> On Sun, Dec 12, 2021 at 11:54 AM Allan McRae <allan at archlinux.org 
> <mailto:allan at archlinux.org>> 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/perf
> 
> Can 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.


More information about the pacman-dev mailing list