diff options
author | tharvik <tharvik@users.noreply.github.com> | 2018-08-29 15:54:28 +0200 |
---|---|---|
committer | Mark Wright <gienah@gentoo.org> | 2019-12-29 17:16:22 +1100 |
commit | b668f7b1d0e89f4bd3dda5d22a6b7f0971f2bd70 (patch) | |
tree | c6ff258aef8cde309735a94329f8df240617da86 /dev-lang/scala | |
parent | dev-python/helpdev: Helping users/developers to get env. information (diff) | |
download | gentoo-b668f7b1d0e89f4bd3dda5d22a6b7f0971f2bd70.tar.gz gentoo-b668f7b1d0e89f4bd3dda5d22a6b7f0971f2bd70.tar.bz2 gentoo-b668f7b1d0e89f4bd3dda5d22a6b7f0971f2bd70.zip |
dev-lang/scala: fix compile's encoding
Closes: https://bugs.gentoo.org/664866
Closes: https://github.com/gentoo/gentoo/pull/9732
Signed-off-by: Mark Wright <gienah@gentoo.org>
Diffstat (limited to 'dev-lang/scala')
-rw-r--r-- | dev-lang/scala/scala-2.12.4.ebuild | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dev-lang/scala/scala-2.12.4.ebuild b/dev-lang/scala/scala-2.12.4.ebuild index b36402420d49..1adbeeb8b465 100644 --- a/dev-lang/scala/scala-2.12.4.ebuild +++ b/dev-lang/scala/scala-2.12.4.ebuild @@ -145,7 +145,7 @@ src_prepare() { #!/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 @@ -161,7 +161,6 @@ src_prepare() { 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) ..." |