[Bug 289408] Every vim port flavor links against wayland under the hood

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289408

            Bug ID: 289408
           Summary: Every vim port flavor links against wayland under the
                    hood
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
                CC: [email protected]

Created attachment 263644
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=263644&action=edit
Patch that disables Wayland in certain flavors

If the wayland port is installed (graphics/wayland) each and every editors/vim
flavor will links against its client library (libwayland-client.so.0). This is
true even for default "console" flavor and "tiny" one.

The dependency between packages is not registered, since it's not declared 
within the port, but it is detected by pkg shared libraries code.

Steps to reproduce:
1. either build and install graphics/wayland port or wayland package
2. cd ${PORTSDIR}/editors/vim && make FLAVOR=tiny install
3. ldd /usr/local/bin/vim
4. pkg info -xr wayland
5. pkg info -xd vim

The attached patch addresses the issue by adding --without-wayland call
to CONFIGURE_ARGS for flavors where --without-x applies plus those graphic 
oness, which selection by sysop suggests they are seeking to reduce 
dependencies (DWIM and POLA principles), finally to gtk2 flavor, which 
does not support Wayland as a toolkit.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.