From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CF610138334 for ; Thu, 1 Aug 2019 17:47:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F15EEE07D7; Thu, 1 Aug 2019 17:47:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D862EE07D7 for ; Thu, 1 Aug 2019 17:47:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8003F34916E for ; Thu, 1 Aug 2019 17:47:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E637731 for ; Thu, 1 Aug 2019 17:47:16 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1564681612.c4f81ea7517f3b1339b4013f419d2e90b0e51ea8.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libblockdev/libblockdev-2.22.ebuild X-VCS-Directories: sys-libs/libblockdev/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: c4f81ea7517f3b1339b4013f419d2e90b0e51ea8 X-VCS-Branch: master Date: Thu, 1 Aug 2019 17:47:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8dbb189e-eda5-4183-a632-938423474c8b X-Archives-Hash: 395d4266eaff6bb7fcd8f2965241e651 commit: c4f81ea7517f3b1339b4013f419d2e90b0e51ea8 Author: Robin H. Johnson gentoo org> AuthorDate: Wed Jul 31 23:18:09 2019 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Thu Aug 1 17:46:52 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4f81ea7 sys-libs/libblockdev: fix lvm-cache-stats Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Robin H. Johnson gentoo.org> sys-libs/libblockdev/libblockdev-2.22.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys-libs/libblockdev/libblockdev-2.22.ebuild b/sys-libs/libblockdev/libblockdev-2.22.ebuild index fe1a9b0b4e7..043dd58c3e8 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 }