commit:     c9b5c10cc8dceeb1053ea6309098d5961df4b70b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 16 18:43:32 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 16 19:22:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9b5c10c

dev-lang/mlton: port to EAPI 7

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

 dev-lang/mlton/mlton-20180207.ebuild | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/dev-lang/mlton/mlton-20180207.ebuild 
b/dev-lang/mlton/mlton-20180207.ebuild
index dc132ad34ed..f55bb40d5a1 100644
--- a/dev-lang/mlton/mlton-20180207.ebuild
+++ b/dev-lang/mlton/mlton-20180207.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit check-reqs eutils multibuild pax-utils
+inherit check-reqs multibuild pax-utils
 
 DESCRIPTION="Standard ML optimizing compiler and libraries"
 BASE_URI="mirror://sourceforge/${PN}"
@@ -147,12 +147,15 @@ mlton_create_bin_stubs() {
 src_prepare() {
        if ! use binary; then
                # For Gentoo hardened: paxmark the mlton-compiler, mllex and 
mlyacc executables
-               epatch "${FILESDIR}/${PN}-20180207-paxmark.patch"
+               eapply "${FILESDIR}/${PN}-20180207-paxmark.patch"
                # Fix the bootstrap-smlnj and bootstrap-polyml Makefile targets
-               epatch "${FILESDIR}/${PN}-20180207-bootstrap.patch"
+               eapply "${FILESDIR}/${PN}-20180207-bootstrap.patch"
        fi
+
        default
+
        $(mlton_create_bin_stubs)
+
        if use binary; then
                pax-mark m "${R}/lib/${PN}/mlton-compile"
                pax-mark m "${R}/bin/mllex"

Reply via email to