aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/weechat.rb8
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}