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

Collapse All | Expand All

(-)busybox-1.00-r4.ebuild (+14 lines)
Lines 91-96 src_unpack() { Link Here
91
		done
91
		done
92
		if [[ -r ${S}/.config ]] ; then
92
		if [[ -r ${S}/.config ]] ; then
93
			einfo "Found your ${configfile} and using it."
93
			einfo "Found your ${configfile} and using it."
94
			touch ${BUILDDIR}/.preconfigured
94
			return 0
95
			return 0
95
		fi
96
		fi
96
	fi
97
	fi
Lines 136-142 src_unpack() { Link Here
136
	make oldconfig > /dev/null
137
	make oldconfig > /dev/null
137
}
138
}
138
139
140
src_preconfig() {
141
	emake CROSS="${CROSS}" menuconfig
142
	touch "${BUILDDIR}/.preconfigured"
143
}
144
139
src_compile() {
145
src_compile() {
146
	if [ ! -f ${BUILDDIR}/.preconfigured ]; then
147
		ewarn "You can add preconfig to FEATURES if you want to interactively"
148
		ewarn "configure busybox."
149
		ewarn "DO NOT add preconfig to FEATURES in your make.conf but use:"
150
		ewarn "$ FEATURES=preconfig emerge busybox"
151
		ewarn ""
152
		ewarn "Default config will be used."
153
	fi
140
	busybox_set_env
154
	busybox_set_env
141
	emake -j1 CROSS="${CROSS}" depend || die "depend failed"
155
	emake -j1 CROSS="${CROSS}" depend || die "depend failed"
142
	emake CROSS="${CROSS}" busybox || die "build failed"
156
	emake CROSS="${CROSS}" busybox || die "build failed"

Return to bug 99529