aboutsummaryrefslogtreecommitdiff
path: root/x11/xorg-minimal
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-03-21 06:08:53 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-03-21 06:08:53 +0000
commit54bba85b246b786b4c603000430c3f52fc393206 (patch)
tree088ac13f471cc150edc477857fd9cc84b5766d31 /x11/xorg-minimal
parent41339548eca6f7bc08e9c3e89994b7561cee7e6b (diff)
downloadports-54bba85b246b786b4c603000430c3f52fc393206.tar.gz
ports-54bba85b246b786b4c603000430c3f52fc393206.zip
x11/xorg-minimal: chase r526589
Approved by: zeising (x11) Differential Revision: https://reviews.freebsd.org/D24113
Notes
Notes: svn path=/head/; revision=528828
Diffstat (limited to 'x11/xorg-minimal')
-rw-r--r--x11/xorg-minimal/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/x11/xorg-minimal/Makefile b/x11/xorg-minimal/Makefile
index 40a9972ea198..c7655f444cb8 100644
--- a/x11/xorg-minimal/Makefile
+++ b/x11/xorg-minimal/Makefile
@@ -2,7 +2,7 @@
PORTNAME= xorg
PORTVERSION= 7.5.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11 x11-servers
PKGNAMESUFFIX= -minimal
@@ -15,10 +15,16 @@ USES= metaport
VIDEO_DRIVER?= vesa
RUN_DEPENDS+= ${LOCALBASE}/bin/Xorg:x11-servers/xorg-server \
- ${LOCALBASE}/lib/xorg/modules/input/mouse_drv.so:x11-drivers/xf86-input-mouse \
- ${LOCALBASE}/lib/xorg/modules/input/kbd_drv.so:x11-drivers/xf86-input-keyboard \
${LOCALBASE}/bin/xinit:x11/xinit \
${LOCALBASE}/bin/xauth:x11/xauth
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000
+RUN_DEPENDS+= ${LOCALBASE}/lib/xorg/modules/input/mouse_drv.so:x11-drivers/xf86-input-mouse
+RUN_DEPENDS+= ${LOCALBASE}/lib/xorg/modules/input/kbd_drv.so:x11-drivers/xf86-input-keyboard
+.else
+RUN_DEPENDS+= ${LOCALBASE}/lib/xorg/modules/input/libinput_drv.so:x11-drivers/xf86-input-libinput
+.endif
+
.if ${VIDEO_DRIVER} == "nvidia"
RUN_DEPENDS+= ${LOCALBASE}/lib/xorg/modules/drivers/nvidia_drv.so:x11/nvidia-driver
.elif ${VIDEO_DRIVER} == "intel"