pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust rust: Build against non-internal LLVM by def...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/94993a991ba4
branches:  trunk
changeset: 337881:94993a991ba4
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Aug 14 13:05:25 2019 +0000

description:
rust: Build against non-internal LLVM by default.

This should help with some people's problems with the rust builds being
excessively long, and if we ever run into compatibility problems between
rust's llvm-current and our shipped version it should be easy to switch
on the internal LLVM by default again.

I've been using this for some time with Firefox without problems.

Bump PKGREVISION.

diffstat:

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

diffs (33 lines):

diff -r c14339b7641d -r 94993a991ba4 lang/rust/Makefile
--- a/lang/rust/Makefile        Wed Aug 14 10:37:38 2019 +0000
+++ b/lang/rust/Makefile        Wed Aug 14 13:05:25 2019 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.111 2019/08/11 13:21:23 wiz Exp $
+# $NetBSD: Makefile,v 1.112 2019/08/14 13:05:25 nia Exp $
 
 DISTNAME=      rustc-1.36.0-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    lang
 MASTER_SITES=  http://static.rust-lang.org/dist/
 
diff -r c14339b7641d -r 94993a991ba4 lang/rust/options.mk
--- a/lang/rust/options.mk      Wed Aug 14 10:37:38 2019 +0000
+++ b/lang/rust/options.mk      Wed Aug 14 13:05:25 2019 +0000
@@ -1,13 +1,12 @@
-# $NetBSD: options.mk,v 1.1 2019/07/11 10:24:14 nia Exp $
+# $NetBSD: options.mk,v 1.2 2019/08/14 13:05:25 nia Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.rust
-PKG_SUPPORTED_OPTIONS+=                rust-llvm
 
 .include "../../mk/bsd.fast.prefs.mk"
 
 # The bundled LLVM current has issues building on SunOS.
 .if ${OPSYS} != "SunOS" && ${OPSYS} != "Darwin"
-PKG_SUGGESTED_OPTIONS+=                rust-llvm
+PKG_SUPPORTED_OPTIONS+=                rust-llvm
 .endif
 
 .include "../../mk/bsd.options.mk"



Home | Main Index | Thread Index | Old Index