aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-08-02 09:25:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-08-02 09:25:11 +0000
commit958f515026dd6f400459c963f862e636443fb0bf (patch)
treeed5b444ba296161be499bbe36fc2d3cbd5cd11e9 /testing
parentebc85738a6cb24a8896d34aca32bc511bf5ddaaf (diff)
downloadaports-958f515026dd6f400459c963f862e636443fb0bf.tar.bz2
aports-958f515026dd6f400459c963f862e636443fb0bf.tar.xz
testing/gcc: fix gcj
Diffstat (limited to 'testing')
-rw-r--r--testing/gcc/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/gcc/APKBUILD b/testing/gcc/APKBUILD
index 8496a78044..3126953de5 100644
--- a/testing/gcc/APKBUILD
+++ b/testing/gcc/APKBUILD
@@ -7,7 +7,7 @@ _specs_gcc_ver=4.4.3
_uclibc_abiver=0.9.32
-pkgrel=1
+pkgrel=2
pkgdesc="The GNU Compiler Collection"
url="http://gcc.gnu.org"
arch="all"
@@ -28,6 +28,7 @@ if [ "$LANG_OBJC" != "off" ]; then
fi
if [ "$LANG_JAVA" != "off" ]; then
subpackages="$subpackages $pkgname-java libgcj"
+ makedepends="$makedepends paxctl"
fi
source="ftp://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-core-$pkgver.tar.bz2
@@ -277,6 +278,7 @@ libgomp() {
java() {
pkgdesc="Java support for GCC"
+ paxctl -c -p -e -m "$pkgdir"/usr/libexec/gcc/*/*/ecj1 || return 1
mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/usr/lib
cd "$pkgdir"/usr/bin
mv gcj gcj-dbtool gjavah gcjh jcf-dump "$subpkgdir"/usr/bin/