# texlive-bin/texlib-core rebuilt currently stuck, do not build documenations
# on i486
makedepends=(${makedepends[@]//dblatex/})
makedepends_i686+=(dblatex)
makedepends_pentium4+=(dblatex)
if [ "$CARCH" = 'i486' ]; then
  eval "$(
    declare -f package | \
      sed '
        /cp.*doc.*/d
      '
  )"
fi

# cycle-breaking
if [ "${CARCH}" = "i486" ]; then
  makedepends=(${makedepends[@]//freetype2/})
  makedepends=(${makedepends[@]//graphviz/})
  checkdepends=(${checkdepends[@]//python-fonttools/})
  unset check
  eval "$(
    declare -f package_graphite-docs | \
      sed '
        /.*\/doc\/doxygen.*/d
      '
  )"
fi