pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust lang/rust: also depend on compat80 on sparc64.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0dae369b58fb
branches:  trunk
changeset: 387997:0dae369b58fb
user:      he <he%pkgsrc.org@localhost>
date:      Fri Nov 11 17:36:39 2022 +0000

description:
lang/rust: also depend on compat80 on sparc64.

diffstat:

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

diffs (20 lines):

diff -r d43e0348ab12 -r 0dae369b58fb lang/rust/Makefile
--- a/lang/rust/Makefile        Fri Nov 11 17:22:14 2022 +0000
+++ b/lang/rust/Makefile        Fri Nov 11 17:36:39 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.271 2022/10/26 12:51:46 he Exp $
+# $NetBSD: Makefile,v 1.272 2022/11/11 17:36:39 he Exp $
 
 DISTNAME=      rustc-1.63.0-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -604,7 +604,9 @@
 
 # rust i386 bootstraps are built for 8.0 and still depend on libstdc++.so.8.
 # Pull in compat80 on 9.x and newer.
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) && empty(OS_VERSION:M8.*)
+.if (!empty(MACHINE_PLATFORM:MNetBSD-*-i386) || \
+     !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)) \
+    && empty(OS_VERSION:M8.*)
 BUILD_DEPENDS+=        compat80>=0:../../emulators/compat80
 .endif
 



Home | Main Index | Thread Index | Old Index