FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
rust Language with a focus on memory safety and concurrency
1.19.0 lang on this many watch lists=8 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: rust@FreeBSD.org search for ports maintained by this maintainer
Port Added: 23 Jan 2012 16:07:20
License: APACHE20 MIT
Rust is an open-source systems programming language that runs blazingly
fast, prevents almost all crashes, and eliminates data races.
Some of its features:

  - Algebraic data types, type inference
  - Pattern matching and closures
  - Concurrency without data races
  - Guaranteed memory safety
  - Optional garbage collection
  - Zero-cost abstractions
  - Minimal runtime
  - Efficient C bindings

WWW: http://www.rust-lang.org/
SVNWeb : Homepage : PortsMon : pkg-plist

To install the port: cd /usr/ports/lang/rust/ && make install clean
To add the package: pkg install rust

PKGNAME: rust

ONLY_FOR_ARCHS: aarch64 amd64 i386

distinfo:

TIMESTAMP = 1501024073
SHA256 (rust/rustc-1.19.0-src.tar.gz) = 15231f5053fb72ad82be91f5abfd6aa60cb7898c5089e4f1ac5910a731090c51
SIZE (rust/rustc-1.19.0-src.tar.gz) = 50108626
SHA256 (rust/2017-06-08/rustc-1.18.0-aarch64-unknown-freebsd.tar.gz) = 96725ef360259d5726136b9c82c22283b5ee41ab62e261717580b77cccd915c6
SIZE (rust/2017-06-08/rustc-1.18.0-aarch64-unknown-freebsd.tar.gz) = 38409516
SHA256 (rust/2017-06-08/rust-std-1.18.0-aarch64-unknown-freebsd.tar.gz) = dae0984ed497d7feb36d93767f45d7e0be120d875f8009eb4e3163f0fc7f4d71
SIZE (rust/2017-06-08/rust-std-1.18.0-aarch64-unknown-freebsd.tar.gz) = 52571812
SHA256 (rust/2017-06-08/cargo-0.19.0-aarch64-unknown-freebsd.tar.gz) = 2a59c386889941f11addfb0823d6345a48e1319a2a76a91d315919444c3747e9
SIZE (rust/2017-06-08/cargo-0.19.0-aarch64-unknown-freebsd.tar.gz) = 2853548
SHA256 (rust/2017-06-08/rustc-1.18.0-i686-unknown-freebsd.tar.gz) = d0dfb43b3d0329c2ff48e38c44e81bdd3fbc6b3cb916de5aa5a3f1e27801ade9
SIZE (rust/2017-06-08/rustc-1.18.0-i686-unknown-freebsd.tar.gz) = 49269996
SHA256 (rust/2017-06-08/rust-std-1.18.0-i686-unknown-freebsd.tar.gz) = 6f36fc3583c1b2f7d28216c70c5d77ce929460ba5443f1b40f668c38ac28702a
SIZE (rust/2017-06-08/rust-std-1.18.0-i686-unknown-freebsd.tar.gz) = 67898201
SHA256 (rust/2017-06-08/cargo-0.19.0-i686-unknown-freebsd.tar.gz) = 18a124f9d08eb51bc126908f7c77c7384924f74d09310261d03ab53d82707cb2
SIZE (rust/2017-06-08/cargo-0.19.0-i686-unknown-freebsd.tar.gz) = 5057154
SHA256 (rust/2017-06-08/rustc-1.18.0-x86_64-unknown-freebsd.tar.gz) = d019bb674b7656de42b5c2562e1cc391ab5d93137254e160c0def1ad6df2a04a
SIZE (rust/2017-06-08/rustc-1.18.0-x86_64-unknown-freebsd.tar.gz) = 47361127
SHA256 (rust/2017-06-08/rust-std-1.18.0-x86_64-unknown-freebsd.tar.gz) = de7f3bc0c0ea1f21e4809945c891cd82c91eb016af6b9d3d9e171d024a21c66c
SIZE (rust/2017-06-08/rust-std-1.18.0-x86_64-unknown-freebsd.tar.gz) = 66585539
SHA256 (rust/2017-06-08/cargo-0.19.0-x86_64-unknown-freebsd.tar.gz) = a8d45ad508ecbe9ec9e19fddabda4476466486f97cfb1b59d0a43a1012acb788
SIZE (rust/2017-06-08/cargo-0.19.0-x86_64-unknown-freebsd.tar.gz) = 5176510
SHA256 (rust/rust-registry-1.19.0.tar.xz) = 7f1d5b33ba11bbb05e468317680b54a61557e087e0d0deb0d69c2535f1b61146
SIZE (rust/rust-registry-1.19.0.tar.xz) = 28571276


