Install each bison with different symlinks

This commit is contained in:
Samuel Tyler 2025-12-21 22:04:44 +11:00
parent 6a77c8f426
commit 1ba9c80a3b
No known key found for this signature in database
GPG key ID: EB5091A5C77E8DC4
8 changed files with 33 additions and 12 deletions

View file

@ -35,7 +35,9 @@ src_prepare() {
src_configure() {
./configure --prefix="${PREFIX}" \
--libdir="${LIBDIR}" \
--disable-nls
--disable-nls \
--program-suffix=-3.6 \
--datarootdir="${PREFIX}/share/bison-3.6"
}
src_compile() {
@ -44,4 +46,6 @@ src_compile() {
src_install() {
make MAKEINFO=true DESTDIR="${DESTDIR}" install
ln -s bison-3.6 "${DESTDIR}${PREFIX}/bin/bison"
}