pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gmake gmake: Use OPSYS_VERSION to numerically co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f3da553246e8
branches:  trunk
changeset: 378721:f3da553246e8
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu May 05 08:34:57 2022 +0000

description:
gmake: Use OPSYS_VERSION to numerically compare NetBSD versions

diffstat:

 devel/gmake/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b3c5c745c97d -r f3da553246e8 devel/gmake/Makefile
--- a/devel/gmake/Makefile      Thu May 05 08:34:35 2022 +0000
+++ b/devel/gmake/Makefile      Thu May 05 08:34:57 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.118 2022/04/25 16:05:44 tnn Exp $
+# $NetBSD: Makefile,v 1.119 2022/05/05 08:34:57 nia Exp $
 
 DISTNAME=      make-4.3
 PKGNAME=       g${DISTNAME}
@@ -46,7 +46,7 @@
 .endif
 
 # kernel bug, fixed in NetBSD 9.99.82
-.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[0-9].*)
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099982
 CONFIGURE_ARGS.NetBSD+=        --disable-posix-spawn
 .endif
 



Home | Main Index | Thread Index | Old Index