summaryrefslogtreecommitdiff
path: root/core/links/PKGBUILD
blob: 5e8edb58c0f565da63582c7525b722763f49ee32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# i486-specific
if [ "${CARCH}" = "i486" ]; then
  # no X11 or graphic libraries
  makedepends=(${makedepends[@]//libtiff/})  
  makedepends=(${makedepends[@]//libpng/})  
  makedepends=(${makedepends[@]//libxt/})  
  makedepends=(${makedepends[@]//librsvg/})  

  # disable xlinks (or rather, compile it the same way as links)
  eval "$(
    declare -f build | \
      sed '
        s/--enable-graphics --with-x --with-fb/--disable-graphics --without-x --without-fb/
      '
  )"
fi