# no java yet on i486
if [ "$CARCH" = 'i486' ]; then
  makedepends=(${makedepends[@]//java-environment/})
  eval "$(
    declare -f build | \
      sed '
        /JAVA_HOME/d
        s/-Dextra_include_dirs.*linux"//
      '
  )
  "
fi