lang/rust: enable rls on powerpc
Builds fine on 13.3-RELEASE and newer.
This commit is contained in:
parent
30becba635
commit
923194c2b0
1 changed files with 4 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= rust
|
||||
PORTVERSION?= 1.79.0
|
||||
PORTREVISION?= 0
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= https://static.rust-lang.org/dist/:src \
|
||||
https://dev-static.rust-lang.org/dist/:src \
|
||||
|
|
@ -101,9 +101,10 @@ 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}"
|
||||
.endif
|
||||
|
||||
# rls doesn't build on rust nightly
|
||||
# rls needs 64-bit atomics: it doesn't build on powerpc
|
||||
.elif !defined(NIGHTLY_DATE)
|
||||
.if !defined(NIGHTLY_DATE)
|
||||
_RUST_TOOLS+= rls
|
||||
_COMPONENTS+= rls-${_PACKAGE_VERS}-${_RUST_TARGET}
|
||||
.endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue