diff options
Diffstat (limited to 'Library/Formula/weechat.rb')
| -rw-r--r-- | Library/Formula/weechat.rb | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/Library/Formula/weechat.rb b/Library/Formula/weechat.rb index 6997571fb..133c95787 100644 --- a/Library/Formula/weechat.rb +++ b/Library/Formula/weechat.rb @@ -28,7 +28,9 @@ class Weechat < Formula      # 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 ${" +    if build.stable? +      inreplace "cmake/FindPython.cmake", "PATHS ${", "HINTS ${" +    end      args = std_cmake_args + %W[        -DPREFIX=#{prefix} | 
