From e6550aba7b4247083e0f6f0743a9989706fa493d Mon Sep 17 00:00:00 2001 From: phil Date: Mon, 8 Jan 2001 04:53:59 +0000 Subject: [PATCH] Update for bc-1.06. --- gnu/usr.bin/bc/Makefile | 8 +++++--- gnu/usr.bin/bc/config.h | 24 +++++++++++++++++------- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/gnu/usr.bin/bc/Makefile b/gnu/usr.bin/bc/Makefile index fa125b519251..44963156c51f 100644 --- a/gnu/usr.bin/bc/Makefile +++ b/gnu/usr.bin/bc/Makefile @@ -1,14 +1,16 @@ -# $NetBSD: Makefile,v 1.22 2000/11/01 13:14:46 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2001/01/08 04:53:59 phil Exp $ PROG= bc SRCS= bc.y execute.c global.c load.c main.c \ - number.c scan.l storage.c util.c -CPPFLAGS+= -D_POSIX_SOURCE -I. -I${.CURDIR} -I${DIST}/bc/bc -I${DIST}/bc/h + number.c scan.l storage.c util.c getopt.c getopt1.c +CPPFLAGS+= -D_POSIX_SOURCE -funsigned-char -I. -I${.CURDIR} -I${DIST}/bc/bc -I${DIST}/bc/h LFLAGS+= -I8 LDADD+= -ll -ledit -ltermcap DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP} YHEADER=1 +TEXINFO= bc.texi + DIST= ${.CURDIR}/../../dist .PATH: ${DIST}/bc/bc ${DIST}/bc/lib ${DIST}/bc/doc diff --git a/gnu/usr.bin/bc/config.h b/gnu/usr.bin/bc/config.h index 2b1ddcdc221b..f6a0c70aa015 100644 --- a/gnu/usr.bin/bc/config.h +++ b/gnu/usr.bin/bc/config.h @@ -29,17 +29,20 @@ /* Define if lex declares yytext as a char * by default, not a char[]. */ #define YYTEXT_POINTER 1 -/* PACKAGE name */ -#define PACKAGE "bc" +/* VERSION number for DC target*/ +#define DC_VERSION "1.3" -/* Package VERSION number */ -#define VERSION "1.05" +/* COPYRIGHT notice for DC target */ +#define DC_COPYRIGHT "Copyright 1994, 1997, 1998, 2000 Free Software Foundation, Inc." -/* define if the math lib is to be loaded from a file. */ -/* #undef BC_MATH_FILE */ +/* COPYRIGHT notice for BC target */ +#define BC_COPYRIGHT "Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc." /* Define to use the readline library. */ -#define READLINE 1 +/* #undef READLINE */ + +/* Define to use the BSD libedit library. */ +#define LIBEDIT 1 /* Define to `size_t' if and don't define. */ /* #undef ptrdiff_t */ @@ -70,3 +73,10 @@ /* Define if you have the header file. */ #define HAVE_UNISTD_H 1 + +/* Name of package */ +#define PACKAGE "bc" + +/* Version number of package */ +#define VERSION "1.06" +