diff options
author | jperkin <jperkin@pkgsrc.org> | 2020-06-02 16:22:40 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2020-06-02 16:22:40 +0000 |
commit | 1eccc1c08030dcc6771ec8e2b0c6dd026138bdb4 (patch) | |
tree | d1bc1b540c64e5d5a368f6329dac761d769f1e0a /mk | |
parent | 2712c82386a3b8c9b4e44388881354bed6e42975 (diff) | |
download | pkgsrc-1eccc1c08030dcc6771ec8e2b0c6dd026138bdb4.tar.gz |
mk: bmake cannot compare non-integers numerically.
Just use an empty() match instead.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/platform/SunOS.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/platform/SunOS.mk b/mk/platform/SunOS.mk index bd7f920bbd1..fc24dda23bd 100644 --- a/mk/platform/SunOS.mk +++ b/mk/platform/SunOS.mk @@ -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 |