makedepends=(
  $(
    printf '%s\n' "${makedepends[@]}" | \
      sed '/^java-environment$/s/$/=7/'
  )
)