Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 342267 | Differences between
and this patch

Collapse All | Expand All

(-)ati-drivers-8.780.ebuild (-3 / +8 lines)
Lines 24-30 Link Here
24
SLOT="1"
24
SLOT="1"
25
25
26
RDEPEND="
26
RDEPEND="
27
	=x11-base/xorg-server-1.9*
27
	<x11-base/xorg-server-1.9.99
28
	!x11-drivers/ati-drivers:0
28
	!x11-drivers/ati-drivers:0
29
	!x11-apps/ati-drivers-extra
29
	!x11-apps/ati-drivers-extra
30
	>=app-admin/eselect-opengl-1.0.7
30
	>=app-admin/eselect-opengl-1.0.7
Lines 197-204 Link Here
197
pkg_setup() {
197
pkg_setup() {
198
	# Define module dir.
198
	# Define module dir.
199
	MODULE_DIR="${S}/${FOLDER_PREFIX}/lib/modules/fglrx/build_mod"
199
	MODULE_DIR="${S}/${FOLDER_PREFIX}/lib/modules/fglrx/build_mod"
200
	# xorg folder
200
	# get the xorg-server version and set BASE_DIR for that
201
	BASE_DIR="${S}/x760"
201
	local ver_str=$(qatom `best_version x11-base/xorg-server` | cut -d ' ' -f 3)
202
	case ${ver_str} in
203
		1\.9*) BASE_DIR="${S}/x760" ;;
204
		1\.8*|1\.7*) BASE_DIR="${S}/x750" ;;
205
		*) die "xorg-server-${ver_str} not supported" ;;
206
	esac
202
207
203
	# amd64/x86
208
	# amd64/x86
204
	if use amd64 ; then
209
	if use amd64 ; then

Return to bug 342267