[Bug 291591] x11-drivers/xf86-input-egalax: Add support for xlibre

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 12 Dec 2025 01:46:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291591

            Bug ID: 291591
           Summary: x11-drivers/xf86-input-egalax: Add support for xlibre
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: glebius@FreeBSD.org
          Reporter: acm@FreeBSD.org
             Flags: maintainer-feedback?(glebius@FreeBSD.org)
          Assignee: glebius@FreeBSD.org

Hello, could you approve the following patch? this add support for xlibre.

diff --color -ur /usr/ports/x11-drivers/xf86-input-egalax/Makefile
xf86-input-egalax/Makefile
--- /usr/ports/x11-drivers/xf86-input-egalax/Makefile   2024-04-09
22:22:18.006587000 -0700
+++ xf86-input-egalax/Makefile  2025-12-11 14:29:11.733759000 -0800
@@ -6,13 +6,23 @@
 MAINTAINER=    glebius@FreeBSD.org
 COMMENT=       eGalax touch screen input driver for X.Org

+LICENSE=       BSD2CLAUSE
+
+FLAVORS=       xlibre xorg
+FLAVOR?=       ${FLAVORS:[1]}
+
+.if ${FLAVOR} == xlibre
+PKGNAMEPREFIX= xlibre-
+USES=          xlibre-cat:driver
+.else
+USES=          xorg-cat:driver
+.endif
+
 USE_GITHUB=    yes
 GH_ACCOUNT=    glebius
 GH_TAGNAME=    7f1e4ac

-LICENSE=       BSD2CLAUSE
-
-USES=          autoreconf xorg-cat:driver
+USES+=         autoreconf

 GNU_CONFIGURE_MANPREFIX=${PREFIX}/share

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