Index: head/lang/rust/Makefile =================================================================== --- head/lang/rust/Makefile (revision 390719) +++ head/lang/rust/Makefile (revision 390720) @@ -1,99 +1,99 @@ # Created by: Jyun-Yan You # $FreeBSD$ PORTNAME= rust -PORTVERSION= 1.0.0 -PORTREVISION= 1 +PORTVERSION= 1.1.0 CATEGORIES= lang MASTER_SITES= http://static.rust-lang.org/dist/:src \ http://static.rust-lang.org/stage0-snapshots/:bootstrap DISTNAME= ${PORTNAME}c-${PORTVERSION} DISTFILES= ${RUST_SOURCE}:src \ ${RUST_BOOT}:bootstrap EXTRACT_ONLY= ${RUST_SOURCE} MAINTAINER= ports@FreeBSD.org COMMENT= Language with a focus on memory safety and concurrency LICENSE= APACHE20 \ MIT LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE-APACHE \ ${WRKSRC}/LICENSE-MIT ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= requires prebuilt bootstrap compiler # FIXME: The bootstrapped rustc adds -L/usr/local/lib in front of # the LDFLAGS. When stage0's rustc is linked, it picks the installed # librust*so and fails. CONFLICTS_BUILD= rust \ rust-nightly CONFLICTS_INSTALL= rust-nightly RUST_SOURCE= ${DISTNAME}-src${EXTRACT_SUFX} RUST_BOOT= rust-stage0-${RUST_BOOT_SIG}.tar.bz2 -RUST_BOOT_SIG= 2015-03-27-5520801-freebsd-x86_64-0910bbad35e213f679d0433884fd51398eb3bc8d +RUST_BOOT_SIG= 2015-04-27-857ef6e-freebsd-x86_64-18925db56f6298cc190d1f41615ab5871de1dda0 USES= gmake python:2,build HAS_CONFIGURE= yes CONFIGURE_ARGS= --disable-valgrind --disable-docs \ - --enable-clang --mandir=${MANPREFIX}/man + --enable-clang --mandir=${MANPREFIX}/man \ + --release-channel=stable # Use LLVM from ports, instead of the copy shipped with rust. LLVM_VER= 36 BUILD_DEPENDS+= llvm${LLVM_VER}>=0:${PORTSDIR}/devel/llvm${LLVM_VER} CONFIGURE_ARGS+=--llvm-root=${LOCALBASE}/llvm${LLVM_VER} .if defined(BATCH) || defined(PACKAGE_BUILDING) MAKE_ARGS+= VERBOSE=1 .endif OPTIONS_DEFINE= LLNEXTGEN LLNEXTGEN_DESC= Build with grammar verification LLNEXTGEN_BUILD_DEPENDS= LLnextgen:${PORTSDIR}/devel/llnextgen .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 BROKEN= Only compiles on FreeBSD 10 and 11 .endif .if ${OPSYS} == DragonFly IGNORE= please use lang/rust-dragonfly instead .endif post-extract: @${MKDIR} ${WRKSRC}/dl ${LN} -sf ${DISTDIR}/${RUST_BOOT} ${WRKSRC}/dl (cd ${WRKSRC} && find . -type d -exec chmod 0755 {} \;) # In case the previous "make stage" failed, this ensures rust's # install.sh won't backup previously staged files before reinstalling # new ones. Otherwise, the staging directory is polluted with unneeded # files. pre-install: @if test -f ${STAGEDIR}${PREFIX}/lib/rustlib/manifest-rustc; then \ ${SED} -E -e 's,^(dir|file:),${STAGEDIR},' \ < ${STAGEDIR}${PREFIX}/lib/rustlib/manifest-rustc \ | ${XARGS} ${RM}; \ fi @${RM} \ ${STAGEDIR}${PREFIX}/lib/rustlib/components \ ${STAGEDIR}${PREFIX}/lib/rustlib/manifest-rustc \ ${STAGEDIR}${PREFIX}/lib/rustlib/rust-installer-version \ ${STAGEDIR}${PREFIX}/lib/rustlib/uninstall.sh post-install: @${RM} ${STAGEDIR}${PREFIX}/lib/rustlib/install.log @${REINPLACE_CMD} -e 's|${STAGEDIR}||' \ ${STAGEDIR}${PREFIX}/lib/rustlib/manifest-rustc @${RM} ${STAGEDIR}${PREFIX}/lib/rustlib/manifest-rustc.bak @${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/bin/rustc \ ${STAGEDIR}${PREFIX}/bin/rustdoc \ ${STAGEDIR}${PREFIX}/lib/*.so \ ${STAGEDIR}${PREFIX}/lib/rustlib/*/lib/*.so .include Index: head/lang/rust/distinfo =================================================================== --- head/lang/rust/distinfo (revision 390719) +++ head/lang/rust/distinfo (revision 390720) @@ -1,4 +1,4 @@ -SHA256 (rustc-1.0.0-src.tar.gz) = c304cbd4f7b25d116b73c249f66bdb5c9da8645855ce195a41bda5077b995eba -SIZE (rustc-1.0.0-src.tar.gz) = 22121878 -SHA256 (rust-stage0-2015-03-27-5520801-freebsd-x86_64-0910bbad35e213f679d0433884fd51398eb3bc8d.tar.bz2) = a422bd36bc81c9b0dbf0f3b6f5aae34cae6772b7bdffb6c46797cb2931b5e210 -SIZE (rust-stage0-2015-03-27-5520801-freebsd-x86_64-0910bbad35e213f679d0433884fd51398eb3bc8d.tar.bz2) = 15611104 +SHA256 (rustc-1.1.0-src.tar.gz) = cb09f443b37ec1b81fe73c04eb413f9f656859cf7d00bc5088008cbc2a63fa8a +SIZE (rustc-1.1.0-src.tar.gz) = 22241376 +SHA256 (rust-stage0-2015-04-27-857ef6e-freebsd-x86_64-18925db56f6298cc190d1f41615ab5871de1dda0.tar.bz2) = c09d2f622217129b4c5a5ae0b889315606d993c22c3f6ee2ffc06e997940f113 +SIZE (rust-stage0-2015-04-27-857ef6e-freebsd-x86_64-18925db56f6298cc190d1f41615ab5871de1dda0.tar.bz2) = 12915343 Index: head/lang/rust/pkg-plist =================================================================== --- head/lang/rust/pkg-plist (revision 390719) +++ head/lang/rust/pkg-plist (revision 390720) @@ -1,83 +1,85 @@ bin/rust-gdb bin/rustc bin/rustdoc -lib/libarena-4e7c5e5c.so -lib/libflate-4e7c5e5c.so -lib/libfmt_macros-4e7c5e5c.so -lib/libgetopts-4e7c5e5c.so -lib/libgraphviz-4e7c5e5c.so -lib/liblog-4e7c5e5c.so -lib/librbml-4e7c5e5c.so -lib/librustc-4e7c5e5c.so -lib/librustc_back-4e7c5e5c.so -lib/librustc_borrowck-4e7c5e5c.so -lib/librustc_driver-4e7c5e5c.so -lib/librustc_lint-4e7c5e5c.so -lib/librustc_llvm-4e7c5e5c.so -lib/librustc_privacy-4e7c5e5c.so -lib/librustc_resolve-4e7c5e5c.so -lib/librustc_trans-4e7c5e5c.so -lib/librustc_typeck-4e7c5e5c.so -lib/librustdoc-4e7c5e5c.so -lib/libserialize-4e7c5e5c.so -lib/libstd-4e7c5e5c.so -lib/libsyntax-4e7c5e5c.so -lib/libterm-4e7c5e5c.so -lib/libtest-4e7c5e5c.so +lib/libarena-7d23ff90.so +lib/libflate-7d23ff90.so +lib/libfmt_macros-7d23ff90.so +lib/libgetopts-7d23ff90.so +lib/libgraphviz-7d23ff90.so +lib/liblog-7d23ff90.so +lib/librbml-7d23ff90.so +lib/librustc-7d23ff90.so +lib/librustc_back-7d23ff90.so +lib/librustc_borrowck-7d23ff90.so +lib/librustc_driver-7d23ff90.so +lib/librustc_lint-7d23ff90.so +lib/librustc_llvm-7d23ff90.so +lib/librustc_privacy-7d23ff90.so +lib/librustc_resolve-7d23ff90.so +lib/librustc_trans-7d23ff90.so +lib/librustc_typeck-7d23ff90.so +lib/librustc_data_structures-7d23ff90.so +lib/librustdoc-7d23ff90.so +lib/libserialize-7d23ff90.so +lib/libstd-7d23ff90.so +lib/libsyntax-7d23ff90.so +lib/libterm-7d23ff90.so +lib/libtest-7d23ff90.so lib/rustlib/components lib/rustlib/etc/gdb_load_rust_pretty_printers.py lib/rustlib/etc/gdb_rust_pretty_printing.py lib/rustlib/manifest-rustc lib/rustlib/rust-installer-version lib/rustlib/uninstall.sh -lib/rustlib/x86_64-unknown-freebsd/lib/liballoc-4e7c5e5c.rlib -lib/rustlib/x86_64-unknown-freebsd/lib/libarena-4e7c5e5c.rlib -lib/rustlib/x86_64-unknown-freebsd/lib/libarena-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/libcollections-4e7c5e5c.rlib +lib/rustlib/x86_64-unknown-freebsd/lib/liballoc-7d23ff90.rlib +lib/rustlib/x86_64-unknown-freebsd/lib/libarena-7d23ff90.rlib +lib/rustlib/x86_64-unknown-freebsd/lib/libarena-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/libcollections-7d23ff90.rlib lib/rustlib/x86_64-unknown-freebsd/lib/libcompiler-rt.a -lib/rustlib/x86_64-unknown-freebsd/lib/libcore-4e7c5e5c.rlib -lib/rustlib/x86_64-unknown-freebsd/lib/libflate-4e7c5e5c.rlib -lib/rustlib/x86_64-unknown-freebsd/lib/libflate-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/libfmt_macros-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/libgetopts-4e7c5e5c.rlib -lib/rustlib/x86_64-unknown-freebsd/lib/libgetopts-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/libgraphviz-4e7c5e5c.rlib -lib/rustlib/x86_64-unknown-freebsd/lib/libgraphviz-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/liblibc-4e7c5e5c.rlib -lib/rustlib/x86_64-unknown-freebsd/lib/liblog-4e7c5e5c.rlib -lib/rustlib/x86_64-unknown-freebsd/lib/liblog-4e7c5e5c.so +lib/rustlib/x86_64-unknown-freebsd/lib/libcore-7d23ff90.rlib +lib/rustlib/x86_64-unknown-freebsd/lib/libflate-7d23ff90.rlib +lib/rustlib/x86_64-unknown-freebsd/lib/libflate-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/libfmt_macros-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/libgetopts-7d23ff90.rlib +lib/rustlib/x86_64-unknown-freebsd/lib/libgetopts-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/libgraphviz-7d23ff90.rlib +lib/rustlib/x86_64-unknown-freebsd/lib/libgraphviz-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/liblibc-7d23ff90.rlib +lib/rustlib/x86_64-unknown-freebsd/lib/liblog-7d23ff90.rlib +lib/rustlib/x86_64-unknown-freebsd/lib/liblog-7d23ff90.so lib/rustlib/x86_64-unknown-freebsd/lib/libmorestack.a -lib/rustlib/x86_64-unknown-freebsd/lib/librand-4e7c5e5c.rlib -lib/rustlib/x86_64-unknown-freebsd/lib/librbml-4e7c5e5c.rlib -lib/rustlib/x86_64-unknown-freebsd/lib/librbml-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/librustc-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/librustc_back-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/librustc_bitflags-4e7c5e5c.rlib -lib/rustlib/x86_64-unknown-freebsd/lib/librustc_borrowck-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/librustc_driver-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/librustc_lint-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/librustc_llvm-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/librustc_privacy-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/librustc_resolve-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/librustc_trans-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/librustc_typeck-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/librustdoc-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/libserialize-4e7c5e5c.rlib -lib/rustlib/x86_64-unknown-freebsd/lib/libserialize-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/libstd-4e7c5e5c.rlib -lib/rustlib/x86_64-unknown-freebsd/lib/libstd-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/libsyntax-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/libterm-4e7c5e5c.rlib -lib/rustlib/x86_64-unknown-freebsd/lib/libterm-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/libtest-4e7c5e5c.rlib -lib/rustlib/x86_64-unknown-freebsd/lib/libtest-4e7c5e5c.so -lib/rustlib/x86_64-unknown-freebsd/lib/libunicode-4e7c5e5c.rlib +lib/rustlib/x86_64-unknown-freebsd/lib/librand-7d23ff90.rlib +lib/rustlib/x86_64-unknown-freebsd/lib/librbml-7d23ff90.rlib +lib/rustlib/x86_64-unknown-freebsd/lib/librbml-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/librustc-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/librustc_back-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/librustc_bitflags-7d23ff90.rlib +lib/rustlib/x86_64-unknown-freebsd/lib/librustc_borrowck-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/librustc_driver-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/librustc_lint-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/librustc_llvm-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/librustc_privacy-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/librustc_resolve-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/librustc_trans-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/librustc_typeck-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/librustdoc-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/libserialize-7d23ff90.rlib +lib/rustlib/x86_64-unknown-freebsd/lib/libserialize-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/libstd-7d23ff90.rlib +lib/rustlib/x86_64-unknown-freebsd/lib/libstd-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/libsyntax-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/libterm-7d23ff90.rlib +lib/rustlib/x86_64-unknown-freebsd/lib/libterm-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/libtest-7d23ff90.rlib +lib/rustlib/x86_64-unknown-freebsd/lib/libtest-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/librustc_data_structures-7d23ff90.so +lib/rustlib/x86_64-unknown-freebsd/lib/librustc_unicode-7d23ff90.rlib man/man1/rustc.1.gz man/man1/rustdoc.1.gz @dir lib/rustlib/x86_64-unknown-freebsd/lib @dir lib/rustlib/x86_64-unknown-freebsd @dir lib/rustlib %%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT %%PORTDOCS%%%%DOCSDIR%%/LICENSE-APACHE %%PORTDOCS%%%%DOCSDIR%%/LICENSE-MIT %%PORTDOCS%%%%DOCSDIR%%/README.md