summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-07 03:42:10 +0100
committerSam James <sam@gentoo.org>2021-04-07 06:24:25 +0100
commit4a665e7b736e2b5fd3e2d515ef7b4988623699a0 (patch)
tree85a8904f983aa0be03c50c1a0289e8812916665c /sci-libs/mumps
parentsci-libs/mumps: add multilib inherit for get_libname (diff)
downloadgentoo-4a665e7b736e2b5fd3e2d515ef7b4988623699a0.tar.gz
gentoo-4a665e7b736e2b5fd3e2d515ef7b4988623699a0.tar.bz2
gentoo-4a665e7b736e2b5fd3e2d515ef7b4988623699a0.zip
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 <sam@gentoo.org>
Diffstat (limited to 'sci-libs/mumps')
-rw-r--r--sci-libs/mumps/mumps-5.3.5.ebuild4
1 files changed, 2 insertions, 2 deletions
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