diff options
| author | Bryce Mecum | 2014-12-10 13:03:05 -0900 |
|---|---|---|
| committer | Tim D. Smith | 2014-12-10 14:39:27 -0800 |
| commit | 555f2a0bbbcdee44a3e91c9f4661dd78caa6be08 (patch) | |
| tree | 68a16129bdc96586ff0dd54e2b04c23822c5e00f /Library/Formula | |
| parent | 02e6d5f175ee0765e7849ddf373df9119bc880b0 (diff) | |
| download | homebrew-555f2a0bbbcdee44a3e91c9f4661dd78caa6be08.tar.bz2 | |
weechat: don't patch HEAD
Fix inreplace command so it only runs on the stable release and not git release
Closes #34866.
Signed-off-by: Tim D. Smith <git@tim-smith.us>
Diffstat (limited to 'Library/Formula')
| -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} |
