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 (-6 / +7 lines)
Lines 34-45 Link Here
34
34
35
src_compile() {
35
src_compile() {
36
	set_arch_to_kernel
36
	set_arch_to_kernel
37
37
	if [ -z $(grep 'CONFIG_CONNECTOR=y' ${KERNEL_DIR}/.config) ]; then
38
	einfo ""
38
	eerror ""
39
	einfo "Your kernel-sources in /usr/src/linux-${KV} must be properly configured and"
39
	eerror "Your kernel-sources in /usr/src/linux-${KV} must be properly configured and"
40
	einfo "CONFIG_CONNECTOR must be enabled"
40
	eerror "CONFIG_CONNECTOR must be enabled"
41
	einfo "If otherwise -> build will fail."
41
	eerror ""
42
	einfo ""
42
	exit 1
43
	fi
43
44
44
	if kernel_is 2 6; then
45
	if kernel_is 2 6; then
45
		emake -j1 KDIR=${KERNEL_DIR} || die "compile problem"
46
		emake -j1 KDIR=${KERNEL_DIR} || die "compile problem"

Return to bug 180927