Diff camlp4-4.13-r2 with a camlp4-4.14-r1

/usr/portage/dev-ml/camlp4/camlp4-4.14-r1.ebuild 2023-10-09 14:52:29.784368358 +0300
1 1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
MY_PV=${PV/_p/+}
7 7
MY_P=${PN}-${MY_PV}
8 8

  
9
inherit edo
10

  
9 11
DESCRIPTION="System for writing extensible parsers for programming languages"
10 12
HOMEPAGE="https://github.com/camlp4/camlp4"
11 13
SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
14
S="${WORKDIR}"/${P/_p/-}
12 15

  
13 16
LICENSE="LGPL-2-with-linking-exception"
14 17
SLOT="0/${PV}"
......
22 25

  
23 26
QA_FLAGS_IGNORED='.*'
24 27

  
25
S=${WORKDIR}/${P/_p/-}
26 28
PATCHES=( "${FILESDIR}/reload.patch" )
27 29

  
28 30
src_configure() {
29
	./configure \
31
	edo ./configure \
30 32
		--bindir="${EPREFIX}/usr/bin" \
31 33
		--libdir="$(ocamlc -where)" \
32
		--pkgdir="$(ocamlc -where)" \
33
		|| die
34
		--pkgdir="$(ocamlc -where)"
34 35
}
35 36

  
36 37
src_compile() {
37 38
	# Increase stack limit to 11GiB to avoid stack overflow error.
38 39
	ulimit -s 11530000
40

  
39 41
	emake byte
40 42
	use ocamlopt && emake native
41 43
}
Thank you!