From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4B14313835B for ; Tue, 16 Mar 2021 19:23:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B210E086A; Tue, 16 Mar 2021 19:23:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5357AE086A for ; Tue, 16 Mar 2021 19:23:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B6431340EAD for ; Tue, 16 Mar 2021 19:23:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0ADFD5CF for ; Tue, 16 Mar 2021 19:23:12 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1615922552.c9b5c10cc8dceeb1053ea6309098d5961df4b70b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/mlton/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/mlton/mlton-20180207.ebuild X-VCS-Directories: dev-lang/mlton/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c9b5c10cc8dceeb1053ea6309098d5961df4b70b X-VCS-Branch: master Date: Tue, 16 Mar 2021 19:23:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9c2b9f3f-0ded-4cde-a265-f41b730ceb03 X-Archives-Hash: 4abc28332adbf2e9e72ae05333b25309 commit: c9b5c10cc8dceeb1053ea6309098d5961df4b70b Author: Sam James gentoo org> AuthorDate: Tue Mar 16 18:43:32 2021 +0000 Commit: Sam James gentoo 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 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"