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

Collapse All | Expand All

(-)a/configure.orig (-11 / +6 lines)
Lines 6644-6660 Link Here
6644
    if enabled xnvctrl; then
6644
    if enabled xnvctrl; then
6645
        case $target_os in
6645
        case $target_os in
6646
            linux)
6646
            linux)
6647
                # Bah. Suse linux doesn't have xnvctrl.
6647
 		if [ -e /var/db/pkg/x11-drivers/nvidia-drivers*/USE && grep tools /var/db/pkg/x11-drivers/nvidia-drivers*/USE > /dev/null ]
6648
                . /etc/os-release
6648
		then
6649
                case $ID in
6649
                    require XNVctrl "X11/Xlib.h NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h" XNVCTRLIsNvScreen -lXNVCtrl || disable xnvctrl
6650
                    *suse*)
6650
		else
6651
			# This is hopefully temporary.
6651
		    disable xnvctrl_external
6652
			disable xnvctrl_external
6652
		fi
6653
			;;
6654
		    *)
6655
                        require XNVctrl "X11/Xlib.h NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h" XNVCTRLIsNvScreen -lXNVCtrl || disable xnvctrl
6656
                        ;;
6657
                esac
6658
                ;;
6653
                ;;
6659
            freebsd)
6654
            freebsd)
6660
                # This is hopefully temporary, and will eventually
6655
                # This is hopefully temporary, and will eventually

Return to bug 674216