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

Collapse All | Expand All

(-)/usr/portage/media-video/nvidia-settings/nvidia-settings-260.19.36.ebuild (-1 / +13 lines)
Lines 13-19 Link Here
13
LICENSE="GPL-2"
13
LICENSE="GPL-2"
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
15
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
16
IUSE=""
16
IUSE="examples"
17
17
18
# xorg-server is used in the depends as nvidia-settings builds against some
18
# xorg-server is used in the depends as nvidia-settings builds against some
19
# headers in /usr/include/xorg/.
19
# headers in /usr/include/xorg/.
Lines 48-53 Link Here
48
	# cd "${S}"
48
	# cd "${S}"
49
	#einfo "Building nVidia-Settings..."
49
	#einfo "Building nVidia-Settings..."
50
	#emake  CC="$(tc-getCC)" STRIP_CMD=/bin/true || die "Failed to build nvidia-settings"
50
	#emake  CC="$(tc-getCC)" STRIP_CMD=/bin/true || die "Failed to build nvidia-settings"
51
52
	cd "${S}"
53
	if use examples; then
54
		emake -C samples clean || die "emake clean samples failed"
55
		emake -C samples/ || die "emake samples failed"
56
	fi
51
}
57
}
52
58
53
src_install() {
59
src_install() {
Lines 65-68 Link Here
65
71
66
	# Now install documentation
72
	# Now install documentation
67
	dodoc doc/*.txt
73
	dodoc doc/*.txt
74
75
	if use examples; then
76
		for i in $(find samples/* -executable); do
77
			dobin $i
78
		done;
79
	fi
68
}
80
}

Return to bug 257765