===> The following configuration options are available for cargo-0.19.0:
BOOTSTRAP=on: Bootstrap using pre-built vendor snapshot
===> Use 'make config' to modify these settings
lang/rust: Install Cargo + use bundled crates
This port now provides Cargo. This is the recommended now because Cargo
won't be provided separately in the future.
To build Cargo, we set `extended = true` in `config.toml`. As a side
effect, this flag also installs Rust source code. The port has a new
`SOURCES` option (disabled by default) to keep those sources.
As a consequence of this, `devel/cargo` is removed. Several ports
and Makefiles in Mk were updated to depend on `lang/rust` instead of
`devel/cargo`.
The other big change in this patch is the use of the bundled crates,
instead of relying on Cargo's registry (which was part of the distfiles,
(Only the first 15 lines of the commit message are shown above )
devel/cargo: Update to 0.19.0 + enable on FreeBSD/aarch64
See r443777 for details on the FreeBSD/aarch64 bootstrap.
PR: 216143
Differential Revision: https://reviews.freebsd.org/D10867
devel/cargo: Update to 0.17.0
Beside the new upstream release, the port was cleaned up a bit to be
closer to the lang/rust* ports.
PR: 217338
Reported by: jbeich
Approved by: antoine
Differential Revision: https://reviews.freebsd.org/D9906
devel/cargo: Add patch to fix LibreSSL support
Cargo crashes when compiled with LibreSSL. To fix this, it needs newer
versions of some crates it depends on. See the following GitHub pull
request:
https://github.com/rust-lang/cargo/pull/3521
The registry is also recreated because of those new crates.
`PORTREVISION` is bumped to 2.
PR: 216431
Reported by: NHO (#freebsd-ports IRC channel)
Tested by: NHO, matthew@reztek.cz, Ben Woods
Approved by: antoine (mentor)
Differential Revision: https://reviews.freebsd.org/D9327
devel/cargo: Fix bootstrap checksum + use ${OPENSSLBASE}
Because devel/cargo and lang/rust-nightly use a different DISTFILE with
the same name, the wrong checksum and size was selected in devel/cargo.
To fix this, keep the parent directory (a date) in the DISTFILE name.
Also, depending on the value of DEFAULT_VERSION=ssl= and whether OpenSSL
from ports is installed, the openssl-sys crate could fail to build.
Passing OpenSSL location to make was way too complicated anyway. So
simplify it and use ${OPENSSLBASE}. This was reported in PR 216385.
Bump PORTREVISION to 1.
PR: 216143, 216385
Reported by: gja822@narod.ru (216385, SSL build failure)
Approved by: antoine (mentor), jbeich
Differential Revision: https://reviews.freebsd.org/D9295
devel/cargo: Update to 0.15.0, enable on i386
The new version requires cargo(1) to be available. Therefore, we let the
Ports system to extract the bootstrap cargo (it was done by the Cargo
build system before) and set a configure flag to point to it.
We need to set OPENSSL_DIR as a Make environment variable because the
openssl-sys crate's build.rs doesn't know about FreeBSD.
Finally, enable devel/cargo on i386. A bootstrap cargo executable is
available for FreeBSD/i386 since last October but I missed it. We can
now use it to build a port/package for i386.
PR: 216143
Approved by: bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D9273
devel/cargo: Update to 0.14.0
This implicitely fixes the fact that the previous bootstrap archive
fetch was failing because it was updated from a snapshot of
0.12.0-nightly to 0.13.0-nightly, even though the same URL was used.
Approved by: jbeich
Differential Revision: https://reviews.freebsd.org/D8596
devel/cargo: Build on amd64 only
Cargo requires a prebuilt bootstrapped version of itself. The only one
available for FreeBSD is for amd64.
This prevents build failures on i386.
Reviewed by: jbeich
Approved by: jbeich
MFH: 2016Q1
Differential Revision: https://reviews.freebsd.org/D5219
devel/cargo: update to 0.7.0 (release) and cleanup
- Compress :registry with xz(1) to save a few megabytes
- Add BOOTSTRAP option to build with already installed Cargo
- Generate distfiles with BOOTSTRAP=off for extra deps
- Require recent lang/rust to build (older versions not tested)
- Drop cargo-nightly and rust-nightly hacks. The latter is still supported
via RUST_PORT=lang/rust-nightly in environment, make.conf, Makefile.local
- Drop MAKE_JOBS_UNSAFE, builds fine with MAKE_JOBS_NUMBER=32
- Drop _GH0 suffix from non-GitHub distfile
- Don't use OpenSSL port on 11.0-CURRENT (no RPATH in bootstrap)
- Don't install duplicate licenses under DOCSDIR
- Don't depend on lang/python2 when only lang/python27 is used
- Simplify manpage directory substitution
- Fix LICENSE_FILE when used with LICENSE_COMB != single
- Fix gen-registry target when WRKDIRPREFIX == MAKEOBJDIRPREFIX
- Cleanup gen-registry target
- Respect PREFIX != /usr/local
- Prepare CARGO_BOOT_SIG for i386 and DragonFly
- Apply minor style
PR: 205529
Approved by: maintainer timeout (1 month)
MFH: 2016Q1
Differential Revision: https://reviews.freebsd.org/D4562