sci-calculators/orpie: build with ocaml-5

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2025-03-25 18:45:07 +01:00
parent 85c158512f
commit fc514e7d8e
2 changed files with 15 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
--- a/src/orpie/dune 2025-03-25 18:41:09.216073326 +0100
+++ b/src/orpie/dune 2025-03-25 18:41:31.391799451 +0100
@@ -5,7 +5,7 @@
(action
(system "camlp5o %{input-file}")))
(flags (:standard -w -27-35-52 -thread))
- (libraries curses gsl num str threads))
+ (libraries curses gsl num str threads camlp-streams))
; Use orpie.opam as the authoritative source of version number

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -9,6 +9,8 @@ DESCRIPTION="A fullscreen RPN calculator for the console"
HOMEPAGE="http://pessimization.com/software/orpie/"
SRC_URI="https://github.com/pelzlpj/${PN}/archive/release-${PV}.tar.gz"
S="${WORKDIR}"/${PN}-release-${PV}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
@@ -20,11 +22,10 @@ DEPEND="dev-ml/gsl-ocaml:=
dev-ml/camlp5":=
RDEPEND="${DEPEND}"
S="${WORKDIR}"/${PN}-release-${PV}
PATCHES=(
"${FILESDIR}"/${P}-orpierc.patch
"${FILESDIR}"/${P}-rcfile.patch
"${FILESDIR}"/${P}-ocaml5.patch
)
src_compile() {