From 923194c2b0279518785b1b6683a6ed584d560eff Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Tue, 2 Jul 2024 08:41:41 +0200 Subject: 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(-) (limited to 'lang/rust/Makefile') 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 -- cgit v1.2.3