Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 105456
Collapse All | Expand All

(-)mesa-6.3.2.ebuild (-10 / +16 lines)
Lines 20-26 Link Here
20
LICENSE="LGPL-2"
20
LICENSE="LGPL-2"
21
SLOT="0"
21
SLOT="0"
22
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
22
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
23
IUSE="motif"
23
IUSE="motif dri"
24
24
25
RDEPEND="dev-libs/expat
25
RDEPEND="dev-libs/expat
26
	x11-libs/libX11
26
	x11-libs/libX11
Lines 45-60 Link Here
45
# Think about: ggi, svga, fbcon, no-X configs
45
# Think about: ggi, svga, fbcon, no-X configs
46
46
47
pkg_setup() {
47
pkg_setup() {
48
	CONFIG="linux"
49
50
	if use dri; then
51
		CONFIG="${CONFIG}-dri"
52
	fi
53
48
	if use x86; then
54
	if use x86; then
49
		CONFIG="linux-dri-x86"
55
		CONFIG="${CONFIG}-x86"
50
	# amd64 people need to look at this file to deal with lib64 issues, unless
56
	# amd64 people need to look at this file to deal with lib64 issues, unless
51
	# they're fine with hardcoded lib64.
57
	# they're fine with hardcoded lib64.
52
	elif use amd64; then
58
	elif use amd64; then
53
		CONFIG="linux-dri-x86-64"
59
		CONFIG="${CONFIG}-x86-64"
54
	elif use ppc; then
60
	elif use ppc; then
55
		CONFIG="linux-dri-ppc"
61
		CONFIG="${CONFIG}-ppc"
56
	else
57
		CONFIG="linux-dri"
58
	fi
62
	fi
59
}
63
}
60
64
Lines 124-133 Link Here
124
	##
128
	##
125
	# Install the actual drivers --- 'make install' doesn't install them
129
	# Install the actual drivers --- 'make install' doesn't install them
126
	# anywhere.
130
	# anywhere.
127
	dodir /usr/$(get_libdir)/xorg/modules/dri
131
	if use dri; then
128
	exeinto /usr/$(get_libdir)/xorg/modules/dri
132
		dodir /usr/$(get_libdir)/xorg/modules/dri
129
	einfo "Installing drivers to ${EXEDESTTREE}."
133
		exeinto /usr/$(get_libdir)/xorg/modules/dri
130
	find ${S}/lib* -name '*_dri.so' | xargs doexe
134
		einfo "Installing drivers to ${EXEDESTTREE}."
135
		find ${S}/lib* -name '*_dri.so' | xargs doexe
136
	fi
131
137
132
	fix_opengl_symlinks
138
	fix_opengl_symlinks
133
	dynamic_libgl_install
139
	dynamic_libgl_install

Return to bug 105456