File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 11PORTNAME = rust
22PORTVERSION? = 1.77.0
3- PORTREVISION? = 0
3+ PORTREVISION? = 1
44CATEGORIES = lang
55MASTER_SITES = https://static.rust-lang.org/dist/:src \
66 https://dev-static.rust-lang.org/dist/:src \
@@ -34,6 +34,7 @@ CPE_VENDOR= rust-lang
3434
3535MAKE_ENV = DESTDIR=${STAGEDIR} \
3636 LIBGIT2_NO_PKG_CONFIG=1 \
37+ RUST_BACKTRACE=1 \
3738 OPENSSL_DIR="${OPENSSLBASE}"
3839TEST_ENV = ${MAKE_ENV} \
3940 ALLOW_NONZERO_RLIMIT_CORE=1
@@ -101,13 +102,9 @@ IGNORE= is only for FreeBSD
101102.if ${ARCH} == powerpc
102103LIB_DEPENDS+ = libatomic.so:lang/gcc${GCC_DEFAULT}
103104MAKE_ENV+ = RUSTFLAGS="-L/usr/local/lib/gcc${GCC_DEFAULT}"
104- .else
105- MAKE_ENV+ = RUST_BACKTRACE=1
106- .endif
107-
108105# rls doesn't build on rust nightly
109106# rls needs 64-bit atomics: it doesn't build on powerpc
110- .if !defined(NIGHTLY_DATE) && ${ARCH} != powerpc
107+ .elif !defined(NIGHTLY_DATE)
111108_RUST_TOOLS+ = rls
112109_COMPONENTS+ = rls-${_PACKAGE_VERS}-${_RUST_TARGET}
113110.endif
You can’t perform that action at this time.
0 commit comments