pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc
Module Name: pkgsrc
Committed By: nia
Date: Fri Jul 21 08:29:56 UTC 2023
Modified Files:
pkgsrc/doc/guide/files: fixes.xml
pkgsrc/mk: compiler.mk
pkgsrc/mk/compiler: gcc.mk
Log Message:
mk: Add put_time to USE_CXX_FEATURES. C++11 feature, but appeared in GCC 5.
To generate a diff of this commit:
cvs rdiff -u -r1.186 -r1.187 pkgsrc/doc/guide/files/fixes.xml
cvs rdiff -u -r1.100 -r1.101 pkgsrc/mk/compiler.mk
cvs rdiff -u -r1.255 -r1.256 pkgsrc/mk/compiler/gcc.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/doc/guide/files/fixes.xml
diff -u pkgsrc/doc/guide/files/fixes.xml:1.186 pkgsrc/doc/guide/files/fixes.xml:1.187
--- pkgsrc/doc/guide/files/fixes.xml:1.186 Tue Jul 18 12:49:46 2023
+++ pkgsrc/doc/guide/files/fixes.xml Fri Jul 21 08:29:56 2023
@@ -1,4 +1,4 @@
-<!-- $NetBSD: fixes.xml,v 1.186 2023/07/18 12:49:46 nia Exp $ -->
+<!-- $NetBSD: fixes.xml,v 1.187 2023/07/21 08:29:56 nia Exp $ -->
<chapter id="fixes"> <?dbhtml filename="fixes.html"?>
<title>Making your package work</title>
@@ -1458,7 +1458,7 @@ c11, c99, has_include
currently:
<programlisting>
c++11, c++14, c++17, c++20, has_include, regex, filesystem,
-charconv, parallelism_ts, unique_ptr
+charconv, parallelism_ts, unique_ptr, put_time
</programlisting>
.</para>
</para>
Index: pkgsrc/mk/compiler.mk
diff -u pkgsrc/mk/compiler.mk:1.100 pkgsrc/mk/compiler.mk:1.101
--- pkgsrc/mk/compiler.mk:1.100 Tue Jul 18 12:49:46 2023
+++ pkgsrc/mk/compiler.mk Fri Jul 21 08:29:56 2023
@@ -1,4 +1,4 @@
-# $NetBSD: compiler.mk,v 1.100 2023/07/18 12:49:46 nia Exp $
+# $NetBSD: compiler.mk,v 1.101 2023/07/21 08:29:56 nia Exp $
#
# This Makefile fragment implements handling for supported C/C++/Fortran
# compilers.
@@ -81,7 +81,8 @@
# than provided by the system, to or skip building the package.
#
# Valid values are: c++11, c++14, c++17, c++20, has_include,
-# regex, filesystem, unique_ptr, charconv, parallelism_ts.
+# regex, filesystem, unique_ptr, charconv, parallelism_ts,
+# put_time.
#
# The following variables are defined, and available for testing in
# package Makefiles:
Index: pkgsrc/mk/compiler/gcc.mk
diff -u pkgsrc/mk/compiler/gcc.mk:1.255 pkgsrc/mk/compiler/gcc.mk:1.256
--- pkgsrc/mk/compiler/gcc.mk:1.255 Thu Jul 20 21:12:16 2023
+++ pkgsrc/mk/compiler/gcc.mk Fri Jul 21 08:29:56 2023
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.255 2023/07/20 21:12:16 nia Exp $
+# $NetBSD: gcc.mk,v 1.256 2023/07/21 08:29:56 nia Exp $
#
# This is the compiler definition for the GNU Compiler Collection.
#
@@ -215,6 +215,10 @@ GCC_REQD+= 4.9
GCC_REQD+= 4.9
.endif
+.if !empty(USE_CXX_FEATURES:Mput_time)
+GCC_REQD+= 5
+.endif
+
.if !empty(USE_CXX_FEATURES:Mfilesystem)
GCC_REQD+= 8
.endif
Home |
Main Index |
Thread Index |
Old Index