Slave ports
  1. lang/rust-nightly

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. cmake : devel/cmake
  2. gmake : devel/gmake
  3. python2.7 : lang/python27
Library dependencies:
  1. libedit.so.0 : devel/libedit

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
===> The following configuration options are available for rust-1.19.0:
     DOCS=on: Build and/or install documentation
     GDB=off: Install ports gdb (necessary for debugging rust programs)
     LLNEXTGEN=off: Build with grammar verification
     PORT_LLVM=off: Build against devel/llvm40 instead of bundled version
===> Use 'make config' to modify these settings

USES:
compiler gmake libedit python:2.7,build

pkg-message:
======================================================================

Printing Rust backtraces requires procfs(5) mounted on /proc .
If you have not already done so, please do the following:

	mount -t procfs proc /proc

To make it permanent, you need the following lines in /etc/fstab:

	proc	/proc		procfs		rw	0	0

======================================================================

Master Sites:
    There is no master site for this port.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2014-07-10
    Affects: users of lang/rust
    Author: robak@FreeBSD.org
    Reason: 
      The lang/rust port was updated to 0.11 and is now only working on FreeBSD
      versions 10 and 11 -- the 9.x support has been removed by upstream.
    
    

Number of commits found: 88

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
28 Jul 2017 23:03:27
Original commit files touched by this commit  1.19.0
Revision:446861
dumbbell search for other commits by this committer
lang/rust: Turn off PORT_LLVM by default

This change was accidentally committed with the previous commit.
28 Jul 2017 22:30:39
Original commit files touched by this commit  1.19.0
Revision:446858
dumbbell search for other commits by this committer
lang/rust: Fix build with PORT_LLVM

The path to `llvm-config40` was set to the empty string in the generated
`config.toml`, because I was still using the ${LLVM_PREFIX} variable
instead of the appropriate ${LLVM_CONFIG}. Bad completion and lack of
testing, sorry for that...

Reported by:	Rainer Hurling <rhurlin@gwdg.de>,
		Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>,
		dim@
28 Jul 2017 16:29:08
Original commit files touched by this commit  1.19.0
Revision:446837
dumbbell search for other commits by this committer
lang/rust: Fix ${PORT_LLVM_BUILD_DEPENDS}

The BUILD_DEPENDS argument for the PORT_LLVM option was not updated: it
was using the ${LLVM_PREFIX} variable which was removed. Now, it uses
${LOCALBASE} and ${LLVM_VER} as a suffix to the executable verified.

Submitted by:	Rainer Hurling <rhurlin@gwdg.de>
Reported by:	Rainer Hurling <rhurlin@gwdg.de>
28 Jul 2017 10:18:54
Original commit files touched by this commit  1.19.0
Revision:446815
dumbbell search for other commits by this committer
lang/rust: Update to 1.19.0

The main change in the port is the switch from configure+make to the
`x.py` build script. This is the recommended way of building Rust. It
takes a configuration file, `config.toml`, which, in the port case,
indicates:

 * where to install things;
 * which release channel to use;
 * where to find Python and llvm-config;
 * if documentation should be also built.

The build process should now honor ${MAKE_JOBS_NUMBER} instead of always
using all available CPU cores.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
18 Jun 2017 12:20:01
Original commit files touched by this commit  1.18.0
Revision:443826
dumbbell search for other commits by this committer
lang/rust: Fix value of ${CARGO_BOOTSTRAP_DIR_aarch64}

It was pointing to the wrong directory.

Reported by:	jbeich@
17 Jun 2017 14:44:30
Original commit files touched by this commit  1.18.0
Revision:443777
dumbbell search for other commits by this committer
lang/rust: Enable on FreeBSD/aarch64 + various fixes

This port now uses an unofficial bootstrap of Rust 1.17.0 and Cargo
0.18.0 for FreeBSD/aarch64. Here are my notes to create this boostrap:
https://gist.github.com/dumbbell/b587da50ef014078da9e732a4331ebad

The port's Makefile was changed to:
    - allow to override the versions and directories of the bootstrap
      archives;
    - patch the bootstrap script and manifest with those
      versions/directories.

