summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-01-20 18:21:55 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-01-20 18:22:01 +0100
commitb7fcf1eb589f4402b40377fe9b8af47baf61eec1 (patch)
tree60e1bf3541f55aad8bc3f2be6a6875a262f9377f /sys-apps/fbset
parentdev-libs/libyaml: stable 0.2.5 for hppa, bug #764893 (diff)
downloadgentoo-b7fcf1eb589f4402b40377fe9b8af47baf61eec1.tar.gz
gentoo-b7fcf1eb589f4402b40377fe9b8af47baf61eec1.tar.bz2
gentoo-b7fcf1eb589f4402b40377fe9b8af47baf61eec1.zip
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>
Diffstat (limited to 'sys-apps/fbset')
-rw-r--r--sys-apps/fbset/fbset-2.1.ebuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/sys-apps/fbset/fbset-2.1.ebuild b/sys-apps/fbset/fbset-2.1.ebuild
index d6d2979ad87a..282b230b79a3 100644
--- a/sys-apps/fbset/fbset-2.1.ebuild
+++ b/sys-apps/fbset/fbset-2.1.ebuild
@@ -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