From 4e7c9c9971ed044b8e5eefb86cd4648fe41a49dc Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Fri, 30 Jun 2023 15:25:07 -0700 Subject: [PATCH] sys-fs/lvm2: Add option to not compile lvmpolld Since using lvmpolld is optional and can be disabled in lvm.conf, add a flag to remove it from the image to save space. Closes: https://bugs.gentoo.org/909418 --- sys-fs/lvm2/lvm2-2.03.20.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-fs/lvm2/lvm2-2.03.20.ebuild b/sys-fs/lvm2/lvm2-2.03.20.ebuild index e8bb44c70..edbe63435 100644 --- a/sys-fs/lvm2/lvm2-2.03.20.ebuild +++ b/sys-fs/lvm2/lvm2-2.03.20.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/${PN^^}.${PV}" LICENSE="GPL-2" SLOT="0" KEYWORDS="*" -IUSE="lvm lvm2create-initrd readline sanlock selinux static static-libs systemd thin +udev" +IUSE="lvm lvm2create-initrd +lvm2polld readline sanlock selinux static static-libs systemd thin +udev" REQUIRED_USE=" static? ( !systemd !udev ) static-libs? ( static !udev ) @@ -114,7 +114,7 @@ src_configure() { $(use_enable lvm dmeventd) $(use_enable lvm cmdlib) $(use_enable lvm fsadm) - $(use_enable lvm lvmpolld) + $(use_enable lvm2polld lvmpolld) # This only causes the .static versions to become available $(usex static --enable-static_link '') -- 2.41.0.255.g8b1d071c50-goog