From 95737dcc782481df02c2d85a2cfe03870da38c42 Mon Sep 17 00:00:00 2001 From: Ville Lautanala Date: Sun, 3 Apr 2011 18:21:29 +0300 Subject: sbcl: Remove non-ASCII values from environment For more information, see http://bugs.gentoo.org/show_bug.cgi?id=174702 Signed-off-by: Adam Vandenberg --- Library/Formula/sbcl.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/sbcl.rb b/Library/Formula/sbcl.rb index 095691839..9d4d91b3e 100644 --- a/Library/Formula/sbcl.rb +++ b/Library/Formula/sbcl.rb @@ -52,6 +52,12 @@ class Sbcl < Formula def install write_features + # Remove non-ASCIi values from environment as they cause build failure + # More information: http://bugs.gentoo.org/show_bug.cgi?id=174702 + ENV.delete_if do |key, value| + !value.bytes.all? do |c| c <= 128 end + end + build_directory = Dir.pwd SbclBootstrapBinaries.new.brew { # We only need the binaries for bootstrapping, so don't install anything: -- cgit v1.2.3