Closes: https://bugs.gentoo.org/664866
Closes: https://github.com/gentoo/gentoo/pull/9732
Signed-off-by: Mark Wright <gienah@gentoo.org>
#!/bin/bash
gjl_package=sbt
gjl_jar="sbt-launch.jar"
- gjl_java_args="-Dsbt.version=0.13.13 -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -Duser.home="${WORKDIR}""
+ gjl_java_args="-Dsbt.version=0.13.13 -Dfile.encoding=UTF8 -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -Duser.home="${WORKDIR}""
source /usr/share/java-config-2/launcher/launcher.bash
EOF
chmod u+x "${S}/sbt" || die
src_compile() {
if ! use binary; then
export PATH="${EROOT}usr/share/scala-${SV}/bin:${WORKDIR}/${L_P}:${PATH}"
- export LANG="en_US.UTF-8"
einfo "=== scala compile ..."
"${S}"/sbt -Dsbt.log.noformat=true compile || die "sbt compile failed"
einfo "=== sbt publishLocal with jdk $(java-pkg_get-vm-version) ..."