diff options
author | Michael Perlov <perlovka@gmail.com> | 2019-09-29 02:36:32 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2019-10-16 08:22:00 +0300 |
commit | 28454deb31bada0afb7ddb7c1ca228301725905f (patch) | |
tree | a07c056bee75c3e152ab41d99a479a409e847713 /dev-libs/libcharon | |
parent | media-gfx/cura: version bump to 4.3.0 (diff) | |
download | gentoo-28454deb31bada0afb7ddb7c1ca228301725905f.tar.gz gentoo-28454deb31bada0afb7ddb7c1ca228301725905f.tar.bz2 gentoo-28454deb31bada0afb7ddb7c1ca228301725905f.zip |
dev-libs/libcharon: use current python version
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Michael Perlov <perlovka@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13073
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/libcharon')
-rw-r--r-- | dev-libs/libcharon/libcharon-4.3.0.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-libs/libcharon/libcharon-4.3.0.ebuild b/dev-libs/libcharon/libcharon-4.3.0.ebuild index b8424b88bd25..19d4856e4353 100644 --- a/dev-libs/libcharon/libcharon-4.3.0.ebuild +++ b/dev-libs/libcharon/libcharon-4.3.0.ebuild @@ -21,3 +21,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS}" S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + # Use current python version, not the latest installed + sed -i "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" CMakeLists.txt || die + + cmake-utils_src_prepare +} |