pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust cargo.mk: use OPSYS_VERSION



details:   https://anonhg.NetBSD.org/pkgsrc/rev/65a0c7c11936
branches:  trunk
changeset: 379850:65a0c7c11936
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue May 24 09:51:51 2022 +0000

description:
cargo.mk: use OPSYS_VERSION

diffstat:

 lang/rust/cargo.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7138aba0ab1b -r 65a0c7c11936 lang/rust/cargo.mk
--- a/lang/rust/cargo.mk        Tue May 24 09:50:45 2022 +0000
+++ b/lang/rust/cargo.mk        Tue May 24 09:51:51 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: cargo.mk,v 1.29 2021/10/06 10:25:32 jperkin Exp $
+# $NetBSD: cargo.mk,v 1.30 2022/05/24 09:51:51 nia Exp $
 #
 # Common logic that can be used by packages that depend on cargo crates
 # from crates.io. This lets existing pkgsrc infrastructure fetch and verify
@@ -39,7 +39,7 @@
 .include "../../mk/bsd.prefs.mk"
 # Triggers NetBSD ld.so bug (PR toolchain/54192)
 # See Makefile for further information.
-.if ${MACHINE_PLATFORM:MNetBSD-[1-9].*} && !${MACHINE_PLATFORM:MNetBSD-9.99.*}
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099957
 MAKE_JOBS_SAFE=        no
 .endif
 



Home | Main Index | Thread Index | Old Index