From a75baeac2b65f6a92bb89cca2f6932fecebc5c44 Mon Sep 17 00:00:00 2001 From: nia Date: Thu, 5 May 2022 08:24:05 +0000 Subject: modular-xorg-server: Use OPSYS_VERSION to numerically compare NetBSD versions --- x11/modular-xorg-server/Makefile.common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x11') 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 -- cgit v1.2.3