summaryrefslogtreecommitdiff
path: root/extra/ghostscript/PKGBUILD
blob: cbae39fe5e818f78506ea91e94fbb515c294a595 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# breaking cycle with gtk3 on i486
makedepends=(${makedepends[@]//gtk3/})
makedepends_i686+=(gtk3)
makedepends_pentium4=("${makedepends_i686[@]}")

# breaking cycle with OpenGL on i486
makedepends=(${makedepends[@]//freeglut/})
makedepends_i686+=(freeglut)
makedepends_pentium4=("${makedepends_i686[@]}")
makedepends=(${makedepends[@]//glu/})
makedepends_i686+=(glu)
makedepends_pentium4=("${makedepends_i686[@]}")

# breaking cycle with X
if [ "$CARCH" = 'i486' ]; then
  eval "$(
    declare -f build | \
      sed '
        s/--with-x/--without-x/g
      '
  )"
fi