diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2022-02-22 16:31:58 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2022-02-22 16:33:08 +0100 |
commit | 31e437d5c46c16b4f86e255561b41dba9dbfba04 (patch) | |
tree | bbb58c04d9b58293945d02119f52959ac16b2c70 /sys-libs/liburing | |
parent | sys-libs/liburing: Revbump to fix version in pkgconfig files (diff) | |
download | gentoo-31e437d5c46c16b4f86e255561b41dba9dbfba04.tar.gz gentoo-31e437d5c46c16b4f86e255561b41dba9dbfba04.tar.bz2 gentoo-31e437d5c46c16b4f86e255561b41dba9dbfba04.zip |
sys-libs/liburing: Synced live ebuild
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-libs/liburing')
-rw-r--r-- | sys-libs/liburing/liburing-9999.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
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 } |