Beside changes to support FreeBSD/aarch64, the port received the
following fixes:
    - Pass python path to the configure script.
    - Fix and simplify the extraction of rust-std bootstrap by re-using
      existing variables.
    - Make sure tar(1) doesn't produce sparse file entries when it
      recreates the rust-std bootstrap because Python 2's tarfile module
      doesn't support them (PR 219842).

PR:		216143, 219842
Differential Revision:	https://reviews.freebsd.org/D10857
13 Jun 2017 05:34:55
Original commit files touched by this commit  1.18.0
Revision:443485
riggs search for other commits by this committer
Fix build on HEAD

Submitted by:	dim, rhurlin@gwdg.de (via mail)
10 Jun 2017 17:48:58
Original commit files touched by this commit  1.18.0
Revision:443109
riggs search for other commits by this committer
Update to upstream version 1.18.0, set MAINTAINER to rust@
29 May 2017 05:00:54
Original commit files touched by this commit  1.17.0
Revision:441966
riggs search for other commits by this committer
Fix build on pre-ino64 / on i386

Submitted by:	kib
Differential Revision:	https://reviews.freebsd.org/D10973
27 May 2017 12:06:40
Original commit files touched by this commit  1.17.0
Revision:441843
kib search for other commits by this committer
Fix lang/rust after ino64 src commit.

Approved by:  bapt, dumbbell
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D10799
14 May 2017 15:26:44
Original commit files touched by this commit  1.17.0
Revision:440883
riggs search for other commits by this committer
Update to upstream version 1.17.0

Submitted by:	dumbbell (see phabric URL)
Reviewed by:	riggs
Differential Revision:	https://reviews.freebsd.org/D10691
26 Apr 2017 19:04:30
Original commit files touched by this commit  1.16.0
Revision:439485
ak search for other commits by this committer
- Remove checks for .PARSEDIR and vestiges of pmake support

PR:	218832
Approved by:	portmgr (antoine)
19 Mar 2017 12:08:08
Original commit files touched by this commit  1.16.0
Revision:436488
riggs search for other commits by this committer
Update to upstream version 1.16.0
06 Mar 2017 13:27:57
Original commit files touched by this commit  1.15.1
Revision:435537
dumbbell search for other commits by this committer
lang/rust, lang/rust-nightly: Generate PLIST in post-install

Several libraries have their filename computed and based on the absolute
path to source files. Therefore, we need to generate the PLIST. Rust
installer already produces manifests listing files it installs. The port
now uses those files to complete `${TMPPLIST}`.

While the port built fine in Poudriere, it failed when built directly on
the host (regular make or with portmaster(1)) or using a different tool
such as Synth. This commit fixes the build for those methods.

Handling of DOCS-specific files is also unified with normal files. This
gets rid of code duplication.

How to do reproducible builds will be studied later.

PR:		217309
Reported by:	Several people on freebsd-ports@ or Bugzilla
Tested by:	Almost everyone who reported the issue
Approved by:	antoine (mentor), riggs (maintainer of lang/rust)
Differential Revision:	https://reviews.freebsd.org/D9816
01 Mar 2017 23:35:05
Original commit files touched by this commit  1.15.1
Revision:435205
asomers search for other commits by this committer
lang/rust*: Advise users to mount procfs

Add a pkg-message to these ports advising users to mount procfs to see
backtraces.

Reviewed by:	dumbbell, riggs
Approved by:	dumbbell (ports)
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D9838
22 Feb 2017 19:04:04
Original commit files touched by this commit  1.15.1
Revision:434631
dumbbell search for other commits by this committer
lang/rust, lang/rust-nightly: Update to 1.15.1 and 1.17.0 respectively

Both versions of Rust seen changes to their build system. Now they
require a bootstrap of Cargo and thus, a snapshot of Cargo's registry.

Each library has its own suffix instead of a common suffix for a given
version of Rust. Thus all future updates of the ports will include
changes to their plist.

$DISTFILES are now all under the `rust` directory in `$DISTDIR`. A
similar change will be committed to devel/cargo later.

lang/rust-nightly is enabled on i386 (bugzilla 216143). The source
snapshot also contains everything to build it on aarch64, but enabling
it will be committed later.

PR:		216143
Approved by:	riggs, bapt (mentor), antoine (mentor)
Differential Revision:	https://reviews.freebsd.org/D9286
01 Jan 2017 03:45:13
Original commit files touched by this commit  1.14.0
Revision:430235
sunpoet search for other commits by this committer
Remove BROKEN_FreeBSD_9

