x11-drivers/xf86-video-r128: Port to EAPI 7

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2021-03-14 20:57:07 +01:00
parent fb0d0d0164
commit ce8229bd31

View File

@@ -1,10 +1,11 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=7
XORG_DRI=dri
inherit flag-o-matic xorg-2
inherit flag-o-matic xorg-3
DESCRIPTION="ATI Rage128 video driver"
@@ -14,15 +15,12 @@ IUSE="dri"
RDEPEND=">=x11-base/xorg-server-1.2"
DEPEND="${RDEPEND}"
pkg_setup() {
XORG_CONFIGURE_OPTIONS=(
$(use_enable dri)
)
}
src_configure() {
# always use C11 semantics
append-cflags -std=gnu11
xorg-2_src_configure
local XORG_CONFIGURE_OPTIONS=(
$(use_enable dri)
)
xorg-3_src_configure
}