commit:     bc3bb3e12f583bd7593524294726a44536e235f6
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May  1 23:55:05 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun May  2 15:24:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc3bb3e1

x11-drivers/xf86-video-amdgpu: Define XORG_CONFIGURE_OPTIONS in src_configure

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap <AT> gentoo.org>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-19.1.0.ebuild | 7 ++++---
 x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild   | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-19.1.0.ebuild 
b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-19.1.0.ebuild
index 983936d2565..92c575e2271 100644
--- a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-19.1.0.ebuild
+++ b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-19.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -24,9 +24,10 @@ PATCHES=(
        "${FILESDIR}"/${P}-Fix-link-failure-with-gcc-10.patch
 )
 
-pkg_setup() {
-       XORG_CONFIGURE_OPTIONS=(
+src_configure() {
+       local XORG_CONFIGURE_OPTIONS=(
                --enable-glamor
                $(use_enable udev)
        )
+       xorg-3_src_configure
 }

diff --git a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild 
b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild
index 726d5faa862..813a3cda17a 100644
--- a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild
+++ b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -20,9 +20,10 @@ RDEPEND=">=x11-libs/libdrm-2.4.89[video_cards_amdgpu]
        udev? ( virtual/libudev:= )"
 DEPEND="${RDEPEND}"
 
-pkg_setup() {
-       XORG_CONFIGURE_OPTIONS=(
+src_configure() {
+       local XORG_CONFIGURE_OPTIONS=(
                --enable-glamor
                $(use_enable udev)
        )
+       xorg-3_src_configure
 }

Reply via email to