diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-20 14:27:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-20 14:27:17 +0000 |
commit | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (patch) | |
tree | 66e860a5099bcad013f1cf667255dc372a7c11b3 /dev-lang/mlton/mlton-20180207.ebuild | |
parent | 7218e1b46bceac05841e90472501742d905fb3fc (diff) |
gentoo resync : 20.03.2021
Diffstat (limited to 'dev-lang/mlton/mlton-20180207.ebuild')
-rw-r--r-- | dev-lang/mlton/mlton-20180207.ebuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/dev-lang/mlton/mlton-20180207.ebuild b/dev-lang/mlton/mlton-20180207.ebuild index dc132ad34edc..f55bb40d5a14 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" |