diff options
author | Timo Teräs <timo.teras@iki.fi> | 2015-04-09 13:55:21 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2015-04-09 13:55:47 +0000 |
commit | 568316df90a20e57f3b5e9ca29b4723c9c223468 (patch) | |
tree | 2887e3a64b2e9f4dcc76dfccc0113886ba53d522 /main/java-gcj-compat/APKBUILD | |
parent | 36cb61801b63993521d4c144f7f77eb69eec4445 (diff) | |
download | aports-568316df90a20e57f3b5e9ca29b4723c9c223468.tar.bz2 aports-568316df90a20e57f3b5e9ca29b4723c9c223468.tar.xz |
main/{gcc,java-gcj-compat}: use paxmark
Diffstat (limited to 'main/java-gcj-compat/APKBUILD')
-rw-r--r-- | main/java-gcj-compat/APKBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/main/java-gcj-compat/APKBUILD b/main/java-gcj-compat/APKBUILD index 432a16585..5c776c36c 100644 --- a/main/java-gcj-compat/APKBUILD +++ b/main/java-gcj-compat/APKBUILD @@ -6,14 +6,14 @@ gccpkgrel=`(. ../../main/gcc/APKBUILD ; echo "$pkgrel")` pkgname=java-gcj-compat pkgver=$gccver -_mypkgrel=0 +_mypkgrel=1 pkgrel=$(( $_mypkgrel + $gccpkgrel )) pkgdesc="JDK like environment using GCJ" url="http://git.alpinelinux.org/aports.git" arch="all" license="GPL" depends="fastjar gcc-java=$gccver-r$gccpkgrel java-common" -makedepends="gcc-java=$gccver-r$gccpkgrel zlib-dev paxctl" +makedepends="gcc-java=$gccver-r$gccpkgrel zlib-dev paxmark" install="" subpackages="" source="" @@ -25,8 +25,9 @@ build() { cd $_builddir gcj -Wl,-Bsymbolic -findirect-dispatch -o ecj \ --main=org.eclipse.jdt.internal.compiler.batch.Main \ - /usr/share/java/ecj.jar -lgcj - paxctl -c -msp ecj + /usr/share/java/ecj.jar -lgcj \ + || return 1 + paxmark -msp ecj || return 1 } package() { |