Diff camlp5-7.12 with a camlp5-7.13

/usr/portage/dev-ml/camlp5/camlp5-7.13.ebuild 2023-10-09 14:52:29.784368358 +0300
16 16
IUSE="doc +ocamlopt"
17 17

  
18 18
DEPEND="
19
	<dev-lang/ocaml-4.11.2:=[ocamlopt?]
19
	<dev-lang/ocaml-4.10.2:=[ocamlopt?]
20 20
"
21 21
RDEPEND="${DEPEND}"
22 22

  
23 23
PATCHES=( "${FILESDIR}/${PN}-7.12-destdir.patch" )
24 24

  
25
camlp5_hack_ocaml_support() {
26
	ln -s "${1}"    "ocaml_stuff/${2}"              || die
27
	ln -s "${1}.ml" "ocaml_src/lib/versdep/${2}.ml" || die
28
}
29

  
30 25
src_prepare() {
31 26
	egit_clean
32 27
	default
33
	camlp5_hack_ocaml_support 4.11.0 4.11.1
34 28
}
35 29

  
36 30
src_configure() {
......
45 39
src_compile() {
46 40
	emake out
47 41
	if use ocamlopt; then
48
		emake  opt
49
		emake  opt.opt
42
		emake opt
43
		emake opt.opt
50 44
	fi
51 45
}
52 46

  
53 47
src_install() {
54
	emake DESTDIR="${D}" install
48
	emake DESTDIR="${ED}" install
55 49
	# findlib support
56 50
	insinto "$(ocamlfind printconf destdir)/${PN}"
57 51
	doins etc/META
Thank you!