diff options
| author | Jack Nagel | 2015-03-10 21:55:03 -0400 |
|---|---|---|
| committer | Jack Nagel | 2015-03-10 21:55:03 -0400 |
| commit | bf57b522257a2924347934b4b4ec0af3c46c7bde (patch) | |
| tree | 8f622645c618a15dfb12e06f640cf3ed5355ac7e /Library/Formula/macvim.rb | |
| parent | 14fc4411c8ebea423c5cbc999af967e8e6f4d2fe (diff) | |
| download | homebrew-bf57b522257a2924347934b4b4ec0af3c46c7bde.tar.bz2 | |
Avoid using internal extension methods in formulae
Diffstat (limited to 'Library/Formula/macvim.rb')
| -rw-r--r-- | Library/Formula/macvim.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb index 10945f396..137daddb5 100644 --- a/Library/Formula/macvim.rb +++ b/Library/Formula/macvim.rb @@ -69,8 +69,8 @@ class Macvim < Formula import distutils.sysconfig print distutils.sysconfig.get_config_var("PYTHONFRAMEWORKPREFIX") EOS - framework_prefix = `python -c '#{framework_script}'`.chuzzle - if framework_prefix && framework_prefix != "/System/Library/Frameworks" + framework_prefix = `python -c '#{framework_script}'`.strip + unless framework_prefix.empty? || framework_prefix == "/System/Library/Frameworks" ENV.prepend "LDFLAGS", "-F#{framework_prefix}" ENV.prepend "CFLAGS", "-F#{framework_prefix}" end |
