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 Jun 24 09:46:26 UTC 2020

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

Log Message:
rust: uses -std=c++14


To generate a diff of this commit:
cvs rdiff -u -r1.180 -r1.181 pkgsrc/lang/rust/Makefile
cvs rdiff -u -r1.6 -r1.7 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/Makefile
diff -u pkgsrc/lang/rust/Makefile:1.180 pkgsrc/lang/rust/Makefile:1.181
--- pkgsrc/lang/rust/Makefile:1.180     Sun Jun 14 15:33:27 2020
+++ pkgsrc/lang/rust/Makefile   Wed Jun 24 09:46:26 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.180 2020/06/14 15:33:27 nia Exp $
+# $NetBSD: Makefile,v 1.181 2020/06/24 09:46:26 nia Exp $
 
 DISTNAME=      rustc-1.43.1-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -13,6 +13,9 @@ LICENSE=      mit OR apache-2.0
 
 CONFLICTS+=    rust-bin-[0-9]*
 
+# uses -std=c++14
+GCC_REQD+=     5
+
 USE_GCC_RUNTIME=       yes
 USE_LANGUAGES=         c c++11
 USE_LIBTOOL=           yes

Index: pkgsrc/lang/rust/options.mk
diff -u pkgsrc/lang/rust/options.mk:1.6 pkgsrc/lang/rust/options.mk:1.7
--- pkgsrc/lang/rust/options.mk:1.6     Fri Feb 21 16:04:50 2020
+++ pkgsrc/lang/rust/options.mk Wed Jun 24 09:46:26 2020
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.6 2020/02/21 16:04:50 adam Exp $
+# $NetBSD: options.mk,v 1.7 2020/06/24 09:46:26 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.rust
 PKG_SUPPORTED_OPTIONS= # empty
@@ -21,8 +21,6 @@ PKG_SUGGESTED_OPTIONS+=               rust-llvm
 # This contains some extra optimizations.
 #
 .if !empty(PKG_OPTIONS:Mrust-llvm)
-# LLVM uses -std=c++11
-GCC_REQD+=     4.8
 BUILD_DEPENDS+=        cmake-[0-9]*:../../devel/cmake
 .include "../../devel/cmake/buildlink3.mk"
 .else



Home | Main Index | Thread Index | Old Index