pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/rust



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Aug 14 16:00:23 UTC 2019

Modified Files:
        pkgsrc/lang/rust: options.mk

Log Message:
rust: Avoid using external llvm when external llvm isn't pkgsrc llvm.

Reported as a build failure in #pkgsrc by ng0.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/rust/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/rust/options.mk
diff -u pkgsrc/lang/rust/options.mk:1.2 pkgsrc/lang/rust/options.mk:1.3
--- pkgsrc/lang/rust/options.mk:1.2     Wed Aug 14 13:05:25 2019
+++ pkgsrc/lang/rust/options.mk Wed Aug 14 16:00:23 2019
@@ -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 @@ PKG_OPTIONS_VAR=               PKG_OPTIONS.rust
 # 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