From 4a665e7b736e2b5fd3e2d515ef7b4988623699a0 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 7 Apr 2021 03:42:10 +0100 Subject: sci-libs/mumps: prefix helper get_version_component_count with _ Avoids false positives with pkgcheck's MissingInherits. This is a helper function to emulate versionator.eclass, it's not a missing inherit. Signed-off-by: Sam James --- sci-libs/mumps/mumps-5.3.5.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sci-libs/mumps') diff --git a/sci-libs/mumps/mumps-5.3.5.ebuild b/sci-libs/mumps/mumps-5.3.5.ebuild index 75cf031e52cb..23e0f15d16a2 100644 --- a/sci-libs/mumps/mumps-5.3.5.ebuild +++ b/sci-libs/mumps/mumps-5.3.5.ebuild @@ -29,7 +29,7 @@ RDEPEND=" " DEPEND="${RDEPEND}" -get_version_component_count() { +_get_version_component_count() { local cnt=( $(ver_rs 1- ' ') ) echo ${#cnt[@]} || die } @@ -53,7 +53,7 @@ static_to_shared() { -Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive \ "$@" -o ${libdir}/${soname} || die "${soname} failed" - if [[ $(get_version_component_count) -ge 1 ]] ; then + if [[ $(_get_version_component_count) -ge 1 ]] ; then ln -s ${soname} ${libdir}/${libname}$(get_libname $(ver_cut 1)) || die fi -- cgit v1.2.3-65-gdbad