# libpgm causes linking issues with intrinsics on 32-bit
depends=(${depends[@]/libpgm/})

eval "$(
  declare -f build | \
    sed '
      s/--with-pgm //
    '
)"