mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 05:29:47 -05:00
Fix Mountain Lion sed by setting LANG.
It's also necessary to delete LC_ALL or it overrides the new LANG. LC_COLLATE is the problem variable but is affected by LANG and LC_ALL so just use them instead. Extends the fix made to geoip in dc955c. Fix #11728, fix #12890, fix #13653, fix #13734, fix #13787, fix #13818.
This commit is contained in:
1 parent
5f87c0bc16
commit
00ba4dfd1e
2 files changed
+5
-3
No files matched your search
@@ -14,8 +14,6 @@ class Geoip < Formula
|
||||
end
|
||||
|
||||
def install
|
||||
# Fix issue with sed barfing on unicode characters on Mountain Lion.
|
||||
ENV.delete('LANG')
|
||||
ENV.universal_binary if ARGV.build_universal?
|
||||
|
||||
# Fixes a build error on Lion when configure does a variant of autoreconf
|
||||
|
||||
@@ -9,8 +9,12 @@ module HomebrewEnvExtension
|
||||
delete('CLICOLOR_FORCE') # autotools doesn't like this
|
||||
remove_cc_etc
|
||||
|
||||
# Mountain Lion no longer ships a few .pcs; make sure we pick up our versions
|
||||
if MacOS.mountain_lion?
|
||||
# Fix issue with sed barfing on unicode characters on Mountain Lion.
|
||||
delete('LC_ALL')
|
||||
self['LANG']="C"
|
||||
|
||||
# Mountain Lion no longer ships a few .pcs; make sure we pick up our versions
|
||||
prepend 'PKG_CONFIG_PATH',
|
||||
HOMEBREW_REPOSITORY/'Library/Homebrew/pkgconfig', ':'
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user