From 40ad26130cff797a99e520feccce0c9a66722dbf Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 15 Oct 2021 04:55:31 +0100 Subject: dev-ml/uunf: fix build Closes: https://bugs.gentoo.org/798270 Signed-off-by: Sam James --- dev-ml/uunf/uunf-13.0.0-r1.ebuild | 31 +++++++++++++++++++++++++++++++ dev-ml/uunf/uunf-13.0.0.ebuild | 27 --------------------------- 2 files changed, 31 insertions(+), 27 deletions(-) create mode 100644 dev-ml/uunf/uunf-13.0.0-r1.ebuild delete mode 100644 dev-ml/uunf/uunf-13.0.0.ebuild (limited to 'dev-ml/uunf') diff --git a/dev-ml/uunf/uunf-13.0.0-r1.ebuild b/dev-ml/uunf/uunf-13.0.0-r1.ebuild new file mode 100644 index 000000000000..bc1af4246d94 --- /dev/null +++ b/dev-ml/uunf/uunf-13.0.0-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit opam + +DESCRIPTION="Unicode text normalization" +HOMEPAGE="https://erratique.ch/software/uunf https://github.com/dbuenzli/uunf" +SRC_URI="https://erratique.ch/software/uunf/releases/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="dev-ml/topkg:= + dev-ml/uutf:= + dev-ml/cmdliner:=" +RDEPEND="${DEPEND}" +BDEPEND="dev-ml/findlib" +OPAM_FILE=opam + +src_compile() { + # Increase stack limit to 11GiB to avoid stack overflow error. + # bug #798270 + ulimit -s 11530000 + + ocaml pkg/pkg.ml build \ + || die +} diff --git a/dev-ml/uunf/uunf-13.0.0.ebuild b/dev-ml/uunf/uunf-13.0.0.ebuild deleted file mode 100644 index d34bf31c1772..000000000000 --- a/dev-ml/uunf/uunf-13.0.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2019-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit opam - -DESCRIPTION="Unicode text normalization" -HOMEPAGE="https://erratique.ch/software/uunf https://github.com/dbuenzli/uunf" -SRC_URI="https://erratique.ch/software/uunf/releases/${P}.tbz" - -LICENSE="ISC" -SLOT="0/${PV}" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="dev-ml/topkg - dev-ml/uutf - dev-ml/cmdliner" -RDEPEND="${DEPEND}" -BDEPEND="dev-ml/findlib" -OPAM_FILE=opam - -src_compile() { - ocaml pkg/pkg.ml build \ - || die -} -- cgit v1.2.3-65-gdbad