Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/java7-openjdk/PKGBUILD
blob: 04ec4148fbfcfb97790595c33eb135815de7c7b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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/})

  # readd implicit dependencies from above
  makedepends+=(freetype2)
  makedepends+=(fontconfig)
  makedepends+=(cups)
  makedepends+=(libxt)
  makedepends+=(libxinerama)
  makedepends+=(libxcomposite)
  makedepends+=(libxtst)

  eval "$(
    declare -f build | \
      sed '
        s|./configure|./configure --host=i486-pc-linux-gnu --target=i486-pc-linux-gnu|
        s|--with-rhino|--without-rhino|
        s|--with-jdk-home=${JAVA_HOME}|--with-jdk-home=/opt/jdk7-openjdk|
        s|--enable-nss|--disable-nss|
        s|./configure|./configure --disable-system-jpeg|
        s|./configure|./configure --disable-system-lcms|
        s|./configure|./configure --disable-system-gtk|
        s|./configure|./configure --disable-compile-against-syscalls|
      '
  )"

fi