aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.ruby.mk
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2013-02-25 10:13:41 +0800
committerswills <swills@FreeBSD.org>2013-02-25 10:13:41 +0800
commitc0493d16921102895e75e0ba51daf0c1cfa14b78 (patch)
tree2a55f65811c2b3610fc2f81629dea208152d2eb7 /Mk/bsd.ruby.mk
parent80ce204ec10a0250ab623172c9fc863ac64c0863 (diff)
downloadfreebsd-ports-gnome-c0493d16921102895e75e0ba51daf0c1cfa14b78.tar.gz
freebsd-ports-gnome-c0493d16921102895e75e0ba51daf0c1cfa14b78.tar.zst
freebsd-ports-gnome-c0493d16921102895e75e0ba51daf0c1cfa14b78.zip
- Add LC_TYPE to avoid encoding issues with many gems
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r--Mk/bsd.ruby.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index 6f3dc8b2346e..a5ea47a065da 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -232,6 +232,8 @@ RUBY_DISTVERSION?= ${RUBY_RELVERSION}-p${RUBY_PATCHLEVEL}
RUBY_WRKSRC= ${WRKDIR}/ruby-${RUBY_DISTVERSION}
+GEM_ENV?= LC_CTYPE=UTF-8
+
RUBY_CONFIGURE_ARGS+= --with-rubyhdrdir="${PREFIX}/include/ruby-2.0/" \
--with-rubylibprefix="${PREFIX}/lib/ruby" \
--docdir="${RUBY_DOCDIR}" \