aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-28 14:47:36 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-28 14:47:36 +0000
commitf0804798daead6e931224ad38422a28768e1db62 (patch)
tree765c256a9e1cd53f3ce0ddd3aaf7b608900f9e57
parent006fd7bf6ea3657d0197fd2d959e3a72fd81ca0f (diff)
downloadsrc-f0804798daead6e931224ad38422a28768e1db62.tar.gz
src-f0804798daead6e931224ad38422a28768e1db62.zip
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)
Notes
Notes: svn path=/releng/12.2/; revision=366227
-rw-r--r--share/man/man5/src.conf.58
-rw-r--r--tools/build/options/WITHOUT_GH_BC6
-rw-r--r--tools/build/options/WITH_GH_BC6
3 files changed, 19 insertions, 1 deletions
diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5
index 2fd3fdb8ce90..a9aea08cf93c 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 000000000000..80e43bb7cde0
--- /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 000000000000..1e8dac498151
--- /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.