index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/java8-openjdk/PKGBUILD | 20 |
diff --git a/extra/java8-openjdk/PKGBUILD b/extra/java8-openjdk/PKGBUILD index bb369461..e1f5e163 100644 --- a/extra/java8-openjdk/PKGBUILD +++ b/extra/java8-openjdk/PKGBUILD @@ -18,4 +18,22 @@ eval "$( ' )" -[ "$CARCH" = "i486" ] && _JARCH=i386 +# i486-specific +if [ "${CARCH}" = "i486" ]; then + _JARCH=i386 + + # a lot of things missing during bootstrapping + makedepends=(${makedepends[@]//libpulse>=0.9.11/}) + makedepends=(${makedepends[@]//gtk2/}) + makedepends=(${makedepends[@]//java-rhino/}) + makedepends=(${makedepends[@]//eclipse-ecj/}) + + eval "$( + declare -f build | \ + sed ' + s|--with-rhino|--without-rhino| + s|--with-jdk-home=${JAVA_HOME}|--with-jdk-home=/opt/jdk7-openjdk| + ' + )" + +fi |