Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/platform mk: bmake cannot compare non-integers nume...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/969993024773
branches:  trunk
changeset: 433469:969993024773
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Jun 02 16:22:40 2020 +0000

description:
mk: bmake cannot compare non-integers numerically.

Just use an empty() match instead.

diffstat:

 mk/platform/SunOS.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 94c3402e4527 -r 969993024773 mk/platform/SunOS.mk
--- a/mk/platform/SunOS.mk      Tue Jun 02 15:07:59 2020 +0000
+++ b/mk/platform/SunOS.mk      Tue Jun 02 16:22:40 2020 +0000
@@ -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 @@
 .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