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 9E593138350 for ; Tue, 10 Mar 2020 21:38:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3213E0829; Tue, 10 Mar 2020 21:38:13 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 8799CE0829 for ; Tue, 10 Mar 2020 21:38:13 +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 5ABCB34F1D5 for ; Tue, 10 Mar 2020 21:38:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7BCDF71 for ; Tue, 10 Mar 2020 21:38:09 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1583876273.9dc3663a2ba8a9a84fa283d166e91a249ab65d2b.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/alt-ergo/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/alt-ergo/alt-ergo-2.3.0.ebuild X-VCS-Directories: sci-mathematics/alt-ergo/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 9dc3663a2ba8a9a84fa283d166e91a249ab65d2b X-VCS-Branch: master Date: Tue, 10 Mar 2020 21:38:09 +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: 4a5e771b-c677-4801-aab2-ea2add884526 X-Archives-Hash: 7041467c28d90f51ebdd1377b17941aa commit: 9dc3663a2ba8a9a84fa283d166e91a249ab65d2b Author: Tupone Alfredo gentoo org> AuthorDate: Tue Mar 10 21:37:53 2020 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Tue Mar 10 21:37:53 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dc3663a sci-mathematics/alt-ergo: fix build with ocaml-4.09 Closes: https://bugs.gentoo.org/712032 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alfredo Tupone gentoo.org> sci-mathematics/alt-ergo/alt-ergo-2.3.0.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/alt-ergo/alt-ergo-2.3.0.ebuild b/sci-mathematics/alt-ergo/alt-ergo-2.3.0.ebuild index 6dc8404508d..2f9029c56d0 100644 --- a/sci-mathematics/alt-ergo/alt-ergo-2.3.0.ebuild +++ b/sci-mathematics/alt-ergo/alt-ergo-2.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SLOT="0" KEYWORDS="amd64" IUSE="examples gtk +ocamlopt" -DEPEND=">=dev-lang/ocaml-3.12.1[ocamlopt?] +DEPEND=">=dev-lang/ocaml-4.09.0[ocamlopt?] dev-ml/zarith gtk? ( >=dev-ml/lablgtk-2.14[sourceview,ocamlopt?] ) dev-ml/camlzip @@ -25,6 +25,11 @@ RDEPEND="${DEPEND}" DOCS=( CHANGES INSTALL.md README.md ) +src_prepare() { + default + find "${S}" -name \*.ml | xargs sed -i "s:Pervasives:Stdlib:g" || die +} + src_configure() { ./configure --prefix /usr --libdir=/usr/$(get_libdir) }