pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [pkgsrc-2021Q1] pkgsrc/lang/rust
Module Name: pkgsrc
Committed By: bsiegert
Date: Sat Apr 24 12:48:46 UTC 2021
Modified Files:
pkgsrc/lang/rust [pkgsrc-2021Q1]: Makefile
Log Message:
Pullup ticket #6446 - requested by gutteridge
lang/rust: NetBSD/i386 build fix
Revisions pulled up:
- lang/rust/Makefile 1.228-1.229
---
Module Name: pkgsrc
Committed By: gutteridge
Date: Thu Apr 15 00:55:45 UTC 2021
Modified Files:
pkgsrc/lang/rust: Makefile
Log Message:
rust: restore NetBSD i386 bootstrap workaround
The current i386 bootstrap is built for NetBSD 8.x, and so is linked
against libstdc++.so.8. NetBSD 9.x still requires compat80 for it to
run.
This isn't a complete workaround, as builds still fail in a sandboxed
environment that doesn't have compat80 installed outside it. Dealing
with that would require another workaround somewhat like the one used
for ghc*, but a little different.
---
Module Name: pkgsrc
Committed By: gutteridge
Date: Fri Apr 16 01:14:37 UTC 2021
Modified Files:
pkgsrc/lang/rust: Makefile
Log Message:
rust: the i386 bootstrap workaround is really a BUILD_DEPENDS
To generate a diff of this commit:
cvs rdiff -u -r1.220.2.1 -r1.220.2.2 pkgsrc/lang/rust/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/rust/Makefile
diff -u pkgsrc/lang/rust/Makefile:1.220.2.1 pkgsrc/lang/rust/Makefile:1.220.2.2
--- pkgsrc/lang/rust/Makefile:1.220.2.1 Sat Apr 10 08:36:05 2021
+++ pkgsrc/lang/rust/Makefile Sat Apr 24 12:48:46 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.220.2.1 2021/04/10 08:36:05 bsiegert Exp $
+# $NetBSD: Makefile,v 1.220.2.2 2021/04/24 12:48:46 bsiegert Exp $
DISTNAME= rustc-1.49.0-src
PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -531,6 +531,14 @@ stage0-bootstrap: install
#.include "../../www/http-parser/buildlink3.mk"
#.include "../../devel/jemalloc/buildlink3.mk"
+## Issues specific to: bootstrap AND NetBSD follow
+
+# 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.*)
+BUILD_DEPENDS+= compat80>=0:../../emulators/compat80
+.endif
+
# This is for when we build natively:
.if !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc) || \
!empty(MACHINE_PLATFORM:MNetBSD-*-i386)
Home |
Main Index |
Thread Index |
Old Index