commit:     7299b1a2dd358cad83c6f53c6a946f1cee4f3971
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 19 18:44:30 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 19 19:12:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7299b1a2

mail-client/mailx-support: port to EAPI 7

Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-client/mailx-support/mailx-support-20060102-r2.ebuild | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/mail-client/mailx-support/mailx-support-20060102-r2.ebuild 
b/mail-client/mailx-support/mailx-support-20060102-r2.ebuild
index 5e8b0a37777..590ef932c74 100644
--- a/mail-client/mailx-support/mailx-support-20060102-r2.ebuild
+++ b/mail-client/mailx-support/mailx-support-20060102-r2.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=7
 
-inherit epatch toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Provides lockspool utility"
 HOMEPAGE="http://www.openbsd.org/";
@@ -12,14 +12,14 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
-IUSE=""
 
-RDEPEND=""
-DEPEND=""
+PATCHES=(
+       "${FILESDIR}"/${P}-respect-ldflags.patch
+       "${FILESDIR}"/${P}-add-sys_file_h.patch
+)
 
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-respect-ldflags.patch
-       epatch "${FILESDIR}"/${P}-add-sys_file_h.patch
+       default
 
        # This code should only be ran with Gentoo Prefix profiles
        if use prefix; then

Reply via email to