Сравнение findlib-1.9.3 с findlib-1.9.5

/usr/portage/dev-ml/findlib/findlib-1.9.5.ebuild 2023-10-09 14:52:29.788368358 +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
DESCRIPTION="OCaml tool to find/use non-standard packages"
7 7
HOMEPAGE="http://projects.camlcity.org/projects/findlib.html"
......
9 9

  
10 10
LICENSE="MIT"
11 11
SLOT="0"
12
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
12
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
13 13
IUSE="doc +ocamlopt tk"
14 14

  
15 15
DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?]
......
58 58
}
59 59

  
60 60
check_stublibs() {
61
	local ocaml_stdlib=`ocamlc -where`
61
	local ocaml_stdlib=$(ocamlc -where)
62 62
	local ldconf="${ocaml_stdlib}/ld.conf"
63 63

  
64
	if [ ! -e ${ldconf} ]
65
	then
66
		echo "${ocaml_stdlib}" > ${ldconf}
67
		echo "${ocaml_stdlib}/stublibs" >> ${ldconf}
64
	if [[ ! -e ${ldconf} ]] ; then
65
		echo "${ocaml_stdlib}" > ${ldconf} || die
66
		echo "${ocaml_stdlib}/stublibs" >> ${ldconf} || die
68 67
	fi
69 68

  
70
	if [ -z `grep -e ${stublibs} ${ldconf}` ]
71
	then
72
		echo ${stublibs} >> ${ldconf}
69
	if ! grep -qe ${stublibs} ${ldconf} ; then
70
		echo ${stublibs} >> ${ldconf} || die
73 71
	fi
74 72
}
75 73

  
Спасибо!