mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-08 18:27:07 -08:00
x11-drivers/xf86-video-ati: Define XORG_CONFIGURE_OPTIONS in src_configure
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
@@ -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
|
||||
@@ -29,7 +29,7 @@ PATCHES=(
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux ; then
|
||||
if use kernel_linux; then
|
||||
if kernel_is -ge 3 9; then
|
||||
CONFIG_CHECK="~!DRM_RADEON_UMS ~!FB_RADEON"
|
||||
else
|
||||
@@ -40,8 +40,14 @@ pkg_pretend() {
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
XORG_CONFIGURE_OPTIONS=(
|
||||
linux-info_pkg_setup
|
||||
xorg-3_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local XORG_CONFIGURE_OPTIONS=(
|
||||
--enable-glamor
|
||||
$(use_enable udev)
|
||||
)
|
||||
xorg-3_src_configure
|
||||
}
|
||||
|
||||
@@ -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
|
||||
@@ -25,7 +25,7 @@ DEPEND="${RDEPEND}
|
||||
x11-base/xorg-proto"
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux ; then
|
||||
if use kernel_linux; then
|
||||
if kernel_is -ge 3 9; then
|
||||
CONFIG_CHECK="~!DRM_RADEON_UMS ~!FB_RADEON"
|
||||
else
|
||||
@@ -36,8 +36,14 @@ pkg_pretend() {
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
XORG_CONFIGURE_OPTIONS=(
|
||||
linux-info_pkg_setup
|
||||
xorg-3_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local XORG_CONFIGURE_OPTIONS=(
|
||||
--enable-glamor
|
||||
$(use_enable udev)
|
||||
)
|
||||
xorg-3_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user