Date: Fri, 31 Jan 2014 22:46:55 GMT From: Ryan Steinmetz <zi@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/186313: [patch] Mk/bsd.ruby.mk - fix doc installation problems Message-ID: <201401312246.s0VMktM9078668@oldred.freebsd.org> Resent-Message-ID: <201401312250.s0VMo0at014029@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186313 >Category: ports >Synopsis: [patch] Mk/bsd.ruby.mk - fix doc installation problems >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jan 31 22:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Ryan Steinmetz >Release: >Organization: >Environment: >Description: Various ruby ports will fail for me with: ERROR: While generating documentation for mail-2.5.4 If you dig through the logs, you will come across character encoding issues like the following: MESSAGE: "\xC3" from ASCII-8BIT to UTF-8 The solution is to define LANG and LC_ALL in the GEM_ENV. I have run into this on multiple ports and have seen other people run into the same issue. >How-To-Repeat: >Fix: Apply the attached patch Patch attached with submission follows: Index: bsd.ruby.mk =================================================================== --- bsd.ruby.mk (revision 342088) +++ bsd.ruby.mk (working copy) @@ -186,7 +186,7 @@ RUBY_WRKSRC= ${WRKDIR}/ruby-${RUBY_DISTVERSION} -GEM_ENV?= LC_CTYPE=UTF-8 +GEM_ENV?= LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_CTYPE=UTF-8 RUBY_CONFIGURE_ARGS+= --with-rubyhdrdir="${PREFIX}/include/ruby-1.9/" \ --with-rubylibprefix="${PREFIX}/lib/ruby" \ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401312246.s0VMktM9078668>