summaryrefslogtreecommitdiff
path: root/lang/rust
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2022-11-11 17:36:39 +0000
committerhe <he@pkgsrc.org>2022-11-11 17:36:39 +0000
commit6ee5d0e5a5632497bff58ecd8b0af969b37406f7 (patch)
treed92727ac4b0d0e35b8e6817b29263eb02720d2e2 /lang/rust
parent6e0af1434c6eb28e146d98f5d77850e038e9ebc6 (diff)
downloadpkgsrc-6ee5d0e5a5632497bff58ecd8b0af969b37406f7.tar.gz
lang/rust: also depend on compat80 on sparc64.
Diffstat (limited to 'lang/rust')
-rw-r--r--lang/rust/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 25059eaa44a..a5de19c76ca 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -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 @@ stage0-bootstrap: install
# 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