kiss: Workaround -bin/-esr packages in fixdeps().

Not ideal of course. This does however fix the issue. A proper fix
will come shortly.
This commit is contained in:
Dylan Araps 2020-06-03 19:22:55 +03:00
parent b07a418ab8
commit b671d44a5d
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

8
kiss
View File

@ -498,9 +498,13 @@ pkg_fixdeps() {
dep=$(grep -lFx "${PWD#"$KISS_ROOT"}/${dep##*/}" "$@")
dep=${dep%/*} dep=${dep##*/}
# Skip listing these packages as dependencies.
case $dep in
musl|gcc|llvm|"${pkg_name%%-bin}"|"${pkg_name%%-esr}"|"") ;;
# Skip listing these packages as dependencies.
# The pkg_name portions are to workaround incorrect detections
# from -bin or -esr packages.
""|musl|gcc|llvm|"${pkg_name%%-bin}"|\
"${pkg_name%%-esr}"|"${pkg_name%%-esr-bin}") ;;
*) printf '%s\n' "$dep"
esac
done ||: