From 67bed5cf9a26cd685ccf36f3503abac3a709bad2 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 26 May 2020 18:09:33 -0700 Subject: [PATCH] sys-power/powertop: Fix version string Signed-off-by: Matt Turner --- sys-power/powertop/powertop-2.11.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-power/powertop/powertop-2.11.ebuild b/sys-power/powertop/powertop-2.11.ebuild index 200e2c08f9f3..e472b13d37e0 100644 --- a/sys-power/powertop/powertop-2.11.ebuild +++ b/sys-power/powertop/powertop-2.11.ebuild @@ -106,8 +106,8 @@ src_prepare() { # Bug 599114 sed -i '1s|^|AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX_11])|' configure.ac || die - chmod +x scripts/version || die "Failed to make 'scripts/version' executable" - scripts/version || die "Failed to extract version information" + echo "\"${PV}\"" > version-short + echo "${PV}" > version-long eautoreconf } -- 2.26.2