diff options
| author | Tim D. Smith | 2014-09-25 16:29:16 -0700 |
|---|---|---|
| committer | Tim D. Smith | 2014-09-25 22:32:04 -0700 |
| commit | e1d17dbe38df5f74eb02bc920b89353866aea389 (patch) | |
| tree | e287590b6d41dae131a6c969214a5433911bb17f /Library/Formula | |
| parent | f0a77d28cf7dc756dbc9aaf426964d6bc2533613 (diff) | |
| download | homebrew-e1d17dbe38df5f74eb02bc920b89353866aea389.tar.bz2 | |
weechat: link to the python in PATH
Closes #32657.
Signed-off-by: Tim D. Smith <git@tim-smith.us>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/weechat.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/weechat.rb b/Library/Formula/weechat.rb index 16e78a549..ac08abd1f 100644 --- a/Library/Formula/weechat.rb +++ b/Library/Formula/weechat.rb @@ -26,10 +26,10 @@ 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' + # builds against the python in PATH by asking cmake to use introspected + # values instead of ignoring them + # https://github.com/weechat/weechat/pull/217 + inreplace "cmake/FindPython.cmake", "PATHS ${", "HINTS ${" args = std_cmake_args + %W[ -DPREFIX=#{prefix} |
