mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
lang/rust: enable RUST_BACKTRACE on powerpc since it seems it works now
This commit is contained in:
parent
033129624c
commit
54f7b9d654
@ -1,6 +1,6 @@
|
||||
PORTNAME= rust
|
||||
PORTVERSION?= 1.77.0
|
||||
PORTREVISION?= 0
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= https://static.rust-lang.org/dist/:src \
|
||||
https://dev-static.rust-lang.org/dist/:src \
|
||||
@ -34,6 +34,7 @@ CPE_VENDOR= rust-lang
|
||||
|
||||
MAKE_ENV= DESTDIR=${STAGEDIR} \
|
||||
LIBGIT2_NO_PKG_CONFIG=1 \
|
||||
RUST_BACKTRACE=1 \
|
||||
OPENSSL_DIR="${OPENSSLBASE}"
|
||||
TEST_ENV= ${MAKE_ENV} \
|
||||
ALLOW_NONZERO_RLIMIT_CORE=1
|
||||
@ -101,13 +102,9 @@ IGNORE= is only for FreeBSD
|
||||
.if ${ARCH} == powerpc
|
||||
LIB_DEPENDS+= libatomic.so:lang/gcc${GCC_DEFAULT}
|
||||
MAKE_ENV+= RUSTFLAGS="-L/usr/local/lib/gcc${GCC_DEFAULT}"
|
||||
.else
|
||||
MAKE_ENV+= RUST_BACKTRACE=1
|
||||
.endif
|
||||
|
||||
# rls doesn't build on rust nightly
|
||||
# rls needs 64-bit atomics: it doesn't build on powerpc
|
||||
.if !defined(NIGHTLY_DATE) && ${ARCH} != powerpc
|
||||
.elif !defined(NIGHTLY_DATE)
|
||||
_RUST_TOOLS+= rls
|
||||
_COMPONENTS+= rls-${_PACKAGE_VERS}-${_RUST_TARGET}
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user