-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Updates weechat to 0.4.1 and fixes python support #20025
Conversation
FIND_PROGRAM(PYTHON_EXECUTABLE | ||
NAMES python2.7 python2.6 python2.5 python | ||
- PATHS /usr/bin /usr/local/bin /usr/pkg/bin | ||
+ PATHS /usr/local/bin /usr/bin /usr/pkg/bin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't accommodate non-/usr/local installs of Homebrew. Perhaps you can add in something like @@HOMEBREW_PREFIX@@ in the first entry that can be updated via inreplace in the install method?
i'll update things appropriately |
The HOMEBREW_PREFIX string still needs to get expanded into the real string somewhere. Since the patch is in the Can you add an |
The line that adamv referenced in patches.rb#L137 does the substitution in the DATA/END block. I've verified it with install --interactive, the file is patched correctly. |
Pulled, thanks! |
This doesn't appear to fix anything for me Python-wise, I get the same compilation error. Is it working for someone? |
@Julian which compilation error are you referring to? |
Sorry, my mistake. The ones which I thought were in one of those two tickets, where weechat was failing to link properly against homebrewed Python: It looks like both of those tickets were referring to the stdlib issues though, apologies, this wasn't meant to address the linking issues then, is that someplace else that you saw, it was being discussed on IRC but maybe no one filed a ticket for it.
|
* fixes CMake Python detection Fixes Homebrew#19168. Closes Homebrew#20025. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This patch upgrades weechat to 0.4.1 as well as fixing the cmake issues that lead to python errors as reported in #19300 and #19168.
Basically cmake is searching a cmake defined list of paths as well as the ones that weechat's cmake scripts define. This is leading to both system and brewed versions of python being picked up together.