commit: 3465091539af22c037e3c910c3acf84d889e49fd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 3 03:52:14 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 3 03:53:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34650915
app-alternatives/yacc: don't set YACC for Bison for now
Leaving this for now to be safe, as it's closer to pre-alternatives
status quo to leave it unset and let autoconf probe for Bison by itself
as it prefers it anyway, and might be a CPP-like situation wrt
calling bison or bison -y if YACC is set.
Thanks to Ionen again.
See: 8d975a71210fb429ace5a8fd5e2d8dcbd52b4339
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-alternatives/yacc/{yacc-1-r1.ebuild => yacc-1-r2.ebuild} | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/app-alternatives/yacc/yacc-1-r1.ebuild
b/app-alternatives/yacc/yacc-1-r2.ebuild
similarity index 80%
rename from app-alternatives/yacc/yacc-1-r1.ebuild
rename to app-alternatives/yacc/yacc-1-r2.ebuild
index 0d4632e1a05a..e748c4e0ab73 100644
--- a/app-alternatives/yacc/yacc-1-r1.ebuild
+++ b/app-alternatives/yacc/yacc-1-r2.ebuild
@@ -29,9 +29,13 @@ src_install() {
dosym yacc.bison /usr/bin/yacc
newman - yacc.1 <<<".so yacc.bison.1"
- newenvd - 90yacc <<-EOF
- YACC=yacc.bison
- EOF
+ # Leaving this for now to be safe, as it's closer to
pre-alternatives
+ # status quo to leave it unset and let autoconf probe for Bison
by itself
+ # as it prefers it anyway, and might be a CPP-like situation wrt
+ # calling bison or bison -y if YACC is set.
+ #newenvd - 90yacc <<-EOF
+ # YACC=yacc.bison
+ #EOF
elif use byacc; then
dosym byacc /usr/bin/yacc
newman - yacc.1 <<<".so byacc.1"