mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-libs/gost-engine: strip -Werror
Closes: https://bugs.gentoo.org/747589 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user