summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-12-13 15:31:10 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-12-13 15:31:10 -0800
commit31844467ba2285c252928e7cc6f95ae219ac0b09 (patch)
treed3c8596bdcd3c20c34d0c048200e65ab44f013c5 /net-irc/weechat
parentnet-irc/weechat: fix build with python2 (diff)
downloadgentoo-31844467ba2285c252928e7cc6f95ae219ac0b09.tar.gz
gentoo-31844467ba2285c252928e7cc6f95ae219ac0b09.tar.bz2
gentoo-31844467ba2285c252928e7cc6f95ae219ac0b09.zip
net-irc/weechat: sync live ebuild
Package-Manager: Portage-2.3.79, Repoman-2.3.17 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'net-irc/weechat')
-rw-r--r--net-irc/weechat/weechat-9999.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-irc/weechat/weechat-9999.ebuild b/net-irc/weechat/weechat-9999.ebuild
index f7a938e7645d..545aee9eafe2 100644
--- a/net-irc/weechat/weechat-9999.ebuild
+++ b/net-irc/weechat/weechat-9999.ebuild
@@ -51,6 +51,7 @@ DEPEND="${RDEPEND}
"
BDEPEND="
+ virtual/pkgconfig
doc? ( >=dev-ruby/asciidoctor-1.5.4 )
man? ( >=dev-ruby/asciidoctor-1.5.4 )
nls? ( >=sys-devel/gettext-0.15 )
@@ -135,6 +136,10 @@ src_configure() {
-DENABLE_XFER=$(usex xfer)
)
+ if use python; then
+ python_is_python3 || mycmakeargs+=( -DENABLE_PYTHON2=ON )
+ fi
+
cmake-utils_src_configure
}