Lines 27-33
Link Here
|
27 |
DEPEND="${COMMONDEPEND} |
27 |
DEPEND="${COMMONDEPEND} |
28 |
sys-devel/bc |
28 |
sys-devel/bc |
29 |
virtual/yacc |
29 |
virtual/yacc |
30 |
pax_kernel? ( sys-apps/paxctl ) |
30 |
pax_kernel? ( >=dev-python/pypax-0.8.3 ) |
31 |
" |
31 |
" |
32 |
|
32 |
|
33 |
pkg_pretend() { |
33 |
pkg_pretend() { |
Lines 43-54
Link Here
|
43 |
} |
43 |
} |
44 |
|
44 |
|
45 |
src_prepare() { |
45 |
src_prepare() { |
46 |
# we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't |
46 |
# we need to sed in the paxmark.sh -mr in the runtime/mono-wrapper.in so it doesn't |
47 |
# get killed in the build proces when MPROTEC is enable. #286280 |
47 |
# get killed in the build process when MPROTECT is enabled. #286280 |
48 |
# RANDMMAP kill the build proces to #347365 |
48 |
# RANDMMAP kills the build process too #347365 |
49 |
if use pax_kernel ; then |
49 |
if use pax_kernel ; then |
50 |
ewarn "We are disabling MPROTECT on the mono binary." |
50 |
ewarn "We are disabling MPROTECT on the mono binary." |
51 |
sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in |
51 |
sed '/exec/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in |
52 |
fi |
52 |
fi |
53 |
|
53 |
|
54 |
# mono build system can fail otherwise |
54 |
# mono build system can fail otherwise |