pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/gmake



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu May  5 08:34:57 UTC 2022

Modified Files:
        pkgsrc/devel/gmake: Makefile

Log Message:
gmake: Use OPSYS_VERSION to numerically compare NetBSD versions


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 pkgsrc/devel/gmake/Makefile

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

Modified files:

Index: pkgsrc/devel/gmake/Makefile
diff -u pkgsrc/devel/gmake/Makefile:1.118 pkgsrc/devel/gmake/Makefile:1.119
--- pkgsrc/devel/gmake/Makefile:1.118   Mon Apr 25 16:05:44 2022
+++ pkgsrc/devel/gmake/Makefile Thu May  5 08:34:57 2022
@@ -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 @@ CPPFLAGS+=    -DPKGSRC_DEFAULT_SHELL="\"/us
 .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