Created attachment 230741 [details] patch for guile1 and guile2 to coexist There was some discussion[1] recently about the inability to install the lilypond package together with other software requiring guile2. I used this occasion to explore the work needed to enable concurrent installations. Attached is the result of my efforts so far. Some notes: - I haven't done anything with lang/guile yet, but there might be no conflict any longer with the patch applied. - It might be preferable to only use the first part of the version number as program suffix. I just went for the first two because those were used already for the pkg-plist substitutions. - The treatment of guile.m4 admittedly is a little hamfisted, but I wanted to have a demonstrable patch without spending much time digging through the build system. - Before submitting there might be some work needed for the various consumers to pick the correct version if another is present as well. I already included changes for print/lilypond{,-devel}. [1]: https://lists.gnu.org/archive/html/lilypond-user/2021-12/msg00277.html
Currently we also have lang/guile so I will need some times to check this. This might break lots of stuffs.
(In reply to Muhammad Moinur Rahman from comment #1) Thanks for looking into it. If you need help with checking/updating the dependent ports feel free to let me know. I should be able to put some time into this task. My main reason for only changing the ports present in the submitted patch was to ensure the approach chosen is acceptable before putting too much effort in. That said, even though I'd prefer having this done rather sooner than later, objectively it's not particularly urgent. After all there never was support for multiple installed guile versions (although, arguably, there probably should have been.)