diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-09-10 09:44:15 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-09-10 09:48:19 +0200 |
commit | ce27345ae2f4c18a6c1b36b5fbc20e8231ddf2ee (patch) | |
tree | 86b68690273adf3618966b39d288678735564ff2 /sys-libs/libblockdev | |
parent | net-analyzer/net-snmp: Fix `net-snmp-config --libs` (diff) | |
download | gentoo-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/libblockdev')
-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 } |