From f0804798daead6e931224ad38422a28768e1db62 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20E=C3=9Fer?= Date: Mon, 28 Sep 2020 14:47:36 +0000 Subject: [PATCH] MF12 r366218: Add documentation of the build options WITH_GH_BC and WITHOUT_GH_BC to optionally replace the traditional implementation of bc(1) and dc(1) with the new implementation that has become the default version in -CURRENT. The man-page differs from the one in -CURRENT due to different default values of that build option. Approved by: re (gjb) --- share/man/man5/src.conf.5 | 8 +++++++- tools/build/options/WITHOUT_GH_BC | 6 ++++++ tools/build/options/WITH_GH_BC | 6 ++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 tools/build/options/WITHOUT_GH_BC create mode 100644 tools/build/options/WITH_GH_BC diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5 index 2fd3fdb8ce9..a9aea08cf93 100644 --- a/share/man/man5/src.conf.5 +++ b/share/man/man5/src.conf.5 @@ -1,6 +1,6 @@ .\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman. .\" $FreeBSD$ -.Dd September 12, 2020 +.Dd September 28, 2020 .Dt SRC.CONF 5 .Os .Sh NAME @@ -775,6 +775,12 @@ if a newer version is not installed. .Pp This is a default setting on amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and riscv/riscv64. +.It Va WITH_GH_BC +Set this option to install the enhanced +.Xr bc 1 +and +.Xr dc 1 +programs instead of the traditional FreeBSD versions. .It Va WITHOUT_GNUCXX Do not build the GNU C++ stack (g++, libstdc++). This is the default on platforms where clang is the system compiler. diff --git a/tools/build/options/WITHOUT_GH_BC b/tools/build/options/WITHOUT_GH_BC new file mode 100644 index 00000000000..80e43bb7cde --- /dev/null +++ b/tools/build/options/WITHOUT_GH_BC @@ -0,0 +1,6 @@ +.\" $FreeBSD$ +Set to not build and install the enhanced +.Xr bc 1 +and +.Xr dc 1 +programs instead of the traditional FreeBSD versions. diff --git a/tools/build/options/WITH_GH_BC b/tools/build/options/WITH_GH_BC new file mode 100644 index 00000000000..1e8dac49815 --- /dev/null +++ b/tools/build/options/WITH_GH_BC @@ -0,0 +1,6 @@ +.\" $FreeBSD$ +Set this option to install the enhanced +.Xr bc 1 +and +.Xr dc 1 +programs instead of the traditional FreeBSD versions. -- 2.45.0