diff options
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/weechat/weechat-1.9.1.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net-irc/weechat/weechat-1.9.1.ebuild b/net-irc/weechat/weechat-1.9.1.ebuild index f1e007217342..ef5794c611e5 100644 --- a/net-irc/weechat/weechat-1.9.1.ebuild +++ b/net-irc/weechat/weechat-1.9.1.ebuild @@ -95,6 +95,12 @@ src_prepare() { # install docs in correct directory sed -i "s#\${SHAREDIR}/doc/\${PROJECT_NAME}#\0-${PV}/html#" doc/*/CMakeLists.txt || die + + # fix linking error on Darwin + if [[ ${CHOST} == *-darwin* ]]; then + sed -i "s/+ get_config_var('LINKFORSHARED')//" \ + cmake/FindPython.cmake || die + fi } src_configure() { |