diff -uNr a/mono-2.10.9-r2.ebuild b/mono-2.10.9-r2.ebuild --- a/mono-2.10.9-r2.ebuild 2013-05-24 21:37:29.781961213 +0200 +++ b/mono-2.10.9-r2.ebuild 2013-05-24 21:40:47.740949322 +0200 @@ -26,7 +26,7 @@ sys-devel/bc virtual/yacc >=app-shells/bash-3.2 - pax_kernel? ( sys-apps/paxctl )" + pax_kernel? ( >=dev-python/pypax-0.8.3 )" MAKEOPTS="${MAKEOPTS} -j1" @@ -61,12 +61,12 @@ src_prepare() { go-mono_src_prepare - # we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't - # get killed in the build proces when MPROTEC is enable. #286280 - # RANDMMAP kill the build proces to #347365 + # we need to sed in the paxmark.sh -mr in the runtime/mono-wrapper.in so it doesn't + # get killed in the build process when MPROTECT is enabled. #286280 + # RANDMMAP kills the build process too #347365 if use pax_kernel ; then ewarn "We are disabling MPROTECT on the mono binary." - sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in + sed '/exec/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in fi }