commit:     ce8229bd31f8f15795b7ad2d932defb31bda0d56
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 14 19:57:07 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Mar 14 19:57:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce8229bd

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 <AT> gentoo.org>

 .../xf86-video-r128/xf86-video-r128-6.12.0.ebuild      | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/x11-drivers/xf86-video-r128/xf86-video-r128-6.12.0.ebuild 
b/x11-drivers/xf86-video-r128/xf86-video-r128-6.12.0.ebuild
index 5d59f92a1cf..51078786ca6 100644
--- a/x11-drivers/xf86-video-r128/xf86-video-r128-6.12.0.ebuild
+++ b/x11-drivers/xf86-video-r128/xf86-video-r128-6.12.0.ebuild
@@ -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
 }

Reply via email to