pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Resolve the UTF-8 warnings in Elixir
Module Name: pkgsrc-wip
Committed By: atomicules <base%atomicules.co.uk@localhost>
Pushed By: atomicules
Date: Sun Aug 13 18:16:39 2017 +0100
Changeset: edeebbae490da279b1307f4ebf2f7692dac9fb64
Modified Files:
elixir/Makefile
Removed Files:
elixir/TODO
Log Message:
Resolve the UTF-8 warnings in Elixir
See:
http://mail-index.netbsd.org/tech-pkg/2017/08/13/msg018640.html
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=edeebbae490da279b1307f4ebf2f7692dac9fb64
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
elixir/Makefile | 5 +++++
elixir/TODO | 11 -----------
2 files changed, 5 insertions(+), 11 deletions(-)
diffs:
diff --git a/elixir/Makefile b/elixir/Makefile
index f1735147ea..68ef4b7e27 100644
--- a/elixir/Makefile
+++ b/elixir/Makefile
@@ -23,3 +23,8 @@ USE_TOOLS+= gmake gsed
BUILD_TARGET= compile
.include "../../mk/bsd.pkg.mk"
+
+# These have to be included after bsd.pkg.mk otherwise elixir will warn the locale is set incorrectly as latin1
+MAKE_ENV += LC_CTYPE="en_US.UTF-8"
+MAKE_ENV += LC_LANG="en_US.UTF-8"
+MAKE_ENV += LC_ALL=""
diff --git a/elixir/TODO b/elixir/TODO
deleted file mode 100644
index a0e782b53d..0000000000
--- a/elixir/TODO
+++ /dev/null
@@ -1,11 +0,0 @@
-Need to figure out passing LANG=en_US.UTF-8 as an environment variable as seeing these errors:
-
-==> iex (compile) warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell)
-
-If I do a make outside of Pkgsrc I don't see these errors as my locale is set correctly, but I don't understand Pkgsrc's build environment. I tried setting these:
-
-MAKE_ENV += 'LC_CTYPE="en_US.UTF-8"'
-MAKE_ENV += 'LC_LANG="en_US.UTF-8"'
-MAKE_ENV += 'LC_ALL=""'
-
-But no luck.
Home |
Main Index |
Thread Index |
Old Index