pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/rust rust: Put back change lost in last update.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4c4b8d092dd6
branches:  trunk
changeset: 381708:4c4b8d092dd6
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Jul 11 20:13:50 2022 +0000

description:
rust: Put back change lost in last update.

Should hopefully get build going again on macOS/arm64.

diffstat:

 lang/rust/options.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0412fcb32090 -r 4c4b8d092dd6 lang/rust/options.mk
--- a/lang/rust/options.mk      Mon Jul 11 19:54:09 2022 +0000
+++ b/lang/rust/options.mk      Mon Jul 11 20:13:50 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.25 2022/06/13 13:38:19 nia Exp $
+# $NetBSD: options.mk,v 1.26 2022/07/11 20:13:50 jperkin Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.rust
 PKG_SUPPORTED_OPTIONS+=        rust-cargo-static rust-docs
@@ -9,7 +9,7 @@
 .if ${OPSYS} != "SunOS"
 PKG_SUPPORTED_OPTIONS+=                rust-internal-llvm
 # There may be compatibility issues with the base LLVM on e.g. NetBSD.
-.  if !empty(HAVE_LLVM)
+.  if !empty(HAVE_LLVM) || !empty(MACHINE_PLATFORM:MDarwin-*-aarch64)
 PKG_SUGGESTED_OPTIONS+=                rust-internal-llvm
 .  endif
 .endif



Home | Main Index | Thread Index | Old Index