Approved by:	portmgr (blanket)
29 Dec 2016 17:52:05
Original commit files touched by this commit  1.14.0
Revision:429933
marino search for other commits by this committer
lang/rust: regenerate distinfo.x86_64 for DF rust 1.14

I'm not sure how this was misgenerated previously.  This matches the
version available via LOCAL/marino
27 Dec 2016 15:25:52
Original commit files touched by this commit  1.14.0
Revision:429624
marino search for other commits by this committer
lang/rust: Update distinfo.x86_64 for DragonFly support for v1.14

Preapproved by:	riggs
24 Dec 2016 19:40:55
Original commit files touched by this commit  1.14.0
Revision:429379
riggs search for other commits by this committer
Update to upstream version 1.14.0
15 Nov 2016 23:47:08
Original commit files touched by this commit  1.13.0
Revision:426192
marino search for other commits by this committer
lang/rust: Update distinfo.x86_64 for DragonFly support for v1.13

Preapproved by:	riggs
11 Nov 2016 21:45:40
Original commit files touched by this commit  1.13.0
Revision:425911
riggs search for other commits by this committer
Update to upstream version 1.13.0
02 Nov 2016 22:45:14
Original commit files touched by this commit  1.12.1
Revision:425174
mat search for other commits by this committer
Cleanup no longer needed CHMOD usage after r424898.

PR:		213743
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
22 Oct 2016 12:37:03
Original commit files touched by this commit  1.12.1
Revision:424470
riggs search for other commits by this committer
Update to upstream release 1.12.1

Release 1.12.1 is a maintenance release which fixes some
regressions in the 1.12.0 version, including memory corruption
under certain conditions. Details can be found in the release
announcement: https://blog.rust-lang.org/2016/10/20/Rust-1.12.1.html

MFH:		2016Q4
10 Oct 2016 23:54:26
Original commit files touched by this commit  1.12.0
Revision:423736
amdmi3 search for other commits by this committer
- Unconditionally verbosify build as per PHB

Approved by:	portmgr blanket
02 Oct 2016 01:07:32
Original commit files touched by this commit  1.12.0
Revision:423098
marino search for other commits by this committer
lang/rust: Update distinfo.x86_64 for DragonFly support for v1.12

Preapproved by:	riggs
01 Oct 2016 14:28:38
Original commit files touched by this commit  1.12.0
Revision:423067
riggs search for other commits by this committer
Update to upstream release 1.12.0
20 Aug 2016 23:28:17
Original commit files touched by this commit  1.11.0
Revision:420534
marino search for other commits by this committer
lang/rust: Update distinfo.x86_64 for DragonFly support for v1.11
20 Aug 2016 05:57:34
Original commit files touched by this commit  1.11.0
Revision:420500
riggs search for other commits by this committer
Update to upstream release 1.11.0
09 Aug 2016 21:41:25
Original commit files touched by this commit  1.10.0
Revision:419974
riggs search for other commits by this committer
Fix build with non-standard PREFIX

PR:		211686
Submitted by:	mi
26 Jul 2016 07:39:30
Original commit files touched by this commit  1.10.0
Revision:419100
dumbbell search for other commits by this committer
lang/rust-nightly: Update to 1.12.0; snapshot from 2016-07-17

Reviewed by:	asomers, jbeich, riggs
Approved by:	jbeich, riggs
Differential Revision:	https://reviews.freebsd.org/D7275
12 Jul 2016 11:49:50
Original commit files touched by this commit  1.10.0
Revision:418420
marino search for other commits by this committer
lang/rust: Update distinfo.x86_64 for DragonFly support

A custom bootstrap compiler package had to be created for DragonFly using
FreeBSD's as a model since upstream did not provide one for DF this time.

Approved by:	riggs (maintainer)
11 Jul 2016 10:47:33
Original commit files touched by this commit  1.10.0
Revision:418362
riggs search for other commits by this committer
Fix build with PORT_LLVM OPTION; rust now requires LLVM 3.8

Reported by:	Kevin Oberman <rkoberman@gmail.com> via e-mail
10 Jul 2016 04:20:09
Original commit files touched by this commit  1.10.0
Revision:418298
riggs search for other commits by this committer
Update to upstream version 1.10.0
02 Jul 2016 19:06:35
Original commit files touched by this commit  1.9.0_1
Revision:417938
riggs search for other commits by this committer
Add DOCS OPTION for html docs, bump PORTREVISION

