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

(-)/usr/portage/sys-boot/grub/grub-2.00-r3.ebuild (-11 / +2 lines)
Lines 220-236 Link Here
220
	emake -C docs DESTDIR="${D}" install-html
220
	emake -C docs DESTDIR="${D}" install-html
221
}
221
}
222
222
223
pkg_pretend() {
224
	if [[ ${MERGE_TYPE} != binary ]]; then
225
		# Bug 439082
226
		if $(tc-getLD) --version | grep -q "GNU gold"; then
227
			eerror "GRUB does not function correctly when built with the gold linker."
228
			eerror "Please select the bfd linker with binutils-config."
229
			die "GNU gold detected"
230
		fi
231
	fi
232
}
233
234
src_prepare() {
223
src_prepare() {
235
	if [[ ${PV} != 9999 ]]; then
224
	if [[ ${PV} != 9999 ]]; then
236
		epatch "${FILESDIR}/${P}-parallel-make.patch" #424231
225
		epatch "${FILESDIR}/${P}-parallel-make.patch" #424231
Lines 285-290 Link Here
285
	use static && append-ldflags -static
274
	use static && append-ldflags -static
286
	use elibc_FreeBSD && append-cppflags "-isystem /usr/include"
275
	use elibc_FreeBSD && append-cppflags "-isystem /usr/include"
287
276
277
	append-cflags "-fuse-ld=bfd"
278
288
	# Sandbox bug 404013.
279
	# Sandbox bug 404013.
289
	use libzfs && addpredict /etc/dfs:/dev/zfs
280
	use libzfs && addpredict /etc/dfs:/dev/zfs
290
281

Return to bug 466536