From d27e7ce775713ca07a7c5be0c83d70932aaa05ab Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 7 Jan 2019 17:30:20 +0100 Subject: [PATCH] app-misc/tkpasman: Adjusted (sub-)slot dependency on dev-libs/openssl Bumped to EAPI-7 Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Lars Wendler --- .../tkpasman/files/tkpasman-2.2a-gentoo.patch | 4 ++-- app-misc/tkpasman/tkpasman-2.2b.ebuild | 16 +++++++++------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/app-misc/tkpasman/files/tkpasman-2.2a-gentoo.patch b/app-misc/tkpasman/files/tkpasman-2.2a-gentoo.patch index d52d5129b7c7c..7fc54fe2b831b 100644 --- a/app-misc/tkpasman/files/tkpasman-2.2a-gentoo.patch +++ b/app-misc/tkpasman/files/tkpasman-2.2a-gentoo.patch @@ -1,5 +1,5 @@ ---- build.sh 2005-01-01 19:18:44.290385166 +0000 -+++ build.sh 2005-01-01 19:22:45.846161383 +0000 +--- a/build.sh ++++ b/build.sh @@ -44,8 +44,8 @@ # # Try to find wish8.3, tclsh8.3 and openssl diff --git a/app-misc/tkpasman/tkpasman-2.2b.ebuild b/app-misc/tkpasman/tkpasman-2.2b.ebuild index d731fe173f992..009b2731e9b50 100644 --- a/app-misc/tkpasman/tkpasman-2.2b.ebuild +++ b/app-misc/tkpasman/tkpasman-2.2b.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 - -inherit eutils +EAPI=7 MY_P="TkPasMan-${PV}" @@ -20,13 +18,17 @@ DEPEND=" >=dev-lang/tcl-8.3:0= >=dev-lang/tk-8.3:0=" RDEPEND="${DEPEND} - ssl? ( dev-libs/openssl ) + ssl? ( dev-libs/openssl:0= ) " -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}"/${PN}-2.2a-gentoo.patch +) src_prepare() { - epatch "${FILESDIR}"/${PN}-2.2a-gentoo.patch + default if use ssl; then sed -i "s:^USE_OPENSSL=true:USE_OPENSSL=false:g" config || die