diff options
| author | Bruce Wang | 2014-02-16 21:08:55 +1100 |
|---|---|---|
| committer | Mike McQuaid | 2014-02-21 11:26:50 +0000 |
| commit | 9f8ba5bd6f5e1fb019d4d96674adce272cc573a4 (patch) | |
| tree | f399fd6415cfbce137022073b66d464395e0378d /Library/Formula | |
| parent | bc5fb7414ab5f3fa697343318a971c5563d1ca0c (diff) | |
| download | homebrew-9f8ba5bd6f5e1fb019d4d96674adce272cc573a4.tar.bz2 | |
weechat: re-add inreplace "-u _PyMac_Error" flags.
this will fix #26610 which failed the build with error:
no such file or directory: 'Python.framework/Versions/2.7/Python'
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/weechat.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/weechat.rb b/Library/Formula/weechat.rb index 1ef28b398..21d0fd1d7 100644 --- a/Library/Formula/weechat.rb +++ b/Library/Formula/weechat.rb @@ -19,6 +19,11 @@ class Weechat < Formula option 'with-ruby', 'Build the ruby module' def install + # this will fix error: + # no such file or directory: 'Python.framework/Versions/2.7/Python' + inreplace 'src/plugins/python/CMakeLists.txt', + '${PYTHON_LFLAGS}', '-u _PyMac_Error' + args = std_cmake_args + %W[ -DPREFIX=#{prefix} -DENABLE_GTK=OFF |
