commit: 67c2b90334f3e0309fae4880f0aa43c663c2b1ed Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> AuthorDate: Mon Nov 29 18:59:35 2021 +0000 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> CommitDate: Mon Nov 29 18:59:35 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67c2b903
net-dialup/pppconfig: Port to EAPI 8 Closes: https://bugs.gentoo.org/819360 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> 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 808ccc0a705e..b2560f286d53 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() {
