Commit graph

15 commits

Author SHA1 Message Date
Jean-Sébastien Pédron
177c2c8937 lang/rust-nightly: Inherit MAINTAINER from lang/rust
Thus, the new maintainer of this port is rust@FreeBSD.org.
2017-06-27 22:08:07 +00:00
Jean-Sébastien Pédron
a45a5e2a65 lang/rust-nightly: Mark the port as broken
The port needs to be adapted after recent changes to lang/rust.
2017-06-27 22:06:18 +00:00
Jean-Sébastien Pédron
cc125b3b4b 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
2017-03-06 13:27:57 +00:00
Alan Somers
fc869c8727 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
2017-03-01 23:35:05 +00:00
Jean-Sébastien Pédron
8b84c255e7 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
2017-02-22 19:04:03 +00:00
Mathieu Arnold
cd19d23292 More USE_GITHUB cleanup.
Use GH_SUBDIR, or GH_TUPLE, where applicable.

Sponsored by:	Absolight
2016-12-14 16:06:19 +00:00
Jean-Sébastien Pédron
b3457490d0 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
2016-07-26 07:39:29 +00:00
Dmitry Marakasov
43a8d5f5dd - Mark BROKEN: no suitable checksum found for rustc-1.9.0-x86_64-unknown-freebsd.tar.gz.
Reported by:	pkg-fallout
Approved by:	portmgr blanket
2016-07-18 17:02:46 +00:00
Jan Beich
3cd0edb39d lang/rust-nightly: better rebase r412407 against r412305
BROKEN_FreeBSD_9 is already defined by master port.

Differential Revision:	https://reviews.freebsd.org/D5789
2016-04-02 15:11:59 +00:00
Jan Beich
c5433c2e29 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
2016-04-02 14:49:00 +00:00
Mathieu Arnold
a9dcad2fff Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:08:37 +00:00
Jan Beich
bd780e4f43 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`
2016-04-01 01:16:08 +00:00
Jean-Sébastien Pédron
56f603e2d0 lang/rust-nightly: Update to 1.9.0.20160318
While here, relevant improvements made to lang/rust were copied.

PR:		204418, 206091
Reviewed by:	asomers, jbeich
Approved by:	asomers, jbeich
Differential Revision:	https://reviews.freebsd.org/D5766
2016-03-29 17:58:59 +00:00
Jean-Sébastien Pédron
23df892f4d 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
the one from the base). This was already fixed in lang/rust.

lang/rust includes bsd.port.options.mk and bsd.port.mk, instead of
bsd.port.pre.mk and bsd.port.post.mk. This was already fixed in
lang/rust-nightly.

Both ports are now closer to each other.

PR:		202869 [1]
Submitted by:	Michael Neumann <mneumann@ntecs.de> [1]
Reviewed by:	kwm
Approved by:	kwm
Differential Revision:	https://reviews.freebsd.org/D3234
2015-09-12 14:49:44 +00:00
Jean-Sébastien Pédron
647a98aff0 lang/rust-nightly: New port for the nightly version of Rust
Differential Revision:	https://reviews.freebsd.org/D2798
Reviewed by:	jonathan, kwm
Approved by:	jonathan
2015-07-14 22:36:53 +00:00