FreeBSD Bugzilla – Attachment 158091 Details for
Bug 201142
[PATCH] lang/rust Update to 1.1.0 and fix #200449
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar archive
rust.shar (text/plain), 10.41 KB, created by
Andrey Cherkashin
on 2015-06-27 05:00:19 UTC
(
hide
)
Description:
shar archive
Filename:
MIME Type:
Creator:
Andrey Cherkashin
Created:
2015-06-27 05:00:19 UTC
Size:
10.41 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># rust ># rust/Makefile ># rust/distinfo ># rust/pkg-plist ># rust/files ># rust/files/patch-src_librustc__back_target_freebsd__base.rs ># rust/files/patch-configure ># rust/pkg-descr ># >echo c - rust >mkdir -p rust > /dev/null 2>&1 >echo x - rust/Makefile >sed 's/^X//' >rust/Makefile << 'b75d1d92b729a2978c9afe5167438dea' >X# Created by: Jyun-Yan You <jyyou@cs.nctu.edu.tw> >X# $FreeBSD: head/lang/rust/Makefile 390497 2015-06-24 17:09:27Z dumbbell $ >X >XPORTNAME= rust >XPORTVERSION= 1.1.0 >XPORTREVISION= 1 >XCATEGORIES= lang >XMASTER_SITES= http://static.rust-lang.org/dist/:src \ >X http://static.rust-lang.org/stage0-snapshots/:bootstrap >XDISTNAME= ${PORTNAME}c-${PORTVERSION} >XDISTFILES= ${RUST_SOURCE}:src \ >X ${RUST_BOOT}:bootstrap >XEXTRACT_ONLY= ${RUST_SOURCE} >X >XMAINTAINER= ports@FreeBSD.org >XCOMMENT= Language with a focus on memory safety and concurrency >X >XLICENSE= APACHE20 \ >X MIT >XLICENSE_COMB= dual >XLICENSE_FILE= ${WRKSRC}/LICENSE-APACHE \ >X ${WRKSRC}/LICENSE-MIT >X >XONLY_FOR_ARCHS= amd64 >XONLY_FOR_ARCHS_REASON= requires prebuilt bootstrap compiler >X >X# FIXME: The bootstrapped rustc adds -L/usr/local/lib in front of >X# the LDFLAGS. When stage0's rustc is linked, it picks the installed >X# librust*so and fails. >XCONFLICTS_BUILD= rust \ >X rust-nightly >XCONFLICTS_INSTALL= rust-nightly >X >XRUST_SOURCE= ${DISTNAME}-src${EXTRACT_SUFX} >XRUST_BOOT= rust-stage0-${RUST_BOOT_SIG}.tar.bz2 >XRUST_BOOT_SIG= 2015-04-27-857ef6e-freebsd-x86_64-18925db56f6298cc190d1f41615ab5871de1dda0 >X >XUSES= gmake python:2,build >XHAS_CONFIGURE= yes >XCONFIGURE_ARGS= --disable-valgrind --disable-docs \ >X --enable-clang --mandir=${MANPREFIX}/man \ >X --release-channel=stable >X >X# Use LLVM from ports, instead of the copy shipped with rust. >XLLVM_VER= 36 >XBUILD_DEPENDS+= llvm${LLVM_VER}>=0:${PORTSDIR}/devel/llvm${LLVM_VER} >XCONFIGURE_ARGS+=--llvm-root=${LOCALBASE}/llvm${LLVM_VER} >X >X.if defined(BATCH) || defined(PACKAGE_BUILDING) >XMAKE_ARGS+= VERBOSE=1 >X.endif >X >XOPTIONS_DEFINE= LLNEXTGEN >XLLNEXTGEN_DESC= Build with grammar verification >X >XLLNEXTGEN_BUILD_DEPENDS= LLnextgen:${PORTSDIR}/devel/llnextgen >X >X.include <bsd.port.pre.mk> >X >X.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 >XBROKEN= Only compiles on FreeBSD 10 and 11 >X.endif >X >X.if ${OPSYS} == DragonFly >XIGNORE= please use lang/rust-dragonfly instead >X.endif >X >Xpost-extract: >X @${MKDIR} ${WRKSRC}/dl >X ${LN} -sf ${DISTDIR}/${RUST_BOOT} ${WRKSRC}/dl >X (cd ${WRKSRC} && find . -type d -exec chmod 0755 {} \;) >X >X# In case the previous "make stage" failed, this ensures rust's >X# install.sh won't backup previously staged files before reinstalling >X# new ones. Otherwise, the staging directory is polluted with unneeded >X# files. >Xpre-install: >X @if test -f ${STAGEDIR}${PREFIX}/lib/rustlib/manifest-rustc; then \ >X ${SED} -E -e 's,^(dir|file:),${STAGEDIR},' \ >X < ${STAGEDIR}${PREFIX}/lib/rustlib/manifest-rustc \ >X | ${XARGS} ${RM}; \ >X fi >X @${RM} \ >X ${STAGEDIR}${PREFIX}/lib/rustlib/components \ >X ${STAGEDIR}${PREFIX}/lib/rustlib/manifest-rustc \ >X ${STAGEDIR}${PREFIX}/lib/rustlib/rust-installer-version \ >X ${STAGEDIR}${PREFIX}/lib/rustlib/uninstall.sh >X >Xpost-install: >X @${RM} ${STAGEDIR}${PREFIX}/lib/rustlib/install.log >X @${REINPLACE_CMD} -e 's|${STAGEDIR}||' \ >X ${STAGEDIR}${PREFIX}/lib/rustlib/manifest-rustc >X @${RM} ${STAGEDIR}${PREFIX}/lib/rustlib/manifest-rustc.bak >X @${STRIP_CMD} \ >X ${STAGEDIR}${PREFIX}/bin/rustc \ >X ${STAGEDIR}${PREFIX}/bin/rustdoc \ >X ${STAGEDIR}${PREFIX}/lib/*.so \ >X ${STAGEDIR}${PREFIX}/lib/rustlib/*/lib/*.so >X >X.include <bsd.port.post.mk> >b75d1d92b729a2978c9afe5167438dea >echo x - rust/distinfo >sed 's/^X//' >rust/distinfo << '3bd32f7fe5f4557a2951ed58e1489969' >XSHA256 (rustc-1.1.0-src.tar.gz) = cb09f443b37ec1b81fe73c04eb413f9f656859cf7d00bc5088008cbc2a63fa8a >XSIZE (rustc-1.1.0-src.tar.gz) = 22241376 >XSHA256 (rust-stage0-2015-04-27-857ef6e-freebsd-x86_64-18925db56f6298cc190d1f41615ab5871de1dda0.tar.bz2) = c09d2f622217129b4c5a5ae0b889315606d993c22c3f6ee2ffc06e997940f113 >XSIZE (rust-stage0-2015-04-27-857ef6e-freebsd-x86_64-18925db56f6298cc190d1f41615ab5871de1dda0.tar.bz2) = 12915343 >3bd32f7fe5f4557a2951ed58e1489969 >echo x - rust/pkg-plist >sed 's/^X//' >rust/pkg-plist << '06022a28d866b0993d0b8096557fbbaa' >Xbin/rust-gdb >Xbin/rustc >Xbin/rustdoc >Xlib/libarena-7d23ff90.so >Xlib/libflate-7d23ff90.so >Xlib/libfmt_macros-7d23ff90.so >Xlib/libgetopts-7d23ff90.so >Xlib/libgraphviz-7d23ff90.so >Xlib/liblog-7d23ff90.so >Xlib/librbml-7d23ff90.so >Xlib/librustc-7d23ff90.so >Xlib/librustc_back-7d23ff90.so >Xlib/librustc_borrowck-7d23ff90.so >Xlib/librustc_driver-7d23ff90.so >Xlib/librustc_lint-7d23ff90.so >Xlib/librustc_llvm-7d23ff90.so >Xlib/librustc_privacy-7d23ff90.so >Xlib/librustc_resolve-7d23ff90.so >Xlib/librustc_trans-7d23ff90.so >Xlib/librustc_typeck-7d23ff90.so >Xlib/librustc_data_structures-7d23ff90.so >Xlib/librustdoc-7d23ff90.so >Xlib/libserialize-7d23ff90.so >Xlib/libstd-7d23ff90.so >Xlib/libsyntax-7d23ff90.so >Xlib/libterm-7d23ff90.so >Xlib/libtest-7d23ff90.so >Xlib/rustlib/components >Xlib/rustlib/etc/gdb_load_rust_pretty_printers.py >Xlib/rustlib/etc/gdb_rust_pretty_printing.py >Xlib/rustlib/manifest-rustc >Xlib/rustlib/rust-installer-version >Xlib/rustlib/uninstall.sh >Xlib/rustlib/x86_64-unknown-freebsd/lib/liballoc-7d23ff90.rlib >Xlib/rustlib/x86_64-unknown-freebsd/lib/libarena-7d23ff90.rlib >Xlib/rustlib/x86_64-unknown-freebsd/lib/libarena-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/libcollections-7d23ff90.rlib >Xlib/rustlib/x86_64-unknown-freebsd/lib/libcompiler-rt.a >Xlib/rustlib/x86_64-unknown-freebsd/lib/libcore-7d23ff90.rlib >Xlib/rustlib/x86_64-unknown-freebsd/lib/libflate-7d23ff90.rlib >Xlib/rustlib/x86_64-unknown-freebsd/lib/libflate-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/libfmt_macros-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/libgetopts-7d23ff90.rlib >Xlib/rustlib/x86_64-unknown-freebsd/lib/libgetopts-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/libgraphviz-7d23ff90.rlib >Xlib/rustlib/x86_64-unknown-freebsd/lib/libgraphviz-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/liblibc-7d23ff90.rlib >Xlib/rustlib/x86_64-unknown-freebsd/lib/liblog-7d23ff90.rlib >Xlib/rustlib/x86_64-unknown-freebsd/lib/liblog-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/libmorestack.a >Xlib/rustlib/x86_64-unknown-freebsd/lib/librand-7d23ff90.rlib >Xlib/rustlib/x86_64-unknown-freebsd/lib/librbml-7d23ff90.rlib >Xlib/rustlib/x86_64-unknown-freebsd/lib/librbml-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/librustc-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/librustc_back-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/librustc_bitflags-7d23ff90.rlib >Xlib/rustlib/x86_64-unknown-freebsd/lib/librustc_borrowck-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/librustc_driver-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/librustc_lint-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/librustc_llvm-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/librustc_privacy-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/librustc_resolve-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/librustc_trans-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/librustc_typeck-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/librustdoc-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/libserialize-7d23ff90.rlib >Xlib/rustlib/x86_64-unknown-freebsd/lib/libserialize-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/libstd-7d23ff90.rlib >Xlib/rustlib/x86_64-unknown-freebsd/lib/libstd-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/libsyntax-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/libterm-7d23ff90.rlib >Xlib/rustlib/x86_64-unknown-freebsd/lib/libterm-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/libtest-7d23ff90.rlib >Xlib/rustlib/x86_64-unknown-freebsd/lib/libtest-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/librustc_data_structures-7d23ff90.so >Xlib/rustlib/x86_64-unknown-freebsd/lib/librustc_unicode-7d23ff90.rlib >X >Xman/man1/rustc.1.gz >Xman/man1/rustdoc.1.gz >X@dir lib/rustlib/x86_64-unknown-freebsd/lib >X@dir lib/rustlib/x86_64-unknown-freebsd >X@dir lib/rustlib >X%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT >X%%PORTDOCS%%%%DOCSDIR%%/LICENSE-APACHE >X%%PORTDOCS%%%%DOCSDIR%%/LICENSE-MIT >X%%PORTDOCS%%%%DOCSDIR%%/README.md >06022a28d866b0993d0b8096557fbbaa >echo c - rust/files >mkdir -p rust/files > /dev/null 2>&1 >echo x - rust/files/patch-src_librustc__back_target_freebsd__base.rs >sed 's/^X//' >rust/files/patch-src_librustc__back_target_freebsd__base.rs << '93c664ba26c7bfa04576487e5086a5a1' >X--- src/librustc_back/target/freebsd_base.rs.orig 2015-05-07 14:37:17 UTC >X+++ src/librustc_back/target/freebsd_base.rs >X@@ -19,9 +19,6 @@ pub fn opts() -> TargetOptions { >X morestack: true, >X has_rpath: true, >X pre_link_args: vec!( >X- "-L/usr/local/lib".to_string(), >X- "-L/usr/local/lib/gcc46".to_string(), >X- "-L/usr/local/lib/gcc44".to_string(), >X ), >X >X .. Default::default() >93c664ba26c7bfa04576487e5086a5a1 >echo x - rust/files/patch-configure >sed 's/^X//' >rust/files/patch-configure << 'a81a3db8db6f60159835489a6cbef0ce' >X--- configure.orig 2015-05-13 20:03:52 UTC >X+++ configure >X@@ -678,7 +678,6 @@ putvar CFG_BOOTSTRAP_KEY >X >X step_msg "looking for build programs" >X >X-probe_need CFG_CURLORWGET curl wget >X probe_need CFG_PYTHON python2.7 python2.6 python2 python >X >X python_version=$($CFG_PYTHON -V 2>&1) >X@@ -805,13 +804,6 @@ then >X putvar CFG_LOCAL_RUST_ROOT >X fi >X >X-# Force freebsd to build with clang; gcc doesn't like us there >X-if [ $CFG_OSTYPE = unknown-freebsd ] >X-then >X- step_msg "on FreeBSD, forcing use of clang" >X- CFG_ENABLE_CLANG=1 >X-fi >X- >X # Force bitrig to build with clang; gcc doesn't like us there >X if [ $CFG_OSTYPE = unknown-bitrig ] >X then >a81a3db8db6f60159835489a6cbef0ce >echo x - rust/pkg-descr >sed 's/^X//' >rust/pkg-descr << 'f784b2d2d17c88e2ad886f7bd3a2f01e' >XRust is an open-source systems programming language that runs blazingly >Xfast, prevents almost all crashes, and eliminates data races. >XSome of its features: >X >X - Algebraic data types, type inference >X - Pattern matching and closures >X - Concurrency without data races >X - Guaranteed memory safety >X - Optional garbage collection >X - Zero-cost abstractions >X - Minimal runtime >X - Efficient C bindings >X >XWWW: http://www.rust-lang.org/ >f784b2d2d17c88e2ad886f7bd3a2f01e >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 201142
: 158091 |
158092