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

(-)x11-drm/x11-drm-20060608.ebuild (-3 / +7 lines)
Line 0 Link Here
1
diff -urNp drm/linux-core/drmP.h drm.new/linux-core/drmP.h
2
--- drm/linux-core/drmP.h	2006-06-06 20:46:17.000000000 +0300
Lines 46-52 DEPEND=">=sys-devel/automake-1.7 Link Here
46
pkg_setup() {
46
pkg_setup() {
47
	get_version
47
	get_version
48
48
49
	if is_kernel 2 6
49
	if kernel_is 2 6
50
	then
50
	then
51
		if linux_chkconfig_builtin "DRM"
51
		if linux_chkconfig_builtin "DRM"
52
		then
52
		then
Lines 59-65 pkg_setup() { Link Here
59
			einfo "work, so you might want to double-check that setting. (CONFIG_AGP)"
59
			einfo "work, so you might want to double-check that setting. (CONFIG_AGP)"
60
			echo
60
			echo
61
		fi
61
		fi
62
	elif is_kernel 2 4
62
	elif kernel_is 2 4
63
	then
63
	then
64
		if ! linux_chkconfig_present "DRM"
64
		if ! linux_chkconfig_present "DRM"
65
		then
65
		then
Lines 84-89 src_unpack() { Link Here
84
84
85
	cd ${S}
85
	cd ${S}
86
86
87
	epatch ${FILESDIR}/${P}-bool.patch
88
87
	patch_prepare
89
	patch_prepare
88
90
89
	# Apply patches
91
	# Apply patches
Lines 133-139 src_install() { Link Here
133
	cd ${SRC_BUILD}
135
	cd ${SRC_BUILD}
134
136
135
	unset ARCH
137
	unset ARCH
136
	is_kernel 2 6 && DRM_KMOD="drm.${KV_OBJ}"
138
	kernel_is 2 6 && DRM_KMOD="drm.${KV_OBJ}"
137
	make KV="${KV_FULL}" \
139
	make KV="${KV_FULL}" \
138
		LINUXDIR="${KERNEL_DIR}" \
140
		LINUXDIR="${KERNEL_DIR}" \
139
		DESTDIR="${D}" \
141
		DESTDIR="${D}" \

Return to bug 137712