diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2019-07-31 16:18:09 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2019-08-01 10:46:52 -0700 |
commit | c4f81ea7517f3b1339b4013f419d2e90b0e51ea8 (patch) | |
tree | ba6376fded1dcc5723651331faf9d7c275305a46 /sys-libs/libblockdev | |
parent | dev-vcs/subversion: arm64 stable (bug #690594) (diff) | |
download | gentoo-c4f81ea7517f3b1339b4013f419d2e90b0e51ea8.tar.gz gentoo-c4f81ea7517f3b1339b4013f419d2e90b0e51ea8.tar.bz2 gentoo-c4f81ea7517f3b1339b4013f419d2e90b0e51ea8.zip |
sys-libs/libblockdev: fix lvm-cache-stats
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'sys-libs/libblockdev')
-rw-r--r-- | sys-libs/libblockdev/libblockdev-2.22.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-libs/libblockdev/libblockdev-2.22.ebuild b/sys-libs/libblockdev/libblockdev-2.22.ebuild index fe1a9b0b4e7a..043dd58c3e88 100644 --- a/sys-libs/libblockdev/libblockdev-2.22.ebuild +++ b/sys-libs/libblockdev/libblockdev-2.22.ebuild @@ -112,4 +112,9 @@ src_configure() { src_install() { default find "${ED}" -type f -name "*.la" -delete || die + # This is installed even with USE=-lvm, but libbd_lvm are omitted so it + # doesn't work at all. + if ! use lvm; then + rm -f "${ED}"/usr/bin/lvm-cache-stats || die + fi } |