aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/rust/Makefile14
-rw-r--r--lang/rust/distinfo8
-rw-r--r--lang/rust/files/patch-mk_platform.mk12
-rw-r--r--lang/rust/pkg-plist149
4 files changed, 95 insertions, 88 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index a78e4b7a068e..cba4ef11f255 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= rust
-PORTVERSION= 0.10
+PORTVERSION= 0.11.0
CATEGORIES= lang
MASTER_SITES= http://static.rust-lang.org/dist/:src \
http://static.rust-lang.org/stage0-snapshots/:boot
@@ -21,7 +21,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE-APACHE \
RUST_SOURCE= ${DISTNAME}${EXTRACT_SUFX}
RUST_BOOT= rust-stage0-${RUST_BOOT_SIG}.tar.bz2
-RUST_BOOT_SIG= 2014-03-28-b8601a3-freebsd-x86_64-c6b0651b2a90697754920ad381c13f9b7942ab47
+RUST_BOOT_SIG= 2014-06-21-db9af1d-freebsd-x86_64-ef2bd0fc0b0efa2bd6f5c1eaa60a2ec8df533254
RUST_TARGET= x86_64-unknown-freebsd
ONLY_FOR_ARCHS= amd64
@@ -39,14 +39,8 @@ LLNEXTGEN_DESC= Build with grammar verification
LIB_DEPENDS+= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
-.if ${OPSYS} == FreeBSD
-.if ${OSVERSION} < 900044
-BROKEN= Only compiles on FreeBSD 9,10 and 11
-.endif
-
-.if ${OSVERSION} >= 1000000
-BUILD_DEPENDS+= ${LOCALBASE}/lib/compat/libstdc++.so.6:${PORTSDIR}/misc/compat9x
-.endif
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
+BROKEN= Only compiles on FreeBSD 10 and 11
.endif
.if ${PORT_OPTIONS:MLLNEXTGEN}
diff --git a/lang/rust/distinfo b/lang/rust/distinfo
index df21937fadd7..989ee0fa90cc 100644
--- a/lang/rust/distinfo
+++ b/lang/rust/distinfo
@@ -1,4 +1,4 @@
-SHA256 (rust-0.10.tar.gz) = c72cfbbf03016804a81d7b68e8258ffaf018f8f5a25550ad64571ce6c2642cf9
-SIZE (rust-0.10.tar.gz) = 19538709
-SHA256 (rust-stage0-2014-03-28-b8601a3-freebsd-x86_64-c6b0651b2a90697754920ad381c13f9b7942ab47.tar.bz2) = ed4214b795e6de322b7aea23e2d97b2399893931218f7c07453ddabcf21a5add
-SIZE (rust-stage0-2014-03-28-b8601a3-freebsd-x86_64-c6b0651b2a90697754920ad381c13f9b7942ab47.tar.bz2) = 11942997
+SHA256 (rust-0.11.0.tar.gz) = d1b3e36448bf12b8c9289024df416de10774b6d3235d7b1d22b248ef634411ba
+SIZE (rust-0.11.0.tar.gz) = 21555837
+SHA256 (rust-stage0-2014-06-21-db9af1d-freebsd-x86_64-ef2bd0fc0b0efa2bd6f5c1eaa60a2ec8df533254.tar.bz2) = 25d052162926e4876e36fb61018c40e84cd7032f215ff954d2b8c26c70115976
+SIZE (rust-stage0-2014-06-21-db9af1d-freebsd-x86_64-ef2bd0fc0b0efa2bd6f5c1eaa60a2ec8df533254.tar.bz2) = 12293226
diff --git a/lang/rust/files/patch-mk_platform.mk b/lang/rust/files/patch-mk_platform.mk
index 3f9f7485e980..6687ecb21fb5 100644
--- a/lang/rust/files/patch-mk_platform.mk
+++ b/lang/rust/files/patch-mk_platform.mk
@@ -1,11 +1,11 @@
---- mk/platform.mk.orig 2014-01-20 12:47:42.902789736 +0800
-+++ mk/platform.mk 2014-01-20 12:47:53.647790608 +0800
-@@ -522,7 +522,7 @@
- CFG_STATIC_LIB_NAME_x86_64-unknown-freebsd=lib$(1).a
+--- mk/platform.mk.orig 2014-07-03 11:11:37.699489136 +0200
++++ mk/platform.mk 2014-07-03 11:13:34.454205727 +0200
+@@ -562,7 +562,7 @@
CFG_LIB_GLOB_x86_64-unknown-freebsd=lib$(1)-*.so
CFG_LIB_DSYM_GLOB_x86_64-unknown-freebsd=$(1)-*.dylib.dSYM
--CFG_GCCISH_CFLAGS_x86_64-unknown-freebsd := -Wall -Werror -g -fPIC -I/usr/local/include
-+CFG_GCCISH_CFLAGS_x86_64-unknown-freebsd := -Wall -g -fPIC -I/usr/local/include
+ CFG_CFLAGS_x86_64-unknown-freebsd := -I/usr/local/include $(CFLAGS)
+-CFG_GCCISH_CFLAGS_x86_64-unknown-freebsd := -Wall -Werror -g -fPIC -I/usr/local/include $(CFLAGS)
++CFG_GCCISH_CFLAGS_x86_64-unknown-freebsd := -Wall -g -fPIC -I/usr/local/include $(CFLAGS)
CFG_GCCISH_LINK_FLAGS_x86_64-unknown-freebsd := -shared -fPIC -g -pthread -lrt
CFG_GCCISH_DEF_FLAG_x86_64-unknown-freebsd := -Wl,--export-dynamic,--dynamic-list=
CFG_GCCISH_PRE_LIB_FLAGS_x86_64-unknown-freebsd := -Wl,-whole-archive
diff --git a/lang/rust/pkg-plist b/lang/rust/pkg-plist
index 681b3b0906ba..ca8b4602e4ac 100644
--- a/lang/rust/pkg-plist
+++ b/lang/rust/pkg-plist
@@ -1,72 +1,85 @@
bin/rustc
bin/rustdoc
-lib/libtest-aca9f118-0.10.so
-lib/libtime-58f63fc6-0.10.so
-lib/libsync-12723c47-0.10.so
-lib/librustc-068bdd27-0.10.so
-lib/libflate-6e405485-0.10.so
-lib/libcollections-d806bd21-0.10.so
-lib/librustdoc-652a145d-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libuuid-e10dc465-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libserialize-3ec61d8e-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libarena-862d25bd-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libtest-aca9f118-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libfourcc-bdd8db56-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/librand-15245696-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libtime-58f63fc6-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libsync-12723c47-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libnative-72349f30-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/librustc-068bdd27-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libtest-aca9f118-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libflate-6e405485-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libnum-85d3e2cc-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libmorestack.a
-lib/rustlib/x86_64-unknown-freebsd/lib/libcollections-d806bd21-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/librustdoc-652a145d-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/liburl-20851330-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/librustuv-59da37cb-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libtime-58f63fc6-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libsemver-91d9a1a0-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/librand-15245696-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libcollections-d806bd21-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libgetopts-a730521c-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libserialize-3ec61d8e-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libgreen-ff6cea05-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libworkcache-ba12ef35-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libuuid-e10dc465-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/liblog-11894fa1-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libflate-6e405485-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libglob-e345fe87-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libsync-12723c47-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libstd-8b97b62e-0.10.so
+lib/libarena-b986d21c-0.11.0.so
+lib/libdebug-259338fe-0.11.0.so
+lib/libflate-dd202f5d-0.11.0.so
+lib/libfmt_macros-1d4f94bf-0.11.0.so
+lib/libgetopts-de95cee8-0.11.0.so
+lib/libgraphviz-c1a03dc9-0.11.0.so
+lib/liblog-cd31a5b6-0.11.0.so
+lib/libnative-35e04b6f-0.11.0.so
+lib/libregex-c7058059-0.11.0.so
+lib/librustc-a9826c4a-0.11.0.so
+lib/librustdoc-851f57e3-0.11.0.so
+lib/librustrt-805dca70-0.11.0.so
+lib/libserialize-c021c5fb-0.11.0.so
+lib/libstd-e32fa708-0.11.0.so
+lib/libsync-eaefc6bd-0.11.0.so
+lib/libsyntax-cb63d668-0.11.0.so
+lib/libterm-3510b061-0.11.0.so
+lib/libtest-93b19fbd-0.11.0.so
+lib/libtime-63ba030f-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/liballoc-b6751242-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libarena-b986d21c-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libarena-b986d21c-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libcollections-0ca54e03-0.11.0.rlib
lib/rustlib/x86_64-unknown-freebsd/lib/libcompiler-rt.a
-lib/rustlib/x86_64-unknown-freebsd/lib/libterm-016974a5-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/liblog-11894fa1-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libgetopts-a730521c-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libgreen-ff6cea05-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libworkcache-ba12ef35-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libstd-8b97b62e-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/liburl-20851330-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libhexfloat-ef02b0da-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libsemver-91d9a1a0-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libnative-72349f30-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/librustuv-59da37cb-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libglob-e345fe87-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libterm-016974a5-0.10.rlib
-lib/rustlib/x86_64-unknown-freebsd/lib/libarena-862d25bd-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libnum-85d3e2cc-0.10.so
-lib/rustlib/x86_64-unknown-freebsd/lib/libsyntax-8ef99071-0.10.so
-lib/librand-15245696-0.10.so
-lib/libgetopts-a730521c-0.10.so
-lib/libserialize-3ec61d8e-0.10.so
-lib/libstd-8b97b62e-0.10.so
-lib/libterm-016974a5-0.10.so
-lib/liblog-11894fa1-0.10.so
-lib/libnative-72349f30-0.10.so
-lib/libarena-862d25bd-0.10.so
-lib/libsyntax-8ef99071-0.10.so
-man/man1/rustdoc.1.gz
+lib/rustlib/x86_64-unknown-freebsd/lib/libcore-689cffe6-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libdebug-259338fe-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libdebug-259338fe-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libflate-dd202f5d-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libflate-dd202f5d-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libfmt_macros-1d4f94bf-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libfourcc-a33fb22e-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libgetopts-de95cee8-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libgetopts-de95cee8-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libglob-1b430430-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libglob-1b430430-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libgraphviz-c1a03dc9-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libgraphviz-c1a03dc9-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libgreen-d290d028-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libgreen-d290d028-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libhexfloat-9f6f391f-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/liblibc-fad3bb9d-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/liblog-cd31a5b6-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/liblog-cd31a5b6-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libmorestack.a
+lib/rustlib/x86_64-unknown-freebsd/lib/libnative-35e04b6f-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libnative-35e04b6f-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libnum-8b683e59-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libnum-8b683e59-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/librand-96f3f4c6-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libregex-c7058059-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libregex-c7058059-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libregex_macros-eaf06519-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/librlibc-7494a78e-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/librustc-a9826c4a-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/librustdoc-851f57e3-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/librustrt-805dca70-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/librustrt-805dca70-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/librustuv-e71b02d9-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/librustuv-e71b02d9-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libsemver-9f099863-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libsemver-9f099863-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libserialize-c021c5fb-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libserialize-c021c5fb-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libstd-e32fa708-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libstd-e32fa708-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libsync-eaefc6bd-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libsync-eaefc6bd-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libsyntax-cb63d668-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libterm-3510b061-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libterm-3510b061-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libtest-93b19fbd-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libtest-93b19fbd-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libtime-63ba030f-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libtime-63ba030f-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/liburl-49817968-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/liburl-49817968-0.11.0.so
+lib/rustlib/x86_64-unknown-freebsd/lib/libuuid-516f5013-0.11.0.rlib
+lib/rustlib/x86_64-unknown-freebsd/lib/libuuid-516f5013-0.11.0.so
man/man1/rustc.1.gz
-@dirrm lib/rustlib/x86_64-unknown-freebsd/lib
-@dirrm lib/rustlib/x86_64-unknown-freebsd
-@dirrm lib/rustlib
+man/man1/rustdoc.1.gz
+@dirrmtry lib/rustlib/x86_64-unknown-freebsd/lib
+@dirrmtry lib/rustlib/x86_64-unknown-freebsd
+@dirrmtry lib/rustlib