Summary: | dev-libs/gmime : add USE=static-libs support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Net-Mail Packages <net-mail+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | gnome |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
There is no good reason for dev-libs/gmime to install static libraries and .la files at all; every package that uses it should be using dynamic linking and the pkg-config file. I recommend adding --disable-static to G2CONF and 'find "${D}" -name '*.la' -exec rm -f {} + || die' to src_install, like in the overlay: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commitdiff;h=51490e1f29a1add04c2cd2ed0719900d680ab5c6 Actually, may want to add USE=static-libs after all since it looks like some users of gmime (e.g. net-mail/dbmail) do support static linking. USE=static-libs added, and .la files dropped conditionally, thanks for reporting. |
This package installs also static libs ".a" please provide do add relative USE. TIA >>> /usr/lib64/libgmime-2.4.a >>> /usr/lib64/libgmime-2.4.so.2.4.24 >>> /usr/lib64/libgmime-2.4.la Please remove also .la if is not needed.