From 2ec407895bfe7c80e2fbec30ec0ebde6d3be4f2e Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Sun, 9 Feb 2014 23:27:27 +0100 Subject: [PATCH] weechat 0.4.3 Closes Homebrew/homebrew#26556. Signed-off-by: Mike McQuaid --- Formula/weechat.rb | 34 ++-------------------------------- 1 file changed, 2 insertions(+), 32 deletions(-) diff --git a/Formula/weechat.rb b/Formula/weechat.rb index 66886d860e5..1ef28b3987f 100644 --- a/Formula/weechat.rb +++ b/Formula/weechat.rb @@ -2,8 +2,8 @@ require 'formula' class Weechat < Formula homepage 'http://www.weechat.org' - url 'http://www.weechat.net/files/src/weechat-0.4.2.tar.bz2' - sha1 '837892c8eb24b3d7de26e17e87aafe88d7da0862' + url 'http://www.weechat.net/files/src/weechat-0.4.3.tar.bz2' + sha1 'c9043ae4df8057c1410eeaf4c5c8818e97963e16' head 'git://git.savannah.nongnu.org/weechat.git' @@ -18,14 +18,6 @@ class Weechat < Formula option 'with-perl', 'Build the perl module' option 'with-ruby', 'Build the ruby module' - # cmake finds brewed python when installed, but when searching for the - # libraries it searches for system libraries first. This patch disables - # default search paths and ensures that brewed python is found first, if not - # it falls back to system python. - def patches - DATA - end - def install args = std_cmake_args + %W[ -DPREFIX=#{prefix} @@ -57,25 +49,3 @@ class Weechat < Formula EOS end end - -__END__ ---- weechat-0.4.1-original/cmake/FindPython.cmake 2013-05-20 03:06:14.000000000 -0500 -+++ weechat-0.4.1/cmake/FindPython.cmake 2013-05-23 14:24:33.000000000 -0500 -@@ -41,7 +41,8 @@ - ELSE(ENABLE_PYTHON3) - FIND_PROGRAM(PYTHON_EXECUTABLE - NAMES python2.7 python2.6 python2.5 python -- PATHS /usr/bin /usr/local/bin /usr/pkg/bin -+ PATHS HOMEBREW_PREFIX/bin /usr/bin -+ NO_DEFAULT_PATH - ) - ENDIF(ENABLE_PYTHON3) - -@@ -74,6 +75,7 @@ - FIND_LIBRARY(PYTHON_LIBRARY - NAMES python2.7 python2.6 python2.5 python - PATHS ${PYTHON_POSSIBLE_LIB_PATH} -+ NO_DEFAULT_PATH - ) - ENDIF(ENABLE_PYTHON3) -