MFH: r533211

x11-drivers/xf86-input-synaptics: enable EVDEV by default on FreeBSD 12+

After switching default value of kern.evdev.rcpt_mask sysctl to 12 (r360126)
some users get their touchpads broken as they have xf86-input-synaptics port
installed. See e.g. PR/245948. This happens as xf86-input-synaptics has
greater priority than libinput and effectively disables latter after
installation. Workaround this issue with enabling EVDEV support in the port.

PR:		245966
Approved by:	ports-secteam (joneum)
This commit is contained in:
Vladimir Kondratyev 2020-04-29 20:03:44 +00:00
parent e0c13d261c
commit 40b2d73f55
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q2/; revision=533392

View File

@ -2,7 +2,7 @@
PORTNAME= xf86-input-synaptics
PORTVERSION= 1.9.1
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= x11-drivers
MAINTAINER= x11@FreeBSD.org
@ -15,6 +15,9 @@ USES= pathfix xorg xorg-cat:driver
USE_XORG= x11 xtst
OPTIONS_DEFINE= EVDEV
OPTIONS_DEFAULT_FreeBSD_12= EVDEV
OPTIONS_DEFAULT_FreeBSD_13= EVDEV
OPTIONS_DEFAULT=${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}}
EVDEV_DESC= Use evdev for input events (requires kernel support)
EVDEV_CONFIGURE_ENV= BUILD_EVENTCOMM=yes