In the media-gfx/sane-backends-1.0.27-r2.ebuild a comment was added after the line BACKENDS="${BACKENDS}" \ Note the trailing slash! Due to this "comment", the assignment becomes separated from the subsequent econf call which has the effect that the BACKENDS variable (and several others from the lines before which all end in backslashes) are not exported.
This problem was introduced in this commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4a4aa9c04d755547aa82b881499fd7a6172bfc9 commit b4a4aa9c04d755547aa82b881499fd7a6172bfc9 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2018-10-20 15:11:29 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2018-10-20 16:35:31 +0000 media-gfx/sane-backends: Fixes from Fedora and Debian... They fix an important bug with Samsung devices not being properly recognized and noises in some devices. We also start disabling locking as all the other distributions and stop trying to randomly generate extra documentation files that are not really needed and add a lot of hidden dependencies tend to break in several ways.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7547bfd2bf25f36c62e3c99c05c8ac7cb6ca5f36 commit 7547bfd2bf25f36c62e3c99c05c8ac7cb6ca5f36 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2019-02-16 08:54:57 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2019-02-16 08:55:36 +0000 media-gfx/sane-backends: Fix position of the comments Closes: https://bugs.gentoo.org/677602 Package-Manager: Portage-2.3.58, Repoman-2.3.12 RepoMan-Options: --force Signed-off-by: Pacho Ramos <pacho@gentoo.org> ...e-backends-1.0.27-r2.ebuild => sane-backends-1.0.27-r3.ebuild} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)