pkgsrc-Changes archive

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

CVS commit: pkgsrc/wm/xfce4-wm



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu May  5 08:31:55 UTC 2022

Modified Files:
        pkgsrc/wm/xfce4-wm: hacks.mk

Log Message:
xfce4-wm: Use OPSYS_VERSION to numerically compare NetBSD versions


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/wm/xfce4-wm/hacks.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/wm/xfce4-wm/hacks.mk
diff -u pkgsrc/wm/xfce4-wm/hacks.mk:1.1 pkgsrc/wm/xfce4-wm/hacks.mk:1.2
--- pkgsrc/wm/xfce4-wm/hacks.mk:1.1     Fri Oct 16 06:21:13 2020
+++ pkgsrc/wm/xfce4-wm/hacks.mk Thu May  5 08:31:55 2022
@@ -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 @@ XFCE4_WM_HACKS_MK=      defined
 # 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