From 31e437d5c46c16b4f86e255561b41dba9dbfba04 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Tue, 22 Feb 2022 16:31:58 +0100 Subject: sys-libs/liburing: Synced live ebuild Signed-off-by: Lars Wendler --- sys-libs/liburing/liburing-9999.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sys-libs/liburing/liburing-9999.ebuild b/sys-libs/liburing/liburing-9999.ebuild index 72d3d7d1fa2a..c7427bfe9a0d 100644 --- a/sys-libs/liburing/liburing-9999.ebuild +++ b/sys-libs/liburing/liburing-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,6 +23,13 @@ RESTRICT="test" src_prepare() { default + + if [[ "${PV}" != *9999 ]] ; then + # Make sure pkgconfig files contain the correct version + # bug #809095 and #833895 + sed -i "/^Version:/s@[[:digit:]\.]\+@${PV}@" ${PN}.spec || die + fi + multilib_copy_sources } -- cgit v1.2.3-65-gdbad