diff options
Diffstat (limited to 'main/java-gcj-compat')
-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 432a165855..5c776c36ca 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() { |