[Bug 260960] lang/guile1: lang/guile2: support concurrent installations

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 05 Jan 2022 18:29:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260960

            Bug ID: 260960
           Summary: lang/guile1: lang/guile2: support concurrent
                    installations
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: m.ne@gmx.net
                CC: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)
          Assignee: bofh@freebsd.org
                CC: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)

Created attachment 230741
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=230741&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.