# drop "docdepends" on i486

makedepends_i686=('doxygen' 'dblatex' 'graphviz' 'asciidoc')
makedepends_pentium4=("${makedepends_i686[@]}")
makedepends=(
  $(
    printf '%s\n' "${makedepends[@]}" \
    | grep -vxF "$(printf '%s\n' "${makedepends_i686[@]}")"
  )
)
eval "$(
  declare -f build package \
  | sed '
    /doc/ s/^/[ "${CARCH}" = i486 ] || /
  '
)"