aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2021-04-06 09:57:07 +0000
committerStefan Eßer <se@FreeBSD.org>2021-04-06 09:57:07 +0000
commitb55a927bc884d7780d65a508572023b0dc2dede9 (patch)
treeac45eb07b45ed5edc184f131f73726b32829b6aa /usr.bin
parent7e5c51e523ae2a0b4f00cf5d6b9168e053d8eed1 (diff)
downloadsrc-b55a927bc884d7780d65a508572023b0dc2dede9.tar.gz
src-b55a927bc884d7780d65a508572023b0dc2dede9.zip
[bc] Update to version 4.0.0
This version fixes an issue (missing pop of top-of-stack value in the "P" command of the dc program). This issue did not affect the bc program, since it does not use dc as an back-end to actually perform the calculations as was the case with the traditional bc and dc programs. The major number has been bumped due to Windows support that has been added to this version. It does not correspond to a major change that might affect FreeBSD. MFC after: 3 days
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/gh-bc/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.bin/gh-bc/Makefile b/usr.bin/gh-bc/Makefile
index 79526628cf61..7b06f310a33c 100644
--- a/usr.bin/gh-bc/Makefile
+++ b/usr.bin/gh-bc/Makefile
@@ -6,7 +6,6 @@ PROG= gh-bc
PROGNAME= bc
BCDIR= ${SRCTOP}/contrib/${PROGNAME}
-BCVERSION!= sed -n -e '/.*VERSION *= *[0-9]/s/.*VERSION *= *//p' ${BCDIR}/Makefile.in
SRCS= args.c data.c file.c lang.c lex.c main.c num.c parse.c program.c read.c vector.c vm.c
SRCS+= bc.c bc_lex.c bc_parse.c dc.c dc_lex.c dc_parse.c history.c library.c
@@ -41,7 +40,6 @@ CFLAGS+= -DBC_ENABLE_HISTORY
CFLAGS+= -DBC_ENABLE_RAND
CFLAGS+= -DDC_ENABLED
CFLAGS+= -DNDEBUG
-CFLAGS+= -DVERSION=${BCVERSION}
CFLAGS+= -I${BCDIR}/include
.if ${MK_NLS_CATALOGS} == "no"