pkgsrc-WIP-changes archive

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

rust: also depend on compat80 for sparc64.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Fri Nov 11 17:34:36 2022 +0000
Changeset:	1d82396a3c10cd9dbcf795048e663b8f8a4ad356

Modified Files:
	rust/Makefile

Log Message:
rust: also depend on compat80 for sparc64.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1d82396a3c10cd9dbcf795048e663b8f8a4ad356

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

diffstat:
 rust/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diffs:
diff --git a/rust/Makefile b/rust/Makefile
index 7d9984de09..64494c5299 100644
--- a/rust/Makefile
+++ b/rust/Makefile
@@ -651,9 +651,12 @@ stage0-bootstrap: install
 
 ## Issues specific to: bootstrap AND NetBSD follow
 
-# rust i386 bootstraps are built for 8.0 and still depend on libstdc++.so.8.
+# rust i386 and sparc64 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