PR:		210613
Reported by:	beyert@cs.ucr.edu
Reviewed by:	riggs, marino, jbeich
Differential Revision:	https://reviews.freebsd.org/D7050
31 May 2016 21:23:59
Original commit files touched by this commit  1.9.0
Revision:416219
riggs search for other commits by this committer
Update to upstream release 1.9.0
17 Apr 2016 10:33:47
Original commit files touched by this commit  1.8.0
Revision:413503
riggs search for other commits by this committer
Make recent stage0 snapshot known to build system on DragonFly

Language changes require very recent stage0 snapshots to build
rust 1.8.0. Upstream forgot to make these snapshots known to the
build system. While this was patched for FreeBSD in r413501, it
was missed for DragonFly. This changeset fixes this.
17 Apr 2016 10:21:20
Original commit files touched by this commit  1.8.0
Revision:413501
riggs search for other commits by this committer
Update to upstream version 1.8.0

While on it:
- Incorporate patch by jbeich (D5897) to allow build with gcc

Differential Revision:	https://reviews.freebsd.org/D5897
07 Apr 2016 07:17:45
Original commit files touched by this commit  1.7.0
Revision:412657
jbeich search for other commits by this committer
lang/rust: unbreak non-poudriere build after r412305

gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/rust/work/rustc-1.7.0'
sed:
/wrkdirs/usr/ports/lang/rust/work/stage/usr/local/lib/rustlib/manifest-rust-std-x86_64-unknown-:
No such file or directory
*** Error code 1

PR:		208527
Pointy hat:	jbeich
Tested by:	Marko Cupac <marko.cupac@mimar.rs>, pilot513@gmail.com
Approved by:	riggs (maintainer)
MFH:		2016Q2
02 Apr 2016 14:49:00
Original commit files touched by this commit  1.7.0
Revision:412407
jbeich search for other commits by this committer
lang/rust: enslave lang/rust-nightly

* rust: drop no longer used RUST_SOURCE variable
* rust: apply rust-nightly FIXME comment about stage-qa (strip)
* rust-nightly: properly conflict for install with rust package
* rust-nightly: inherit |make test| support from r401025
* rust-nightly: as DOCSDIR is the same drop unnecessary DOCS option

Approved by:	riggs, dumbbell (maintainers)
Differential Revision:	https://reviews.freebsd.org/D5789
01 Apr 2016 14:08:38
Original commit files touched by this commit  1.7.0
Revision:412347
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.

With hat:	portmgr
Sponsored by:	Absolight
01 Apr 2016 01:16:08
Original commit files touched by this commit  1.7.0
Revision:412305
jbeich search for other commits by this committer
lang/rust: apply minor style

- Fix MIT view for LICENSES_ASK=1
- Convert BROKEN to new syntax
- Concatenate find(1) arguments and drop unnecessary `cd`
31 Mar 2016 20:04:49
Original commit files touched by this commit  1.7.0
Revision:412296
jbeich search for other commits by this committer
lang/rust: unblock DragonFly build

=> rust-stage0-.tar.bz2 doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch
http://static.rust-lang.org/stage0-snapshots/rust-stage0-.tar.bz2
fetch: http://static.rust-lang.org/stage0-snapshots/rust-stage0-.tar.bz2: Not
Found

Reported by:	muscles.dragonflybsd.org
Approved by:	portmgr "just fix it" blanket
27 Mar 2016 17:10:15
Original commit files touched by this commit  1.7.0
Revision:411998
riggs search for other commits by this committer
Fix staging error on systems where security/sudo is present

PR:		207930
Reported by:	pete@hayes.id.au, kib (via mail)
25 Mar 2016 06:38:23
Original commit files touched by this commit  1.7.0
Revision:411819
riggs search for other commits by this committer
Re-enable build with ports LLVM by non-default OPTION

