# rrdtool needed by sensord needs cairo/pango (not available on i486)
makedepends=(${makedepends[@]//rrdtool/})
_oifs="${IFS}"
IFS=$(printf '\n')
optdepends=(${optdepends[@]/rrdtool:*/})
IFS="${_oifs}"

makedepends_i686=('rrdtool')
makedepends_pentium4=("${makedepends_i686[@]}")

optdepends_i686=('rrdtool: for logging with sensord')
optdepends_pentium4=("${optdepends_i686[@]}")

if [ "${CARCH}" = 'i486' ]; then
  eval "$(
    declare -f package | \
      sed '
        s/PROG_EXTRA=sensord//
      '
  )"
fi