git: 923194c2b027 - main - lang/rust: enable rls on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Jul 2024 06:44:31 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=923194c2b0279518785b1b6683a6ed584d560eff commit 923194c2b0279518785b1b6683a6ed584d560eff Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-07-02 06:41:41 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-07-02 06:44:28 +0000 lang/rust: enable rls on powerpc Builds fine on 13.3-RELEASE and newer. --- lang/rust/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lang/rust/Makefile b/lang/rust/Makefile index 6c4c26477814..839cfb6c804e 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -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