logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 4d357d3ce667fbf25b775fb5ba7143e077a19e88
parent 766f663231015ebe63316e855fb8a4a7ebec064d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 12 Aug 2021 13:53:52 +0200

sys-apps/tcb: Remove *.a files on USE=-static-libs

Closes: https://bugs.gentoo.org/807796

Diffstat:

Msys-apps/tcb/tcb-1.2-r1.ebuild4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-apps/tcb/tcb-1.2-r1.ebuild b/sys-apps/tcb/tcb-1.2-r1.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://www.openwall.com/tcb/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -IUSE="pam" +IUSE="pam static-libs" DEPEND=" acct-group/chkpwd @@ -33,4 +33,6 @@ src_install() { einstalldocs emake install DESTDIR="${D}" \ SLIBDIR=/$(get_libdir) LIBDIR=/usr/$(get_libdir) MANDIR=/usr/share/man + + use static-libs || find "${D}" -name '*.a' -delete }