Lines 46-52
Link Here
|
46 |
|
46 |
|
47 |
# IUSE="gatos" disabled because gatos is broken on ~4.4 now (31 Jan 2004) |
47 |
# IUSE="gatos" disabled because gatos is broken on ~4.4 now (31 Jan 2004) |
48 |
IUSE="3dfx 3dnow bitmap-fonts cjk debug dlloader dmx doc font-server hardened |
48 |
IUSE="3dfx 3dnow bitmap-fonts cjk debug dlloader dmx doc font-server hardened |
49 |
insecure-drivers ipv6 minimal mmx nls opengl pam sdk sse static |
49 |
insecure-drivers ipv6 minimal mmx nls nvidia opengl pam sdk sse static |
50 |
truetype-fonts type1-fonts uclibc xprint xv" |
50 |
truetype-fonts type1-fonts uclibc xprint xv" |
51 |
# IUSE_INPUT_DEVICES="synaptics wacom" |
51 |
# IUSE_INPUT_DEVICES="synaptics wacom" |
52 |
|
52 |
|
Lines 676-684
Link Here
|
676 |
# Do we want the glx extension? This will turn off XF86DRI if it's off. |
676 |
# Do we want the glx extension? This will turn off XF86DRI if it's off. |
677 |
# DRI can't build if glx isn't built, so keep this below DRI define. |
677 |
# DRI can't build if glx isn't built, so keep this below DRI define. |
678 |
# Do this before hppa so they can turn DRI off |
678 |
# Do this before hppa so they can turn DRI off |
|
|
679 |
# nvidia users neither need dri nor mesa, but beware that |
680 |
# glxgears and glxinfo won't be built, as well |
679 |
use_build opengl BuildGlxExt |
681 |
use_build opengl BuildGlxExt |
680 |
use_build opengl BuildGLXLibrary |
682 |
if use opengl && ! use nvidia; then |
681 |
use_build opengl BuildXF86DRI |
683 |
echo "#define BuildGLXLibrary YES" >> ${HOSTCONF} |
|
|
684 |
echo "#define BuildXF86DRI YES" >> ${HOSTCONF} |
685 |
else |
686 |
echo "#define BuildGLXLibrary NO" >> ${HOSTCONF} |
687 |
echo "#define BuildXF86DRI NO" >> ${HOSTCONF} |
688 |
fi |
682 |
# Needs GL headers |
689 |
# Needs GL headers |
683 |
use_build opengl BuildGLULibrary |
690 |
use_build opengl BuildGLULibrary |
684 |
|
691 |
|