aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-04-07 16:27:51 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-04-09 10:45:27 +0000
commit741d28a5ac0d06b6e0b65d8c46ba6a1b83815b77 (patch)
tree1968163f86a49e353806831191efa9ca98ffdc98
parent0faa0b0913f5eaf8df5ff35a0562004f2faf69e6 (diff)
downloadports-741d28a5ac0d06b6e0b65d8c46ba6a1b83815b77.tar.gz
ports-741d28a5ac0d06b6e0b65d8c46ba6a1b83815b77.zip
-rw-r--r--x11/libxkbcommon/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/x11/libxkbcommon/Makefile b/x11/libxkbcommon/Makefile
index 28def286825d..0341cf8c8d51 100644
--- a/x11/libxkbcommon/Makefile
+++ b/x11/libxkbcommon/Makefile
@@ -16,7 +16,9 @@ USES= bison gnome meson pkgconfig tar:xz
USE_GNOME= libxml2
MESON_ARGS= -Denable-docs=false \
-Denable-wayland=false \
- -Dx-locale-root="${PREFIX}/lib/X11/locale"
+ -Dx-locale-root="${PREFIX}/lib/X11/locale" \
+ ${MESON_ARGS_${OPSYS}_${OSREL:R}}
+MESON_ARGS_FreeBSD_11= -Ddefault-rules=xorg
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT=X11
@@ -26,10 +28,4 @@ X11_USES= xorg
X11_USE= XORG=xcb
X11_MESON_TRUE= enable-x11
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 1200000
-MESON_ARGS+= -Ddefault-rules=xorg
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>