PR:		208250
Submitted by:	jbeich
05 Mar 2016 12:41:03
Original commit files touched by this commit  1.7.0
Revision:410175
riggs search for other commits by this committer
Update to upstream version 1.7.0
22 Jan 2016 06:13:25
Original commit files touched by this commit  1.6.0
Revision:406890
riggs search for other commits by this committer
Update to upstream version 1.6.0
13 Dec 2015 14:21:05
Original commit files touched by this commit  1.5.0
Revision:403672
riggs search for other commits by this committer
Update to upstream version 1.5.0; add OPTION to depend on gdb from ports
07 Nov 2015 22:17:36
Original commit files touched by this commit  1.4.0_1
Revision:401025
riggs search for other commits by this committer
- Take maintainership
- Provide target for 'make test': Use bundled rust regression test suite
- Use bundled LLVM for now: Built with it, rust passes more regression tests
- Bump PORTREVISION
30 Oct 2015 11:39:31
Original commit files touched by this commit  1.4.0
Revision:400535
riggs search for other commits by this committer
Update to upstream version 1.4.0
19 Sep 2015 18:22:07
Original commit files touched by this commit  1.3.0
Revision:397335
riggs search for other commits by this committer
Enable rust on i386
19 Sep 2015 12:18:13
Original commit files touched by this commit  1.3.0
Revision:397320
riggs search for other commits by this committer
Update to upstream version 1.3.0
12 Sep 2015 14:49:45
Original commit files touched by this commit  1.2.0
Revision:396750
dumbbell search for other commits by this committer
lang/rust and lang/rust-nightly: Build-conflict with themselves

A newer version of Rust fails to build if an older version is installed
because the build process picks libraries in %%LOCALBASE%%/lib before
those from the build directory.

In the pkg-plist of both ports, `x86_64-unknown-freebsd` is now a
variable automatically set in the Makefile. This avoids the need for a
separate port for DragonFlyBSD. [1]

Still in the pkg-plist, RUST_VSN_HASH is automatically computed in the
lang/rust's Makefile, like it was already done for lang/rust-nightly.

