sys-apps/fbset: Convert to EAPI-7

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
Lars Wendler
2021-01-20 18:21:55 +01:00
parent bb0534fefc
commit b7fcf1eb58

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
inherit toolchain-funcs flag-o-matic eutils
inherit toolchain-funcs flag-o-matic
DESCRIPTION="A utility to set the framebuffer videomode"
HOMEPAGE="http://users.telenet.be/geertu/Linux/fbdev/"
@@ -14,15 +14,14 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 s390 sparc x86"
IUSE="static"
DEPEND="sys-devel/bison
BDEPEND="sys-devel/bison
sys-devel/flex"
RDEPEND=""
src_prepare() {
epatch "${FILESDIR}/${P}-build.patch"
epatch "${FILESDIR}/${P}-add-linux-types-h.patch"
default
}
PATCHES=(
"${FILESDIR}/${P}-build.patch"
"${FILESDIR}/${P}-add-linux-types-h.patch"
)
src_compile() {
use static && append-ldflags -static