aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-04-25 20:46:21 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-04-25 20:46:21 +0200
commit644f2e0680539339a9b2961b0ccbf423d1bf1e7d (patch)
tree7a8f4d9f1a094ebfa3cbbc49883da5b57b518390
parent77656c449b6b8ea013825df516fcf94bbb1621d2 (diff)
downloadaports-644f2e0680539339a9b2961b0ccbf423d1bf1e7d.tar.bz2
aports-644f2e0680539339a9b2961b0ccbf423d1bf1e7d.tar.xz
testing/mono: set pax flags
-rw-r--r--testing/mono/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/mono/APKBUILD b/testing/mono/APKBUILD
index d9d7951dc6..cfb901d0e9 100644
--- a/testing/mono/APKBUILD
+++ b/testing/mono/APKBUILD
@@ -9,7 +9,7 @@ arch="all"
license="GPL"
depends=""
depends_dev="zlib-dev libgdiplus-dev"
-makedepends="$depends_dev python linux-headers autoconf automake libtool"
+makedepends="$depends_dev python linux-headers autoconf automake libtool paxctl"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://download.mono-project.com/sources/mono/mono-$pkgver.tar.bz2
@@ -24,6 +24,9 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
+ sed '/exec "/ i\paxctl -mr "$r/@mono_runtime@"' \
+ -i runtime/mono-wrapper.in \
+ || return 1
}
build() {