lang/rust-nightly USES libedit. patch-mk_main.mk was copied from
lang/rust so the correct library is picked (ie. the one from Ports, not
(Only the first 15 lines of the commit message are shown above View all of this commit message)
03 Sep 2015 15:22:08
Original commit files touched by this commit  1.2.0
Revision:395967
vanilla search for other commits by this committer
1: Upgrade to 1.2.0.
2: add libedit to USES.
27 Jun 2015 18:26:41
Original commit files touched by this commit  1.1.0
Revision:390720
riggs search for other commits by this committer
- Update to upstream release 1.1.0
- Fix bug 200449 in the process

PR:		201142, 200449
Submitted by:	andoriyu@gmail.com
24 Jun 2015 17:09:27
Original commit files touched by this commit  1.0.0_1
Revision:390497
dumbbell search for other commits by this committer
lang/rust: Use LLVM 3.6 from Ports instead of the bundled one

Dependencies are updated: Perl is not a dependency at all and Python is
a build dependency only.

Rust may fail to build if a previous version is already installed
because the bootstrapped rustc puts "-L/usr/local/lib" at the beginning
of the linker flags. Therefore, mark rust as a CONFLICTS_BUILD with
itself.

Fix the build as a normal user by setting permissions on all directories
to 0755 [1].

Be closer to the standalone installer's file hierarchy by installing
files such as "components", "manifest-rustc" and "uninstall.sh".

Add "files/patch-src_librustc__back_target_freebsd__base.rs"
to remove "-L/usr/local/lib", "-L/usr/local/lib/gcc46" and
"-L/usr/local/lib/gcc44" from the builtin linker flags.

Differential Revision:	https://reviews.freebsd.org/D2466
Submitted by:	Chris Hutchinson [1]
Reviewed by:	jonathan, kwm
Approved by:	jonathan
18 May 2015 22:32:18
Original commit files touched by this commit  1.0.0
Revision:386722
riggs search for other commits by this committer
- Update to first stable upstream release 1.0.0
- Reflect stable release in pkg-descr
- Pet portlint

PR:		200284
Submitted by:	maciej@pasternacki.net
Reviewed by:	riggs
26 Mar 2015 14:29:57
Original commit files touched by this commit  0.12.0_1
Revision:382320
marino search for other commits by this committer
lang/rust: Add special IGNORE for DragonFly

lang/rust-dragonfly is in dports and it is bleeding edge (updated every
couple of weeks)
29 Oct 2014 16:08:27
Original commit files touched by this commit  0.12.0_1
Revision:371692
robak search for other commits by this committer
lang/rust: add PORTREVISION mistakenly ommitted from yesterday's fix

Approved by:	mentors (implicit)
28 Oct 2014 14:21:29
Original commit files touched by this commit  0.12.0
Revision:371637
robak search for other commits by this committer
lang/rust: fixes

- Remove extra STRIP_CMD from the Makefile
- Fix SRIP_CMD that was stripping statically linked libraries

Approved by:	mentors (implicit)
26 Oct 2014 17:39:55
Original commit files touched by this commit  0.12.0
Revision:371509
robak search for other commits by this committer
lang/rust: update 0.11.0 -> 0.12.0

- Delete obsolete patch
- Convert to @dir usage

Approved by:	mentors (implicit)
20 Oct 2014 17:52:17
Original commit files touched by this commit  0.11.0_1
Revision:371288
mva search for other commits by this committer
- Convert ports of irc/ and lang/ to new USES=python

Approved by:	portmgr (implicit)
28 Jul 2014 22:58:33
Original commit files touched by this commit  0.11.0_1
Revision:363270
marino search for other commits by this committer
lang/rust: Fix link issue and build failure

[1] Linking fails with missing reference to __morestack symbol
[2] gpy fails with error about missing sem implementation

PR:		189357 [1]
PR:		191927 [2]
Submitted by:	bertrand.augereau (gmail) [1]
Submitted by:	maintainer: mitsuruike (gmail) [2]
23 Jul 2014 07:41:08
Original commit files touched by this commit  0.11.0
Revision:362630
danfe search for other commits by this committer
- Give the reason why the port is currently amd64-only
- Remove no-op patch file (builds just fine with -Werror as it seems)
- In BATCH or PACKAGE_BUILDING modes, produce verbose build logs
- Rework post-extract target: do not extract bootstrap compiler ourselves,
  put it into expected download directory instead; this also allows us to
  optimize away RUST_TARGET knob and post-patch hack
- Since the port is for FreeBSD 10+, no need to explicitly depend on
  libexecinfo.so
- Use OPTIONS helpers, perform some other minor Makefile cleanups
- Augment port description text while I am here
11 Jul 2014 07:27:38
Original commit files touched by this commit  0.11.0
Revision:361507
robak search for other commits by this committer
lang/rust: update 0.10 -> 0.11

Approved by:	marino (mentor)
10 Jun 2014 06:31:43
Original commit files touched by this commit  0.10
Revision:357273
linimon search for other commits by this committer
Reset maintainership.

PR:		190858
PR:		190859
PR:		190860
PR:		190861
PR:		190862
PR:		190863
PR:		190864
Submitted by:	former maintainer
Approved by:	portmgr (blanket)
20 May 2014 19:32:39
Original commit files touched by this commit  0.10
Revision:354670
tijl search for other commits by this committer
Quote ${CC} and similar variables in MAKE_ARGS.

Reported by:	Dominic Fandrey <kamikaze@bsdforen.de>
05 May 2014 15:31:20
Original commit files touched by this commit  0.10
Revision:353027
marino search for other commits by this committer
lang/rust: Couple OPSYS with OSVERSION (Unbreaks DragonFly)
27 Apr 2014 08:02:10
Original commit files touched by this commit  0.10
Revision:352402
swills search for other commits by this committer
- Update to 0.10
- Remove deprecated rustpkg functionality
- Stage improvements
- Add 10.x and 11.x compability
- Pet portlint

PR:		ports/188800
Submitted by:	Bartek Rutkowski <ports@robakdesign.com>
Approved by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
15 Mar 2014 07:03:58
Original commit files touched by this commit  0.9
Revision:348291
eadler search for other commits by this committer
lang/rust: update to 0.9
- stagiy
- mark as broken on 10+
- update to 0.9
- add new options
- add LICENSE

PR:		ports/185868
PR:		ports/185865
Submitted by:	Oleksii Tsai <oleksii.tsai@googlemail.com>
Approved by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
13 Jan 2014 21:00:04
Original commit files touched by this commit  0.8
Revision:339634
rene search for other commits by this committer
Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
06 Oct 2013 03:32:29
Original commit files touched by this commit  0.8
Revision:329526
vanilla search for other commits by this committer
Upgrade to 0.8.

PR:		ports/182502
Submitted by:	maintainer
20 Sep 2013 19:53:10
Original commit files touched by this commit  0.7
Revision:327741
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
lang)
17 Sep 2013 06:40:21
Refresh Original commit files touched by this commit
Revision:327452  Sanity Test Failure
bapt search for other commits by this committer
Convert to new perl framework
Convert from USE_GMAKE to USES=gmake
08 Sep 2013 15:10:43
Original commit files touched by this commit  0.7
Revision:326743
bdrewery search for other commits by this committer
Mark MAKE_JOBS_UNSAFE
09 Jul 2013 12:51:32
Original commit files touched by this commit  0.7
Revision:322557
vanilla search for other commits by this committer
Upgrade to 0.7.

