commit: 1afc30e71af3d0a3812533ec1d41e2f2f26d9041
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 22 15:40:15 2020 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Jul 22 15:43:25 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1afc30e7
net-misc/putty: Set REQUIRED_USE, BDEPEND
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-misc/putty/putty-0.74.ebuild | 8 ++++++--
net-misc/putty/putty-9999.ebuild | 7 ++++++-
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/net-misc/putty/putty-0.74.ebuild b/net-misc/putty/putty-0.74.ebuild
index f689861f528..8ccfe4d5a53 100644
--- a/net-misc/putty/putty-0.74.ebuild
+++ b/net-misc/putty/putty-0.74.ebuild
@@ -10,12 +10,11 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 ~hppa ppc ppc64 sparc x86"
-IUSE="doc +gtk gtk2 ipv6 gssapi"
SRC_URI="
https://dev.gentoo.org/~jer/${PN}-icons.tar.bz2
https://the.earth.li/~sgtatham/${PN}/${PV}/${P}.tar.gz
"
-
+IUSE="doc +gtk gtk2 ipv6 gssapi"
RDEPEND="
!net-misc/pssh
gtk? (
@@ -30,9 +29,14 @@ RDEPEND="
"
DEPEND="
${RDEPEND}
+"
+BDEPEND="
dev-lang/perl
virtual/pkgconfig
"
+REQUIRED_USE="
+ gtk2? ( gtk )
+"
src_prepare() {
default
diff --git a/net-misc/putty/putty-9999.ebuild b/net-misc/putty/putty-9999.ebuild
index 88def03e4bf..5fd210bd12d 100644
--- a/net-misc/putty/putty-9999.ebuild
+++ b/net-misc/putty/putty-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -28,10 +28,15 @@ RDEPEND="
"
DEPEND="
${RDEPEND}
+"
+BDEPEND="
app-doc/halibut
dev-lang/perl
virtual/pkgconfig
"
+REQUIRED_USE="
+ gtk2? ( gtk )
+"
src_unpack() {
git-r3_src_unpack