summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2017-10-03 11:38:44 +0200
committerFabian Groffen <grobian@gentoo.org>2017-10-03 11:40:47 +0200
commit3be730a25626ff2d3da346a139aaa566768fd6c3 (patch)
tree9cc716db6405e7bd8727d55c7757f931134241f4 /net-irc
parentapp-admin/keepassxc: Bump to version 2.2.1 (diff)
downloadgentoo-3be730a25626ff2d3da346a139aaa566768fd6c3.tar.gz
gentoo-3be730a25626ff2d3da346a139aaa566768fd6c3.tar.bz2
gentoo-3be730a25626ff2d3da346a139aaa566768fd6c3.zip
net-irc/weechat: fix linking for 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.ebuild6
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() {