summaryrefslogtreecommitdiff
path: root/community/kea/PKGBUILD
blob: 1d5103ad7e5641657f65e5ecec2b93e45fcfb6f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# on i486, mariadb is unavailable for quite some time, now

depends=(${depends[@]//mariadb-libs/})
depends_pentium4+=(mariadb-libs)
depends_i686+=(mariadb-libs)

eval "$(
  declare -f build \
  | sed '
    /configure/ {
      h
      s/^/[ "$CARCH" = i486 ] || /
      p
      g
      s/^/[ "$CARCH" != i486 ] || /
      s/--with-mysql/--without-mysql/
    }
  '
)"