pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust rust: Use OPSYS_VERSION.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98dcca03bb17
branches:  trunk
changeset: 379841:98dcca03bb17
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue May 24 09:37:43 2022 +0000

description:
rust: Use OPSYS_VERSION.

diffstat:

 lang/rust/Makefile |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (27 lines):

diff -r 3382885bc1ac -r 98dcca03bb17 lang/rust/Makefile
--- a/lang/rust/Makefile        Tue May 24 09:19:29 2022 +0000
+++ b/lang/rust/Makefile        Tue May 24 09:37:43 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.256 2022/05/18 20:57:28 he Exp $
+# $NetBSD: Makefile,v 1.257 2022/05/24 09:37:43 nia Exp $
 
 DISTNAME=      rustc-1.59.0-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -153,16 +153,9 @@
 #
 # If we aren't on 9-current, and are on 8.x or 9.x, avoid parallel.
 # \todo Consider avoiding setting this on netbsd-9 past the fix.
-.  if ${MACHINE_PLATFORM:MNetBSD-[1-9].*} && !${MACHINE_PLATFORM:MNetBSD-9.99.*}
+.  if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099957
 MAKE_JOBS_SAFE?=       no
 .  endif
-
-# Open PRs
-#
-# Broken package with PREFIX not /usr/pkg:
-#   http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54453
-#
-
 .endif
 
 #



Home | Main Index | Thread Index | Old Index