[Bug 254035] x11/alacritty: support backend options

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 5 14:35:15 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254035

            Bug ID: 254035
           Summary: x11/alacritty: support backend options
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mikael at FreeBSD.org
          Reporter: 2khramtsov at gmail.com
          Assignee: mikael at FreeBSD.org
             Flags: maintainer-feedback?(mikael at FreeBSD.org)

Created attachment 223001
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223001&action=edit
patch

Upstream supports backend selection:
https://github.com/alacritty/alacritty/issues/3340

An obvious way to support backend selection is to only add CARGO_FEATURES to
the port, but it would fail due to:
https://github.com/rust-lang/cargo/issues/7727

One OS that supports disabling backends (e.g. Gentoo) does this by applying
cargo options not to the root, but to the alacritty subdir:
https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-terms/alacritty/alacritty-9999.ebuild

Do the same and add backend options. This is needed for {Wayland,X11}-only
builds.

portlint -A && poudriere testport: OK.

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


More information about the freebsd-ports-bugs mailing list