testing/firefox: use paxmark

This commit is contained in:
Timo Teräs 2015-04-10 05:15:09 +00:00
parent c9d2af8d16
commit bcd74e3bc6

View File

@ -4,7 +4,7 @@ pkgname=firefox
pkgver=37.0.1
_pkgver=$pkgver
_xulver=$pkgver
pkgrel=0
pkgrel=1
pkgdesc="Firefox web browser"
url="http://www.firefox.com"
arch="all"
@ -41,7 +41,7 @@ makedepends="$depends_dev
automake
bsd-compat-headers
libtool
paxctl
paxmark
python
sed
yasm
@ -115,7 +115,7 @@ package() {
# only used for startupcache creation.
local paxflags="-msp"
paxctl -c $paxflags */dist/bin/xpcshell || return 1
paxmark "$paxflags" */dist/bin/xpcshell || return 1
make -j1 -f client.mk install \
DESTDIR="$pkgdir" \
@ -133,7 +133,7 @@ package() {
local paxflags="-mp"
[ "$CARCH" = "x86" ] && paxflags="-msp"
paxctl -c $paxflags "$pkgdir"/$_mozappdir/firefox || return 1
paxmark "$paxflags" "$pkgdir"/$_mozappdir/firefox || return 1
# xulrunner stub launcher has changed to using a symlink overlay...
# go figure