summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-05-05 08:24:05 +0000
committernia <nia@pkgsrc.org>2022-05-05 08:24:05 +0000
commita75baeac2b65f6a92bb89cca2f6932fecebc5c44 (patch)
tree76d2bea2f44e65152411b54b1aa4a1273f8ca8f0 /x11
parent2fcf25dcfd8378b4d0080a18d006268da807314e (diff)
downloadpkgsrc-a75baeac2b65f6a92bb89cca2f6932fecebc5c44.tar.gz
modular-xorg-server: Use OPSYS_VERSION to numerically compare NetBSD versions
Diffstat (limited to 'x11')
-rw-r--r--x11/modular-xorg-server/Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/modular-xorg-server/Makefile.common b/x11/modular-xorg-server/Makefile.common
index b0bd98f1267..e1dcd92cfd7 100644
--- a/x11/modular-xorg-server/Makefile.common
+++ b/x11/modular-xorg-server/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.47 2021/12/15 23:35:00 wiz Exp $
+# $NetBSD: Makefile.common,v 1.48 2022/05/05 08:24:05 nia Exp $
# used by x11/modular-xorg-server/Makefile
# used by x11/modular-xorg-xephyr/Makefile
# used by x11/modular-xorg-xwayland/Makefile
@@ -48,7 +48,7 @@ CPPFLAGS+= -D_OPENBSD_SOURCE # for reallocarray(3)
CONFIGURE_ARGS+= --with-builder-addr="tech-x11@NetBSD.org"
CONFIGURE_ARGS+= --with-os-vendor="The NetBSD Foundation"
# TLS is not supported by NetBSD<6
-. if !empty(OS_VERSION:M[0-5].*)
+. if ${OPSYS_VERSION} < 060000
CONFIGURE_ENV+= ac_cv_tls=no
CONFIGURE_ARGS+= --disable-glx-tls
. endif