summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2017-10-03 12:48:42 +0200
committerFabian Groffen <grobian@gentoo.org>2017-10-03 12:48:51 +0200
commit724d54b934f265edf09da52c9919b3529a3af013 (patch)
tree47d69bb1522eb462b4cc7face42bdc47f5c3ee12 /net-irc
parentprofiles: drop mask for removed dev-qt/qtphonon (diff)
downloadgentoo-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
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/weechat/weechat-1.9.1.ebuild5
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
}