diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-01-02 15:26:23 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-01-02 15:26:23 +0100 |
commit | 3cfa87436e51cd873c1c222212db8eb794d49288 (patch) | |
tree | 19e21ca63c16fb8c4a1dd36845a4523be0c1a408 /net-dialup/kpnadsl4linux/kpnadsl4linux-1.11.ebuild | |
parent | net-misc/owncloud-client: 2.7.4.2934 bump (diff) | |
download | gentoo-3cfa87436e51cd873c1c222212db8eb794d49288.tar.gz gentoo-3cfa87436e51cd873c1c222212db8eb794d49288.tar.bz2 gentoo-3cfa87436e51cd873c1c222212db8eb794d49288.zip |
net-dialup/kpnadsl4linux: Port to EAPI 7
Closes: https://github.com/gentoo/gentoo/pull/18908
Closes: https://bugs.gentoo.org/670402
Closes: https://bugs.gentoo.org/707276
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-dialup/kpnadsl4linux/kpnadsl4linux-1.11.ebuild')
-rw-r--r-- | net-dialup/kpnadsl4linux/kpnadsl4linux-1.11.ebuild | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/net-dialup/kpnadsl4linux/kpnadsl4linux-1.11.ebuild b/net-dialup/kpnadsl4linux/kpnadsl4linux-1.11.ebuild index 658aea979dcf..1236eaed5a29 100644 --- a/net-dialup/kpnadsl4linux/kpnadsl4linux-1.11.ebuild +++ b/net-dialup/kpnadsl4linux/kpnadsl4linux-1.11.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2021 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit eutils toolchain-funcs +inherit toolchain-funcs DESCRIPTION="ADSL4Linux, a PPTP start/stop/etc. program especially for Dutch users" HOMEPAGE="http://www.adsl4linux.nl/" @@ -14,18 +14,21 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc ppc64 x86" -RDEPEND=">=net-dialup/pptpclient-1.7.0 - >=net-dialup/ppp-2.4.2" +RDEPEND=" + net-dialup/ppp + net-dialup/pptpclient" + +PATCHES=( + "${FILESDIR}"/${P}-Makefile.patch + "${FILESDIR}"/${P}-fno-common.patch +) src_prepare() { - # Respect CC, CFLAGS and LDFLAGS. Bug #336109 - epatch "${FILESDIR}/${P}-Makefile.patch" tc-export CC + default - # Fix a typo - sed -i -e 's:* at first:/\0:' adslstatus.c || die 'sed on adslstatuc.c failed' - - epatch_user + sed -i -e 's:* at first:/\0:' adslstatus.c || die + sed -i -e 's/runscript/openrc-run/g' init.d.adsl || die } src_install() { |