pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/xfce4-wm xfce4-wm: Use OPSYS_VERSION to numerically...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5ea2d00ce52
branches:  trunk
changeset: 378715:b5ea2d00ce52
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu May 05 08:31:55 2022 +0000

description:
xfce4-wm: Use OPSYS_VERSION to numerically compare NetBSD versions

diffstat:

 wm/xfce4-wm/hacks.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 002e1a174a66 -r b5ea2d00ce52 wm/xfce4-wm/hacks.mk
--- a/wm/xfce4-wm/hacks.mk      Thu May 05 08:31:16 2022 +0000
+++ b/wm/xfce4-wm/hacks.mk      Thu May 05 08:31:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.1 2020/10/16 06:21:13 nia Exp $
+# $NetBSD: hacks.mk,v 1.2 2022/05/05 08:31:55 nia Exp $
 
 .if !defined(XFCE4_WM_HACKS_MK)
 XFCE4_WM_HACKS_MK=     defined
@@ -7,7 +7,7 @@
 # whether XRes is available, not its version.
 # It's using XRes 1.2 features, but the base version installed in NetBSD 8.x
 # is too old to support that.
-.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[5678].*) && \
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 090000 && \
     ${X11_TYPE} == "native"
 PKG_HACKS+=    old-netbsd-xres
 CONFIGURE_ENV+=        ac_cv_lib_XRes_XResQueryClients=no



Home | Main Index | Thread Index | Old Index