| @@ -6855,27 +6855,27 @@ MESON_ARGS+= -Dx11=false | | | @@ -6855,27 +6855,27 @@ MESON_ARGS+= -Dx11=false |
6855 | Compilers for the C and C++ languages come with the NetBSD base system. By | | 6855 | Compilers for the C and C++ languages come with the NetBSD base system. By |
6856 | default, pkgsrc assumes that a package is written in C and will hide all other | | 6856 | default, pkgsrc assumes that a package is written in C and will hide all other |
6857 | compilers (via the wrapper framework, see Chapter 18, Buildlink methodology). | | 6857 | compilers (via the wrapper framework, see Chapter 18, Buildlink methodology). |
6858 | | | 6858 | |
6859 | To declare which languages should be made available through pkgsrc's compiler | | 6859 | To declare which languages should be made available through pkgsrc's compiler |
6860 | wrappers, use the USE_LANGUAGES variable. Allowed values currently are: | | 6860 | wrappers, use the USE_LANGUAGES variable. Allowed values currently are: |
6861 | | | 6861 | |
6862 | c, c++, fortran, fortran77, java, objc, obj-c++, and ada. | | 6862 | c, c++, fortran, fortran77, java, objc, obj-c++, and ada. |
6863 | | | 6863 | |
6864 | (and any combination). The default is "c". Packages using GNU configure | | 6864 | (and any combination). The default is "c". Packages using GNU configure |
6865 | scripts, even if written in C++, usually need a C compiler for the configure | | 6865 | scripts, even if written in C++, usually need a C compiler for the configure |
6866 | phase. | | 6866 | phase. |
6867 | | | 6867 | |
6868 | To declare which features a package requies from the compiler, set either | | 6868 | To declare which features a package requires from the compiler, set either |
6869 | USE_CC_FEATURES or USE_CXX_FEATURES. Allowed values for USE_CC_FEATURES are | | 6869 | USE_CC_FEATURES or USE_CXX_FEATURES. Allowed values for USE_CC_FEATURES are |
6870 | currently: | | 6870 | currently: |
6871 | | | 6871 | |
6872 | c11, c99, has_include | | 6872 | c11, c99, has_include |
6873 | | | 6873 | |
6874 | Allowed values for USE_CXX_FEATURES are currently: | | 6874 | Allowed values for USE_CXX_FEATURES are currently: |
6875 | | | 6875 | |
6876 | c++11, c++14, c++17, c++20, has_include, regex, filesystem, | | 6876 | c++11, c++14, c++17, c++20, has_include, regex, filesystem, |
6877 | charconv, parallelism_ts, unique_ptr, put_time, | | 6877 | charconv, parallelism_ts, unique_ptr, put_time, |
6878 | is_trivially_copy_constructible | | 6878 | is_trivially_copy_constructible |
6879 | | | 6879 | |
6880 | Language variants like gnu99 and c++11 can be specified in FORCE_C_STD and | | 6880 | Language variants like gnu99 and c++11 can be specified in FORCE_C_STD and |
6881 | FORCE_CXX_STD if the package does not explicitly set -std=... when compiling | | 6881 | FORCE_CXX_STD if the package does not explicitly set -std=... when compiling |