You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
655 B
35 lines
655 B
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit autotools flag-o-matic
|
|
|
|
DESCRIPTION="Console based chess interface"
|
|
HOMEPAGE="https://www.gnu.org/software/chess/chess.html"
|
|
SRC_URI="mirror://gnu/chess/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-6.2.9-c++17.patch
|
|
"${FILESDIR}"/${PN}-6.2.9-configure-quoting.patch
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
# Needed for clang 16 patch (quoting)
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
# -Wodr warnings, bug #858611
|
|
filter-lto
|
|
|
|
# bug #491088
|
|
econf --without-readline
|
|
}
|