pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/platform



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Jun  2 16:22:40 UTC 2020

Modified Files:
        pkgsrc/mk/platform: SunOS.mk

Log Message:
mk: bmake cannot compare non-integers numerically.

Just use an empty() match instead.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 pkgsrc/mk/platform/SunOS.mk

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

Modified files:

Index: pkgsrc/mk/platform/SunOS.mk
diff -u pkgsrc/mk/platform/SunOS.mk:1.79 pkgsrc/mk/platform/SunOS.mk:1.80
--- pkgsrc/mk/platform/SunOS.mk:1.79    Mon Nov 12 14:22:58 2018
+++ pkgsrc/mk/platform/SunOS.mk Tue Jun  2 16:22:40 2020
@@ -1,4 +1,4 @@
-# $NetBSD: SunOS.mk,v 1.79 2018/11/12 14:22:58 jperkin Exp $
+# $NetBSD: SunOS.mk,v 1.80 2020/06/02 16:22:40 jperkin Exp $
 #
 # Variable definitions for the SunOS/Solaris operating system.
 
@@ -40,7 +40,7 @@ MOTIF_TYPE_DEFAULT?=  motif
 .endif
 
 # Use SMF by default if available.
-.if ${OS_VERSION} >= 5.10
+.if empty(OS_VERSION:M5.[0-9])
 INIT_SYSTEM?=          smf
 .endif
 



Home | Main Index | Thread Index | Old Index