commit: 6817a75995db17a403b179d9b2970aa6d41fe089 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Wed May 15 14:30:33 2024 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Wed May 15 14:31:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6817a759
sys-fs/xfsprogs: remove libhandle.a when static-libs is disabled Closes: https://bugs.gentoo.org/725538 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> .../xfsprogs/{xfsprogs-6.7.0-r2.ebuild => xfsprogs-6.7.0-r3.ebuild} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys-fs/xfsprogs/xfsprogs-6.7.0-r2.ebuild b/sys-fs/xfsprogs/xfsprogs-6.7.0-r3.ebuild similarity index 95% rename from sys-fs/xfsprogs/xfsprogs-6.7.0-r2.ebuild rename to sys-fs/xfsprogs/xfsprogs-6.7.0-r3.ebuild index 6781e5f02997..dfca5f7562c5 100644 --- a/sys-fs/xfsprogs/xfsprogs-6.7.0-r2.ebuild +++ b/sys-fs/xfsprogs/xfsprogs-6.7.0-r3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://www.kernel.org/pub/linux/utils/fs/xfs/${PN}/${P}.tar.xz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="icu libedit nls selinux" +IUSE="icu libedit nls selinux static-libs" RDEPEND=" dev-libs/inih @@ -92,4 +92,8 @@ src_install() { # XXX: There's a missing dep in the install-dev target, so split it emake DIST_ROOT="${ED}" HAVE_ZIPPED_MANPAGES=false install emake DIST_ROOT="${ED}" HAVE_ZIPPED_MANPAGES=false install-dev + + if ! use static-libs; then + rm "${ED}/usr/$(get_libdir)/libhandle.a" || die + fi }
