Commit graph

68 commits

Author SHA1 Message Date
John Marino
106c638a6e lang/rust: Update distinfo.x86_64 for DragonFly support for v1.13
Preapproved by:	riggs
2016-11-15 23:47:08 +00:00
Thomas Zander
9439a669a2 Update to upstream version 1.13.0 2016-11-11 21:45:40 +00:00
Mathieu Arnold
d26ef18700 Cleanup no longer needed CHMOD usage after r424898.
PR:		213743
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-11-02 22:45:14 +00:00
Thomas Zander
aa005f6642 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
2016-10-22 12:37:02 +00:00
Dmitry Marakasov
ce67c40af2 - Unconditionally verbosify build as per PHB
Approved by:	portmgr blanket
2016-10-10 23:54:26 +00:00
John Marino
16c36744d1 lang/rust: Update distinfo.x86_64 for DragonFly support for v1.12
Preapproved by:	riggs
2016-10-02 01:07:32 +00:00
Thomas Zander
f5a0c66880 Update to upstream release 1.12.0 2016-10-01 14:28:38 +00:00
John Marino
7b72c46456 lang/rust: Update distinfo.x86_64 for DragonFly support for v1.11 2016-08-20 23:28:17 +00:00
Thomas Zander
43a31b7fc5 Update to upstream release 1.11.0 2016-08-20 05:57:34 +00:00
Thomas Zander
5e3a6e5de2 Fix build with non-standard PREFIX
PR:		211686
Submitted by:	mi
2016-08-09 21:41:25 +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
John Marino
d4d58faea9 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)
2016-07-12 11:49:49 +00:00
Thomas Zander
eb50a84b80 Fix build with PORT_LLVM OPTION; rust now requires LLVM 3.8
Reported by:	Kevin Oberman <rkoberman@gmail.com> via e-mail
2016-07-11 10:47:33 +00:00
Thomas Zander
6d498fee32 Update to upstream version 1.10.0 2016-07-10 04:20:09 +00:00
Thomas Zander
e889edec1b 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
2016-07-02 19:06:34 +00:00
Thomas Zander
35862d3bc3 Update to upstream release 1.9.0 2016-05-31 21:23:59 +00:00
Thomas Zander
1d29f2c4c1 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.
2016-04-17 10:33:47 +00:00
Thomas Zander
541aeef968 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
2016-04-17 10:21:20 +00:00
Jan Beich
811236773d 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 Cupać <marko.cupac@mimar.rs>, pilot513@gmail.com
Approved by:	riggs (maintainer)
MFH:		2016Q2
2016-04-07 07:17:45 +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
Jan Beich
0e6b1c7f1c 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
2016-03-31 20:04:49 +00:00
Thomas Zander
aa3056e413 Fix staging error on systems where security/sudo is present
PR:		207930
Reported by:	pete@hayes.id.au, kib (via mail)
2016-03-27 17:10:15 +00:00
Thomas Zander
7af83eacba Re-enable build with ports LLVM by non-default OPTION
PR:		208250
Submitted by:	jbeich
2016-03-25 06:38:23 +00:00
Thomas Zander
3295b60571 Update to upstream version 1.7.0 2016-03-05 12:41:03 +00:00
Thomas Zander
c7dfd4a451 Update to upstream version 1.6.0 2016-01-22 06:13:25 +00:00
Thomas Zander
40e7ec9ec0 Update to upstream version 1.5.0; add OPTION to depend on gdb from ports 2015-12-13 14:21:05 +00:00
Thomas Zander
802d19424f - 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
2015-11-07 22:17:36 +00:00
Thomas Zander
fbf963a047 Update to upstream version 1.4.0 2015-10-30 11:39:31 +00:00
Thomas Zander
77c24edc61 Enable rust on i386 2015-09-19 18:22:06 +00:00
Thomas Zander
4e7dc1cf18 Update to upstream version 1.3.0 2015-09-19 12:18:12 +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
Vanilla I. Shu
92219a48b9 1: Upgrade to 1.2.0.
2: add libedit to USES.
2015-09-03 15:22:07 +00:00
Thomas Zander
a93678e387 - Update to upstream release 1.1.0
- Fix bug 200449 in the process

PR:		201142, 200449
Submitted by:	andoriyu@gmail.com
2015-06-27 18:26:41 +00:00
Jean-Sébastien Pédron
c67d07b850 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
2015-06-24 17:09:27 +00:00
Thomas Zander
809287503d - 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
2015-05-18 22:32:17 +00:00
John Marino
69b8346356 lang/rust: Add special IGNORE for DragonFly
lang/rust-dragonfly is in dports and it is bleeding edge (updated every
couple of weeks)
2015-03-26 14:29:57 +00:00
Bartek Rutkowski
ab40b87a40 lang/rust: add PORTREVISION mistakenly ommitted from yesterday's fix
Approved by:	mentors (implicit)
2014-10-29 16:08:27 +00:00
Bartek Rutkowski
7323ebb6c4 lang/rust: fixes
- Remove extra STRIP_CMD from the Makefile
- Fix SRIP_CMD that was stripping statically linked libraries

Approved by:	mentors (implicit)
2014-10-28 14:21:28 +00:00
Bartek Rutkowski
c5e0460bcc lang/rust: update 0.11.0 -> 0.12.0
- Delete obsolete patch
- Convert to @dir usage

Approved by:	mentors (implicit)
2014-10-26 17:39:54 +00:00
Marcus von Appen
734b63302e - Convert ports of irc/ and lang/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-20 17:52:16 +00:00
John Marino
b13d6b9703 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]
2014-07-28 22:58:33 +00:00
Alexey Dokuchaev
35eec38ead - 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
2014-07-23 07:41:07 +00:00
Bartek Rutkowski
df4a2efa1a lang/rust: update 0.10 -> 0.11
Approved by:	marino (mentor)
2014-07-11 07:27:37 +00:00
Mark Linimon
02104a6160 Reset maintainership.
PR:		190858
PR:		190859
PR:		190860
PR:		190861
PR:		190862
PR:		190863
PR:		190864
Submitted by:	former maintainer
Approved by:	portmgr (blanket)
2014-06-10 06:31:43 +00:00
Tijl Coosemans
f191d6b887 Quote ${CC} and similar variables in MAKE_ARGS.
Reported by:	Dominic Fandrey <kamikaze@bsdforen.de>
2014-05-20 19:32:39 +00:00
John Marino
4991917f1b lang/rust: Couple OPSYS with OSVERSION (Unbreaks DragonFly) 2014-05-05 15:31:20 +00:00
Steve Wills
3321d2c734 - 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)
2014-04-27 08:02:10 +00:00
Eitan Adler
4a4e829231 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)
2014-03-15 07:03:58 +00:00