aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers
diff options
context:
space:
mode:
authorVladimir Kondratyev <wulf@FreeBSD.org>2020-04-27 23:19:42 +0000
committerVladimir Kondratyev <wulf@FreeBSD.org>2020-04-27 23:19:42 +0000
commit734b871c480edf3c0e76adaa34311a891c774bd2 (patch)
treee4a076e4382b8502793f304a6238cf277764c2ca /x11-drivers
parenta398dfcdcd573d1342688bd0fef4714090fced71 (diff)
downloadports-734b871c480edf3c0e76adaa34311a891c774bd2.tar.gz
ports-734b871c480edf3c0e76adaa34311a891c774bd2.zip
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: x11 (zeising)
Notes
Notes: svn path=/head/; revision=533211
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-input-synaptics/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11-drivers/xf86-input-synaptics/Makefile b/x11-drivers/xf86-input-synaptics/Makefile
index a76c32b81869..ac3298f136aa 100644
--- a/x11-drivers/xf86-input-synaptics/Makefile
+++ b/x11-drivers/xf86-input-synaptics/Makefile
@@ -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