[Bug 289408] Every vim port flavor links against wayland under the hood
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 289408] Every vim port flavor links against wayland under the hood"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 289408] Every vim port flavor links against wayland under the hood"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 289408] Every vim port flavor links against wayland under the hood"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 289408] Every vim port flavor links against wayland under the hood"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Sep 2025 15:12:20 UTC
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: ports-bugs@FreeBSD.org
Reporter: ps.ports@smyrak.com
CC: adamw@FreeBSD.org, x11@FreeBSD.org
CC: x11@FreeBSD.org
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.