summaryrefslogtreecommitdiff
path: root/eclass/findlib.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /eclass/findlib.eclass
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'eclass/findlib.eclass')
-rw-r--r--eclass/findlib.eclass13
1 files changed, 6 insertions, 7 deletions
diff --git a/eclass/findlib.eclass b/eclass/findlib.eclass
index 0e37e2ecfa0f..8eaaccd0ec96 100644
--- a/eclass/findlib.eclass
+++ b/eclass/findlib.eclass
@@ -10,19 +10,18 @@
# @DESCRIPTION:
# ocamlfind (a.k.a. findlib) eclass
-# Do not complain about CFLAGS etc since ml projects do not use them.
+# Do not complain about CFLAGS etc since ML projects do not use them.
QA_FLAGS_IGNORED='.*'
-# From this findlib version there is proper stublibs support.
+# From this findlib version, there is proper stublibs support.
DEPEND=">=dev-ml/findlib-1.0.4-r1"
[[ ${FINDLIB_USE} ]] && DEPEND="${FINDLIB_USE}? ( ${DEPEND} )"
check_ocamlfind() {
- if [ ! -x "${EPREFIX}"/usr/bin/ocamlfind ]
- then
- eerror "In findlib.eclass: could not find the ocamlfind executable"
- eerror "Please report this bug on gentoo's bugzilla, assigning to ml@gentoo.org"
- die "ocamlfind executabled not found"
+ if [ ! -x "${EPREFIX}"/usr/bin/ocamlfind ] ; then
+ eerror "In ${ECLASS}: could not find the ocamlfind executable"
+ eerror "Please report this bug on Gentoo's Bugzilla, assigning to ml@gentoo.org"
+ die "ocamlfind executable not found"
fi
}