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): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=246d53d0ea28e680beed6dba9823a119b1ee349b commit 246d53d0ea28e680beed6dba9823a119b1ee349b Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2020-10-15 22:25:36 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2020-10-15 22:29:23 +0000 media-gfx/xsane: Make lcms2 patch POSIX sh compliant Thanks-to: Nico R. <n-roeser@gmx.net> Closes: https://bugs.gentoo.org/723516 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> media-gfx/xsane/files/xsane-0.999-lcms2.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)