diff options
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libblockdev/libblockdev-9999.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-libs/libblockdev/libblockdev-9999.ebuild b/sys-libs/libblockdev/libblockdev-9999.ebuild index fb0c5edf2187..6108db98a24f 100644 --- a/sys-libs/libblockdev/libblockdev-9999.ebuild +++ b/sys-libs/libblockdev/libblockdev-9999.ebuild @@ -113,4 +113,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 } |