weechat: re-add inreplace "-u _PyMac_Error" flags.
this will fix Homebrew/homebrew#26610 which failed the build with error: no such file or directory: 'Python.framework/Versions/2.7/Python' Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
7c88fc21a5
commit
3b775d43ec
1 changed files with 5 additions and 0 deletions
|
@ -19,6 +19,11 @@ class Weechat < Formula
|
||||||
option 'with-ruby', 'Build the ruby module'
|
option 'with-ruby', 'Build the ruby module'
|
||||||
|
|
||||||
def install
|
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'
|
||||||
|
|
||||||
args = std_cmake_args + %W[
|
args = std_cmake_args + %W[
|
||||||
-DPREFIX=#{prefix}
|
-DPREFIX=#{prefix}
|
||||||
-DENABLE_GTK=OFF
|
-DENABLE_GTK=OFF
|
||||||
|
|
Loading…
Reference in a new issue