summaryrefslogtreecommitdiff
path: root/extra/java7-openjdk/PKGBUILD
blob: 3e010da8fcd58ccfbbaff100c3053d7f7a8bdf53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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