Wed Jan 3 12:20:22 2024 UTC (144d)
mk/compiler.mk: Sort CXX_FEATURES values in comment

c99 sorts before c11 and c17, once the implicit digits are considered.
(Defer worrying about the pending Y2100 C/C++ standards naming
problem.)

This is a comment-only change.


(gdt)
diff -r1.109 -r1.110 pkgsrc/mk/compiler.mk

cvs diff -r1.109 -r1.110 pkgsrc/mk/compiler.mk (expand / switch to unified diff)

--- pkgsrc/mk/compiler.mk 2024/01/03 08:11:51 1.109
+++ pkgsrc/mk/compiler.mk 2024/01/03 12:20:21 1.110
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: compiler.mk,v 1.109 2024/01/03 08:11:51 mef Exp $ 1# $NetBSD: compiler.mk,v 1.110 2024/01/03 12:20:21 gdt Exp $
2# 2#
3# This Makefile fragment implements handling for supported C/C++/Fortran 3# This Makefile fragment implements handling for supported C/C++/Fortran
4# compilers. 4# compilers.
5# 5#
6# The following variables may be set by the pkgsrc user in mk.conf: 6# The following variables may be set by the pkgsrc user in mk.conf:
7# 7#
8# PKGSRC_COMPILER 8# PKGSRC_COMPILER
9# A list of values specifying the chain of compilers to be used by 9# A list of values specifying the chain of compilers to be used by
10# pkgsrc to build packages. 10# pkgsrc to build packages.
11# 11#
12# Valid values are: 12# Valid values are:
13# ccc Compaq C Compilers (Tru64) 13# ccc Compaq C Compilers (Tru64)
14# ccache compiler cache (chainable) 14# ccache compiler cache (chainable)
@@ -68,27 +68,27 @@ @@ -68,27 +68,27 @@
68# Deprecated values are: c99, gnu99, c11, gnu11, c17, gnu17, 68# Deprecated values are: c99, gnu99, c11, gnu11, c17, gnu17,
69# c++03, gnu++03, c++0x, gnu++0x, c++11, gnu++11, c++14, 69# c++03, gnu++03, c++0x, gnu++0x, c++11, gnu++11, c++14,
70# gnu++14, c++17, gnu++17, c++20, gnu++20. 70# gnu++14, c++17, gnu++17, c++20, gnu++20.
71# 71#
72# The default is "c". 72# The default is "c".
73# 73#
74# USE_CC_FEATURES 74# USE_CC_FEATURES
75# 75#
76# Declares the C compiler features required by the package. 76# Declares the C compiler features required by the package.
77# 77#
78# This is used to (optionally) install a newer compiler 78# This is used to (optionally) install a newer compiler
79# than provided by the system, or to skip building the package. 79# than provided by the system, or to skip building the package.
80# 80#
81# Valid values are: c11, c17, c99, has_include. 81# Valid values are: c99, c11, c17, has_include.
82# 82#
83# USE_CXX_FEATURES 83# USE_CXX_FEATURES
84# 84#
85# Declares the C++ compiler features required by the package. 85# Declares the C++ compiler features required by the package.
86# 86#
87# This is used to (optionally) install a newer compiler 87# This is used to (optionally) install a newer compiler
88# than provided by the system, to or skip building the package. 88# than provided by the system, to or skip building the package.
89# 89#
90# Valid values are: c++11, c++14, c++17, c++20, has_include, 90# Valid values are: c++11, c++14, c++17, c++20, has_include,
91# regex, filesystem, unique_ptr, charconv, parallelism_ts, 91# regex, filesystem, unique_ptr, charconv, parallelism_ts,
92# put_time, is_trivially_copy_constructible. 92# put_time, is_trivially_copy_constructible.
93# 93#
94# FORCE_C_STD 94# FORCE_C_STD