If you have /bin/bash -> dash, media-gfx/xsane-0.999-r2 cannot be built. Reason is that lcms2 is now the only media-libs/lcms version in the tree, and the test for it fails.
The patch ($FILESDIR/xsane-0.999-lcms2.patch) looks good, but needs a tiny adjustment: s/==/=/ in the test expressions in configure.in.
With this change, media-gfx/xsane-0.999-r2 installs fine for me.
The bug has been closed via the following commit(s):
Author: Lars Wendler <firstname.lastname@example.org>
AuthorDate: 2020-10-15 22:25:36 +0000
Commit: Lars Wendler <email@example.com>
CommitDate: 2020-10-15 22:29:23 +0000
media-gfx/xsane: Make lcms2 patch POSIX sh compliant
Thanks-to: Nico R. <firstname.lastname@example.org>
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Lars Wendler <email@example.com>
media-gfx/xsane/files/xsane-0.999-lcms2.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)