From 67c2b90334f3e0309fae4880f0aa43c663c2b1ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakov=20Smoli=C4=87?= Date: Mon, 29 Nov 2021 19:59:35 +0100 Subject: [PATCH] net-dialup/pppconfig: Port to EAPI 8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/819360 Signed-off-by: Jakov Smolić --- net-dialup/pppconfig/pppconfig-2.3.21.ebuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/net-dialup/pppconfig/pppconfig-2.3.21.ebuild b/net-dialup/pppconfig/pppconfig-2.3.21.ebuild index 808ccc0a705e4..b2560f286d532 100644 --- a/net-dialup/pppconfig/pppconfig-2.3.21.ebuild +++ b/net-dialup/pppconfig/pppconfig-2.3.21.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 inherit strip-linguas @@ -14,15 +14,16 @@ LICENSE="GPL-2" KEYWORDS="amd64 ppc x86" IUSE="nls" -RDEPEND="net-dialup/ppp +RDEPEND=" + net-dialup/ppp dev-util/dialog dev-lang/perl" -DEPEND="nls? ( sys-devel/gettext )" +BDEPEND="nls? ( sys-devel/gettext )" src_prepare() { - if use nls; then - strip-linguas -i po/ - fi + default + + use nls && strip-linguas -i po/ } src_compile() {