diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031-r1.ebuild | 7 | ||||
-rw-r--r-- | dev-libs/gost-engine/gost-engine-9999.ebuild | 9 |
2 files changed, 13 insertions, 3 deletions
diff --git a/dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031-r1.ebuild b/dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031-r1.ebuild index 9bcff53af420..fec5175b2bcf 100644 --- a/dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031-r1.ebuild +++ b/dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -32,3 +32,8 @@ else SRC_URI="https://github.com/gost-engine/engine/archive/e5cc3684f3b3ad40e186e23b00b253d234df92ab.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/engine-e5cc3684f3b3ad40e186e23b00b253d234df92ab" fi + +src_prepare() { + cmake-utils_src_prepare + sed 's:Werror:Wno-error:g' -i "${S}/CMakeLists.txt" || die +} diff --git a/dev-libs/gost-engine/gost-engine-9999.ebuild b/dev-libs/gost-engine/gost-engine-9999.ebuild index 1d7a11fbc17e..945c78a4f22b 100644 --- a/dev-libs/gost-engine/gost-engine-9999.ebuild +++ b/dev-libs/gost-engine/gost-engine-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -28,7 +28,12 @@ if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://github.com/gost-engine/engine.git" inherit git-r3 else - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~hppa" SRC_URI="https://github.com/gost-engine/engine/archive/v${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/engine-${PV}" fi + +src_prepare() { + cmake-utils_src_prepare + sed 's:Werror:Wno-error:g' -i "${S}/CMakeLists.txt" || die +} |