projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2310a6
)
net-irc/weechat: fix linking for Darwin
author
Fabian Groffen
<grobian@gentoo.org>
Tue, 3 Oct 2017 09:38:44 +0000
(11:38 +0200)
committer
Fabian Groffen
<grobian@gentoo.org>
Tue, 3 Oct 2017 09:40:47 +0000
(11:40 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.1
net-irc/weechat/weechat-1.9.1.ebuild
patch
|
blob
|
history
diff --git
a/net-irc/weechat/weechat-1.9.1.ebuild
b/net-irc/weechat/weechat-1.9.1.ebuild
index f1e007217342c354187982ebb0b519204cf9b4d9..ef5794c611e52e25d7d83fdbe1e520ef43923952 100644
(file)
--- 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() {