commit:     5d625775a8d03535e7eea28b56eff54f7a63ebb5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  2 22:33:12 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec  2 22:34:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d625775

sys-devel/bc: explicitly set LEX=flex

We already BDEPEND on flex.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/bc/bc-1.07.1-r6.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys-devel/bc/bc-1.07.1-r6.ebuild b/sys-devel/bc/bc-1.07.1-r6.ebuild
index 83e40a7d2488..175d05638d79 100644
--- a/sys-devel/bc/bc-1.07.1-r6.ebuild
+++ b/sys-devel/bc/bc-1.07.1-r6.ebuild
@@ -57,6 +57,10 @@ src_configure() {
        # who knows when they'll make another release.
        append-lfs-flags
 
+       # configure dies with other lexes:
+       # "configure: error: readline works only with flex."
+       export LEX=flex
+
        econf "${myconf[@]}"
 
        # Do not regen docs -- configure produces a small fragment that includes

Reply via email to