mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
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 <tupone@gentoo.org>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user