aboutsummaryrefslogtreecommitdiff
path: root/x11/libxkbcommon
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2020-03-23 20:55:08 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2020-03-23 20:55:08 +0000
commitd09304c07d3e4f646ed5c532a5c492ef72565038 (patch)
tree3199bbaa878d3b85f01b165ce00b9d3e8a522891 /x11/libxkbcommon
parent0de16635a23e6965960b395d807e838ba97d8733 (diff)
downloadports-d09304c07d3e4f646ed5c532a5c492ef72565038.tar.gz
ports-d09304c07d3e4f646ed5c532a5c492ef72565038.zip
x11/libxkbcommon: swtch to legacy rules on 11
x11/libxkbcommon was switched to use evdev rules in r528813, but FreeBSD 11 still needs the legacy rules. Switch back to the legacy rules, but only on FreeBSD 11. Adjust the UPDATING entry to indicate that the switch to evdev rules by default is only on FreeBSD 12 and later, and that FreeBSD 11 still uses the legacy rules.
Notes
Notes: svn path=/head/; revision=529003
Diffstat (limited to 'x11/libxkbcommon')
-rw-r--r--x11/libxkbcommon/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/x11/libxkbcommon/Makefile b/x11/libxkbcommon/Makefile
index 886a6cd9541d..0b3bf88df2d1 100644
--- a/x11/libxkbcommon/Makefile
+++ b/x11/libxkbcommon/Makefile
@@ -2,7 +2,7 @@
PORTNAME= libxkbcommon
PORTVERSION= 0.10.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= https://xkbcommon.org/download/
DIST_SUBDIR= xorg/lib
@@ -21,4 +21,10 @@ MESON_ARGS= -Denable-docs=false \
-Denable-wayland=false \
-Dx-locale-root="${PREFIX}/lib/X11/locale"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1200000
+MESON_ARGS+= -Ddefault-rules=xorg
+.endif
+
+.include <bsd.port.post.mk>