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

Collapse All | Expand All

(-)a/mono-2.10.9-r2.ebuild (-5 / +5 lines)
Lines 26-32 Link Here
26
	sys-devel/bc
26
	sys-devel/bc
27
	virtual/yacc
27
	virtual/yacc
28
	>=app-shells/bash-3.2
28
	>=app-shells/bash-3.2
29
	pax_kernel? ( sys-apps/paxctl )"
29
	pax_kernel? ( >=dev-python/pypax-0.8.3 )"
30
30
31
MAKEOPTS="${MAKEOPTS} -j1"
31
MAKEOPTS="${MAKEOPTS} -j1"
32
32
Lines 61-72 Link Here
61
src_prepare() {
61
src_prepare() {
62
	go-mono_src_prepare
62
	go-mono_src_prepare
63
63
64
	# we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't
64
	# we need to sed in the paxmark.sh -mr in the runtime/mono-wrapper.in so it doesn't
65
	# get killed in the build proces when MPROTEC is enable. #286280
65
	# get killed in the build process when MPROTECT is enabled. #286280
66
	# RANDMMAP kill the build proces to #347365
66
	# RANDMMAP kills the build process too #347365
67
	if use pax_kernel ; then
67
	if use pax_kernel ; then
68
		ewarn "We are disabling MPROTECT on the mono binary."
68
		ewarn "We are disabling MPROTECT on the mono binary."
69
		sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
69
		sed '/exec/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
70
	fi
70
	fi
71
}
71
}
72
72

Return to bug 467238