diff -uNr a/mono-3.0.7.ebuild b/mono-3.0.7.ebuild --- a/mono-3.0.7.ebuild 2013-05-27 18:16:22.738203938 +0200 +++ b/mono-3.0.7.ebuild 2013-05-27 18:07:00.578173647 +0200 @@ -27,7 +27,7 @@ DEPEND="${COMMONDEPEND} sys-devel/bc virtual/yacc - pax_kernel? ( sys-apps/paxctl ) + pax_kernel? ( >=dev-python/pypax-0.8.3 ) " pkg_pretend() { @@ -43,12 +43,12 @@ } 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 # mono build system can fail otherwise