pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/rust rust: Avoid using external llvm when externa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/874348a92f64
branches: trunk
changeset: 399709:874348a92f64
user: nia <nia%pkgsrc.org@localhost>
date: Wed Aug 14 16:00:23 2019 +0000
description:
rust: Avoid using external llvm when external llvm isn't pkgsrc llvm.
Reported as a build failure in #pkgsrc by ng0.
diffstat:
lang/rust/options.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 927074f144a3 -r 874348a92f64 lang/rust/options.mk
--- a/lang/rust/options.mk Wed Aug 14 15:53:38 2019 +0000
+++ b/lang/rust/options.mk Wed Aug 14 16:00:23 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2019/08/14 13:05:25 nia Exp $
+# $NetBSD: options.mk,v 1.3 2019/08/14 16:00:23 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.rust
@@ -7,6 +7,10 @@
# The bundled LLVM current has issues building on SunOS.
.if ${OPSYS} != "SunOS" && ${OPSYS} != "Darwin"
PKG_SUPPORTED_OPTIONS+= rust-llvm
+# There may be compatibility issues with base LLVM.
+. if !empty(HAVE_LLVM)
+PKG_SUGGESTED_OPTIONS+= rust-llvm
+. endif
.endif
.include "../../mk/bsd.options.mk"
Home |
Main Index |
Thread Index |
Old Index