PR:		ports/180405
Submitted by:	maintainer
24 Apr 2013 13:46:41
Original commit files touched by this commit  0.6
Revision:316436
lwhsu search for other commits by this committer
- Update to 0.6

PR:		ports/177665
Submitted by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
07 Jan 2013 06:35:05
Original commit files touched by this commit  0.5
Revision:310023
lwhsu search for other commits by this committer
- Update to 0.5

PR:		ports/174670
Submitted by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
18 Oct 2012 07:03:50
Original commit files touched by this commit  0.4
Revision:306053
vanilla search for other commits by this committer
Upgrade to 0.4.

PR:		ports/172791
Submitted by:	maintainer
Feature safe:   yes
19 Jul 2012 22:06:33
Original commit files touched by this commit  0.3
ak search for other commits by this committer
- Update to 0.3 (see
https://github.com/mozilla/rust/blob/release-0.3/RELEASES.txt)

PR:	ports/169906
Submitted by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
28 Jun 2012 02:09:38
Original commit files touched by this commit  0.2
lwhsu search for other commits by this committer
- Use empty() to check if an option is not set

PR:             ports/169051
Submitted by:   Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
13 Jun 2012 17:01:04
Original commit files touched by this commit  0.2
lwhsu search for other commits by this committer
- Use the new options framework

PR:             ports/168703
Submitted by:   Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
24 May 2012 16:44:44
Original commit files touched by this commit  0.2
sperber search for other commits by this committer
- Add newline at the end of distinfo

Submitted by:   Alex Kozlov <spam _at_ rm-rf.kiev.ua> (maintainer)
Approved by:    beat (mentor)
22 May 2012 17:49:35
Original commit files touched by this commit  0.2
sperber search for other commits by this committer
This patch fixes the problem that it attempts to fetch a file during building.
It adds snapshot to distfiles and removes code for downloading.

PR:            ports/168223
Submitted by:  Jyun-Yan You <jyyou _at_ cs.nctu.edu.tw> (maintainer)
Reported by:   pointyhat-west
Approved by:   decke (mentor)
07 Apr 2012 16:22:24
Original commit files touched by this commit  0.2
scheidell search for other commits by this committer
- Update to 0.2
- The bootstrap compiler needs "cc" to link objects.

PR:             ports/166551
Submitted by:   Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
Feature safe:   yes
15 Mar 2012 15:28:13
Original commit files touched by this commit  0.1_1
gerald search for other commits by this committer
Replace USE_GCC=4.4+ by USE_GCC=4.6+, a noop on the build cluster.

Approved by:    maintainer (jyyou@cs.nctu.edu.tw)
Feature safe:   yes
02 Feb 2012 18:17:31
Original commit files touched by this commit  0.1_1
jgh search for other commits by this committer
- fix linker errors for systems that have installed llvm
- let clang build llvm
- fix build on ${OSVERSION} < 800107

PR: ports/164467
Submitted by: maintainer, jyyou at cs.nctu.edu.tw
Approved by:    crees (mentor)
23 Jan 2012 16:07:04
Original commit files touched by this commit  0.1
lwhsu search for other commits by this committer
Add rust 0.1, a language with a focus on memory safety and concurrency.

PR:             ports/164366
Submitted by:   Jyun-Yan You <jyyou@cs.nctu.edu.tw>

Number of commits found: 88

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
libsoup*Aug 20
drupal8Aug 19
zabbix2-proxyAug 16
zabbix2-serverAug 16
zabbix22-proxyAug 16
zabbix22-serverAug 16
zabbix3-proxyAug 16
zabbix3-serverAug 16
zabbix32-proxyAug 16
zabbix32-serverAug 16
gitlab*Aug 15
py-supervisorAug 15
freeradius3Aug 14
mariadb100-server*Aug 12
mariadb101-server*Aug 12

17 vulnerabilities affecting 122 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 31199
Broken 165
Deprecated 106
Ignore 470
Forbidden 0
Restricted 212
No CDROM 85
Vulnerable 222
Expired 39
Set to expire 101
Interactive 0
new 24 hours 13
new 48 hours28
new 7 days111
new fortnight233
new month420

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.