From: Matt Turner Date: Wed, 27 May 2020 01:09:33 +0000 (-0700) Subject: sys-power/powertop: Fix version string X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=67bed5cf9a26cd685ccf36f3503abac3a709bad2;p=gentoo.git sys-power/powertop: Fix version string Signed-off-by: Matt Turner --- 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 }