From fd391e990dcb3a023db02efcda730a2c344963de Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Sun, 23 Feb 2020 13:29:03 +0100 Subject: [PATCH] sys-fs/lvm2: Backport the device-mapper-only + static-lib fix It is already fixed in ~ since a while. Package-Manager: Portage-2.3.89, Repoman-2.3.18 Signed-off-by: Luca Barbato --- sys-fs/lvm2/lvm2-2.02.184-r5.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys-fs/lvm2/lvm2-2.02.184-r5.ebuild b/sys-fs/lvm2/lvm2-2.02.184-r5.ebuild index 97c1dcb53f93..6575e869d5a4 100644 --- a/sys-fs/lvm2/lvm2-2.02.184-r5.ebuild +++ b/sys-fs/lvm2/lvm2-2.02.184-r5.ebuild @@ -239,8 +239,10 @@ src_install() { if use static-libs; then dolib.a libdm/ioctl/libdevmapper.a - dolib.a libdaemon/client/libdaemonclient.a #462908 - dolib.a daemons/dmeventd/libdevmapper-event.a + if use !device-mapper-only ; then + dolib.a libdaemon/client/libdaemonclient.a #462908 + dolib.a daemons/dmeventd/libdevmapper-event.a + fi else rm -f "${ED%/}"/usr/$(get_libdir)/{libdevmapper-event,liblvm2cmd,liblvm2app,libdevmapper}.a fi -- 2.26.2