From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7296B138335 for ; Fri, 13 Dec 2019 23:31:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FF05E0917; Fri, 13 Dec 2019 23:31:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F21C5E08DB for ; Fri, 13 Dec 2019 23:31:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7E01D34D814 for ; Fri, 13 Dec 2019 23:31:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 26D378B1 for ; Fri, 13 Dec 2019 23:31:46 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1576279840.8d541f597773ba09ab9c1b9770b9717266b65180.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/weechat/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/weechat/weechat-2.7.ebuild X-VCS-Directories: net-irc/weechat/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 8d541f597773ba09ab9c1b9770b9717266b65180 X-VCS-Branch: master Date: Fri, 13 Dec 2019 23:31:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 78038416-de8d-4eb2-8c45-afcdb8a63baa X-Archives-Hash: f5c87849d4ae881276f2787df5472657 commit: 8d541f597773ba09ab9c1b9770b9717266b65180 Author: Georgy Yakovlev gentoo org> AuthorDate: Fri Dec 13 23:30:40 2019 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Fri Dec 13 23:30:40 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d541f59 net-irc/weechat: fix build with python2 Closes: https://bugs.gentoo.org/702706 Package-Manager: Portage-2.3.79, Repoman-2.3.17 Signed-off-by: Georgy Yakovlev gentoo.org> net-irc/weechat/weechat-2.7.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/net-irc/weechat/weechat-2.7.ebuild b/net-irc/weechat/weechat-2.7.ebuild index f7a938e7645..545aee9eafe 100644 --- a/net-irc/weechat/weechat-2.7.ebuild +++ b/net-irc/weechat/weechat-2.7.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 }