[pacman-dev] [PATCH] add support for .so dependencies

Thomas Bächler thomas at archlinux.org
Sat Aug 15 07:37:05 EDT 2009

First of all, this was partially my idea, so I second that such an approach

bluewind at server-speed.net schrieb:
> diff --git a/etc/makepkg.conf.in b/etc/makepkg.conf.in
> index 3a3a415..c3caf3c 100644
> --- a/etc/makepkg.conf.in
> +++ b/etc/makepkg.conf.in
> @@ -67,8 +67,9 @@ BUILDENV=(fakeroot !distcc color !ccache)
>  #-- emptydirs: Leave empty directories in packages
>  #-- zipman:    Compress manual (man and info) pages in MAN_DIRS with gzip
>  #-- purge:     Remove files specified by PURGE_TARGETS
> +#-- sodepends: add .so files to depends/provides arrays
>  #
> -OPTIONS=(strip docs libtool emptydirs zipman purge)
> +OPTIONS=(strip docs libtool emptydirs zipman purge !sodepends)

These should be separate options for sodepends and soprovides. There are 
some reservations against sodepends, but adding soprovides as default 
option should be safe for all uses. The default options array should then be

OPTIONS=(strip docs libtool emptydirs zipman purge soprovides !sodepends)

Also, automatically adding sodepends will be problematic with optdepends.

As for the rest of the patch, I'll let Dan or Allan verify that it will 
be okay in combination with split packages.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://www.archlinux.org/pipermail/pacman-dev/attachments/20090815/325451b8/attachment.pgp>

More information about the pacman-dev mailing list