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

Collapse All | Expand All

(-)drbd-8.0.3.ebuild.orig (-6 / +3 lines)
Lines 18-23 Link Here
18
DEPEND="virtual/linux-sources"
18
DEPEND="virtual/linux-sources"
19
RDEPEND=""
19
RDEPEND=""
20
SLOT="0"
20
SLOT="0"
21
CONFIG_CHECK="CONNECTOR"
21
22
22
S="${WORKDIR}/${PN}-${MY_PV}"
23
S="${WORKDIR}/${PN}-${MY_PV}"
23
24
Lines 34-45 Link Here
34
35
35
src_compile() {
36
src_compile() {
36
	set_arch_to_kernel
37
	set_arch_to_kernel
37
38
	
38
	einfo ""
39
	linux_chkconfig_present
39
	einfo "Your kernel-sources in /usr/src/linux-${KV} must be properly configured and"
40
	einfo "CONFIG_CONNECTOR must be enabled"
41
	einfo "If otherwise -> build will fail."
42
	einfo ""
43
40
44
	if kernel_is 2 6; then
41
	if kernel_is 2 6; then
45
		emake -j1 KDIR=${KERNEL_DIR} || die "compile problem"
42
		emake -j1 KDIR=${KERNEL_DIR} || die "compile problem"

Return to bug 180927