summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-09-10 09:44:15 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-09-10 09:48:19 +0200
commitce27345ae2f4c18a6c1b36b5fbc20e8231ddf2ee (patch)
tree86b68690273adf3618966b39d288678735564ff2 /sys-libs
parentnet-analyzer/net-snmp: Fix `net-snmp-config --libs` (diff)
downloadgentoo-ce27345ae2f4c18a6c1b36b5fbc20e8231ddf2ee.tar.gz
gentoo-ce27345ae2f4c18a6c1b36b5fbc20e8231ddf2ee.tar.bz2
gentoo-ce27345ae2f4c18a6c1b36b5fbc20e8231ddf2ee.zip
sys-libs/libblockdev: Synced live ebuild
Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libblockdev/libblockdev-9999.ebuild5
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
}