diff options
author | Sam James <sam@gentoo.org> | 2022-12-03 03:52:14 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-12-03 03:53:28 +0000 |
commit | 3465091539af22c037e3c910c3acf84d889e49fd (patch) | |
tree | 889655a6e4d096053d4c85d642ff663364c2acb9 /app-alternatives | |
parent | app-alternatives/yacc: use YACC=yacc.bison, not YACC=bison (diff) | |
download | gentoo-3465091539af22c037e3c910c3acf84d889e49fd.tar.gz gentoo-3465091539af22c037e3c910c3acf84d889e49fd.tar.bz2 gentoo-3465091539af22c037e3c910c3acf84d889e49fd.zip |
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@gentoo.org>
Diffstat (limited to 'app-alternatives')
-rw-r--r-- | app-alternatives/yacc/yacc-1-r2.ebuild (renamed from app-alternatives/yacc/yacc-1-r1.ebuild) | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/app-alternatives/yacc/yacc-1-r1.ebuild b/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" |