diff options
author | Fabian Groffen <grobian@gentoo.org> | 2017-10-03 12:48:42 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2017-10-03 12:48:51 +0200 |
commit | 724d54b934f265edf09da52c9919b3529a3af013 (patch) | |
tree | 47d69bb1522eb462b4cc7face42bdc47f5c3ee12 | |
parent | profiles: drop mask for removed dev-qt/qtphonon (diff) | |
download | gentoo-724d54b934f265edf09da52c9919b3529a3af013.tar.gz gentoo-724d54b934f265edf09da52c9919b3529a3af013.tar.bz2 gentoo-724d54b934f265edf09da52c9919b3529a3af013.zip |
net-irc/weechat: allow finding plugins by default on Darwin
Package-Manager: Portage-2.3.8, Repoman-2.3.1
-rw-r--r-- | net-irc/weechat/weechat-1.9.1.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net-irc/weechat/weechat-1.9.1.ebuild b/net-irc/weechat/weechat-1.9.1.ebuild index 666fe3804e74..0597605d4a5e 100644 --- a/net-irc/weechat/weechat-1.9.1.ebuild +++ b/net-irc/weechat/weechat-1.9.1.ebuild @@ -96,10 +96,13 @@ 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 + # fix linking error on Darwin sed -i "s/+ get_config_var('LINKFORSHARED')//" \ cmake/FindPython.cmake || die + # allow to find the plugins by default + sed -i 's/".so,.dll"/".bundle,.so,.dll"/' \ + src/core/wee-config.c || die fi } |