[Midnightbsd-cvs] mports: mports/math: Might as well add this port.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Sep 6 18:42:58 EDT 2007
Log Message:
-----------
Might as well add this port. it might be useful to me soon.
Modified Files:
--------------
mports/math:
Makefile (r1.16 -> r1.17)
Added Files:
-----------
mports/math/calc:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
mports/math/calc/files:
patch-Makefile (r1.1)
patch-alloc.h (r1.1)
-------------- next part --------------
--- /dev/null
+++ math/calc/pkg-descr
@@ -0,0 +1,8 @@
+Calc is an interactive calculator which provides for easy large
+numeric calculations, but which also can be easily programmed for
+difficult or long calculations. It can accept a command line
+argument, in which case it executes that single command and exits.
+Otherwise, it enters interactive mode. There are a great number
+of pre-defined functions. The calculator can calculate transcendental
+functions, and accept and display numbers in real or exponential format.
+The calculator also knows about complex numbers.
--- /dev/null
+++ math/calc/pkg-plist
@@ -0,0 +1,484 @@
+bin/calc
+bin/cscript/4dsphere
+bin/cscript/fproduct
+bin/cscript/mersenne
+bin/cscript/piforever
+bin/cscript/plus
+bin/cscript/powerterm
+bin/cscript/simple
+bin/cscript/square
+include/calc/align32.h
+include/calc/alloc.h
+include/calc/args.h
+include/calc/blkcpy.h
+include/calc/block.h
+include/calc/byteswap.h
+include/calc/calc.h
+include/calc/calcerr.h
+include/calc/cmath.h
+include/calc/conf.h
+include/calc/config.h
+include/calc/custom.h
+include/calc/endian_calc.h
+include/calc/file.h
+include/calc/fposval.h
+include/calc/func.h
+include/calc/hash.h
+include/calc/have_const.h
+include/calc/have_fpos.h
+include/calc/have_fpos_pos.h
+include/calc/have_getpgid.h
+include/calc/have_getprid.h
+include/calc/have_getsid.h
+include/calc/have_gettime.h
+include/calc/have_malloc.h
+include/calc/have_memmv.h
+include/calc/have_newstr.h
+include/calc/have_offscl.h
+include/calc/have_posscl.h
+include/calc/have_rusage.h
+include/calc/have_stdlib.h
+include/calc/have_strdup.h
+include/calc/have_string.h
+include/calc/have_times.h
+include/calc/have_uid_t.h
+include/calc/have_unistd.h
+include/calc/have_unused.h
+include/calc/have_urandom.h
+include/calc/have_ustat.h
+include/calc/hist.h
+include/calc/jump.h
+include/calc/label.h
+include/calc/lib_util.h
+include/calc/longbits.h
+include/calc/math_error.h
+include/calc/md5.h
+include/calc/nametype.h
+include/calc/opcodes.h
+include/calc/prime.h
+include/calc/qmath.h
+include/calc/shs.h
+include/calc/shs1.h
+include/calc/string.h
+include/calc/symbol.h
+include/calc/terminal.h
+include/calc/token.h
+include/calc/value.h
+include/calc/win32dll.h
+include/calc/zmath.h
+include/calc/zrand.h
+include/calc/zrandom.h
+lib/libcalc.a
+%%DATADIR%%/README
+%%DATADIR%%/alg_config.cal
+%%DATADIR%%/beer.cal
+%%DATADIR%%/bernoulli.cal
+%%DATADIR%%/bigprime.cal
+%%DATADIR%%/bindings
+%%DATADIR%%/chi.cal
+%%DATADIR%%/chrem.cal
+%%DATADIR%%/custhelp/argv
+%%DATADIR%%/custhelp/devnull
+%%DATADIR%%/custhelp/help
+%%DATADIR%%/custhelp/pmodm127
+%%DATADIR%%/custhelp/pzasusb8
+%%DATADIR%%/custhelp/sysinfo
+%%DATADIR%%/custom/argv.cal
+%%DATADIR%%/custom/halflen.cal
+%%DATADIR%%/custom/libcustcalc.a
+%%DATADIR%%/custom/pmodm127.cal
+%%DATADIR%%/custom/pzasusb8.cal
+%%DATADIR%%/deg.cal
+%%DATADIR%%/dotest.cal
+%%DATADIR%%/ellip.cal
+%%DATADIR%%/hello.cal
+%%DATADIR%%/help/COPYING
+%%DATADIR%%/help/COPYING-LGPL
+%%DATADIR%%/help/abs
+%%DATADIR%%/help/access
+%%DATADIR%%/help/acos
+%%DATADIR%%/help/acosh
+%%DATADIR%%/help/acot
+%%DATADIR%%/help/acoth
+%%DATADIR%%/help/acsc
+%%DATADIR%%/help/acsch
+%%DATADIR%%/help/address
+%%DATADIR%%/help/agd
+%%DATADIR%%/help/append
+%%DATADIR%%/help/appr
+%%DATADIR%%/help/archive
+%%DATADIR%%/help/arg
+%%DATADIR%%/help/argv
+%%DATADIR%%/help/arrow
+%%DATADIR%%/help/asec
+%%DATADIR%%/help/asech
+%%DATADIR%%/help/asin
+%%DATADIR%%/help/asinh
+%%DATADIR%%/help/assign
+%%DATADIR%%/help/assoc
+%%DATADIR%%/help/atan
+%%DATADIR%%/help/atan2
+%%DATADIR%%/help/atanh
+%%DATADIR%%/help/avg
+%%DATADIR%%/help/base
+%%DATADIR%%/help/base2
+%%DATADIR%%/help/bernoulli
+%%DATADIR%%/help/binding
+%%DATADIR%%/help/bindings
+%%DATADIR%%/help/bit
+%%DATADIR%%/help/blk
+%%DATADIR%%/help/blkcpy
+%%DATADIR%%/help/blkfree
+%%DATADIR%%/help/blocks
+%%DATADIR%%/help/bround
+%%DATADIR%%/help/btrunc
+%%DATADIR%%/help/bug
+%%DATADIR%%/help/bugs
+%%DATADIR%%/help/builtin
+%%DATADIR%%/help/calc_tty
+%%DATADIR%%/help/calclevel
+%%DATADIR%%/help/catalan
+%%DATADIR%%/help/ceil
+%%DATADIR%%/help/cfappr
+%%DATADIR%%/help/cfsim
+%%DATADIR%%/help/change
+%%DATADIR%%/help/changes
+%%DATADIR%%/help/char
+%%DATADIR%%/help/cmdbuf
+%%DATADIR%%/help/cmp
+%%DATADIR%%/help/comb
+%%DATADIR%%/help/command
+%%DATADIR%%/help/config
+%%DATADIR%%/help/conj
+%%DATADIR%%/help/contrib
+%%DATADIR%%/help/cos
+%%DATADIR%%/help/cosh
+%%DATADIR%%/help/cot
+%%DATADIR%%/help/coth
+%%DATADIR%%/help/count
+%%DATADIR%%/help/credit
+%%DATADIR%%/help/csc
+%%DATADIR%%/help/csch
+%%DATADIR%%/help/cscript
+%%DATADIR%%/help/ctime
+%%DATADIR%%/help/custom
+%%DATADIR%%/help/custom_cal
+%%DATADIR%%/help/define
+%%DATADIR%%/help/delete
+%%DATADIR%%/help/den
+%%DATADIR%%/help/dereference
+%%DATADIR%%/help/det
+%%DATADIR%%/help/digit
+%%DATADIR%%/help/digits
+%%DATADIR%%/help/display
+%%DATADIR%%/help/dp
+%%DATADIR%%/help/environment
+%%DATADIR%%/help/epsilon
+%%DATADIR%%/help/errcount
+%%DATADIR%%/help/errmax
+%%DATADIR%%/help/errno
+%%DATADIR%%/help/error
+%%DATADIR%%/help/errorcode
+%%DATADIR%%/help/errorcodes
+%%DATADIR%%/help/estr
+%%DATADIR%%/help/euler
+%%DATADIR%%/help/eval
+%%DATADIR%%/help/exp
+%%DATADIR%%/help/expression
+%%DATADIR%%/help/fact
+%%DATADIR%%/help/factor
+%%DATADIR%%/help/fclose
+%%DATADIR%%/help/fcnt
+%%DATADIR%%/help/feof
+%%DATADIR%%/help/ferror
+%%DATADIR%%/help/fflush
+%%DATADIR%%/help/fgetc
+%%DATADIR%%/help/fgetfield
+%%DATADIR%%/help/fgetfile
+%%DATADIR%%/help/fgetline
+%%DATADIR%%/help/fgets
+%%DATADIR%%/help/fgetstr
+%%DATADIR%%/help/fib
+%%DATADIR%%/help/file
+%%DATADIR%%/help/files
+%%DATADIR%%/help/floor
+%%DATADIR%%/help/fopen
+%%DATADIR%%/help/forall
+%%DATADIR%%/help/fpathopen
+%%DATADIR%%/help/fprintf
+%%DATADIR%%/help/fputc
+%%DATADIR%%/help/fputs
+%%DATADIR%%/help/fputstr
+%%DATADIR%%/help/frac
+%%DATADIR%%/help/free
+%%DATADIR%%/help/freebernoulli
+%%DATADIR%%/help/freeeuler
+%%DATADIR%%/help/freeglobals
+%%DATADIR%%/help/freeredc
+%%DATADIR%%/help/freestatics
+%%DATADIR%%/help/frem
+%%DATADIR%%/help/freopen
+%%DATADIR%%/help/fscan
+%%DATADIR%%/help/fscanf
+%%DATADIR%%/help/fseek
+%%DATADIR%%/help/fsize
+%%DATADIR%%/help/ftell
+%%DATADIR%%/help/full
+%%DATADIR%%/help/gcd
+%%DATADIR%%/help/gcdrem
+%%DATADIR%%/help/gd
+%%DATADIR%%/help/getenv
+%%DATADIR%%/help/hash
+%%DATADIR%%/help/head
+%%DATADIR%%/help/help
+%%DATADIR%%/help/highbit
+%%DATADIR%%/help/history
+%%DATADIR%%/help/hmean
+%%DATADIR%%/help/hnrmod
+%%DATADIR%%/help/hypot
+%%DATADIR%%/help/ilog
+%%DATADIR%%/help/ilog10
+%%DATADIR%%/help/ilog2
+%%DATADIR%%/help/im
+%%DATADIR%%/help/indices
+%%DATADIR%%/help/inputlevel
+%%DATADIR%%/help/insert
+%%DATADIR%%/help/int
+%%DATADIR%%/help/interrupt
+%%DATADIR%%/help/intro
+%%DATADIR%%/help/inverse
+%%DATADIR%%/help/iroot
+%%DATADIR%%/help/isassoc
+%%DATADIR%%/help/isatty
+%%DATADIR%%/help/isblk
+%%DATADIR%%/help/isconfig
+%%DATADIR%%/help/isdefined
+%%DATADIR%%/help/iserror
+%%DATADIR%%/help/iseven
+%%DATADIR%%/help/isfile
+%%DATADIR%%/help/ishash
+%%DATADIR%%/help/isident
+%%DATADIR%%/help/isint
+%%DATADIR%%/help/islist
+%%DATADIR%%/help/ismat
+%%DATADIR%%/help/ismult
+%%DATADIR%%/help/isnull
+%%DATADIR%%/help/isnum
+%%DATADIR%%/help/isobj
+%%DATADIR%%/help/isobjtype
+%%DATADIR%%/help/isodd
+%%DATADIR%%/help/isprime
+%%DATADIR%%/help/isptr
+%%DATADIR%%/help/isqrt
+%%DATADIR%%/help/isrand
+%%DATADIR%%/help/israndom
+%%DATADIR%%/help/isreal
+%%DATADIR%%/help/isrel
+%%DATADIR%%/help/issimple
+%%DATADIR%%/help/issq
+%%DATADIR%%/help/isstr
+%%DATADIR%%/help/istype
+%%DATADIR%%/help/jacobi
+%%DATADIR%%/help/join
+%%DATADIR%%/help/lcm
+%%DATADIR%%/help/lcmfact
+%%DATADIR%%/help/lfactor
+%%DATADIR%%/help/libcalc
+%%DATADIR%%/help/list
+%%DATADIR%%/help/ln
+%%DATADIR%%/help/log
+%%DATADIR%%/help/lowbit
+%%DATADIR%%/help/ltol
+%%DATADIR%%/help/makelist
+%%DATADIR%%/help/mat
+%%DATADIR%%/help/matdim
+%%DATADIR%%/help/matfill
+%%DATADIR%%/help/matmax
+%%DATADIR%%/help/matmin
+%%DATADIR%%/help/matsum
+%%DATADIR%%/help/mattrace
+%%DATADIR%%/help/mattrans
+%%DATADIR%%/help/max
+%%DATADIR%%/help/md5
+%%DATADIR%%/help/memsize
+%%DATADIR%%/help/meq
+%%DATADIR%%/help/min
+%%DATADIR%%/help/minv
+%%DATADIR%%/help/mmin
+%%DATADIR%%/help/mne
+%%DATADIR%%/help/mod
+%%DATADIR%%/help/modify
+%%DATADIR%%/help/name
+%%DATADIR%%/help/near
+%%DATADIR%%/help/new_custom
+%%DATADIR%%/help/newerror
+%%DATADIR%%/help/nextcand
+%%DATADIR%%/help/nextprime
+%%DATADIR%%/help/norm
+%%DATADIR%%/help/null
+%%DATADIR%%/help/num
+%%DATADIR%%/help/obj
+%%DATADIR%%/help/oldvalue
+%%DATADIR%%/help/operator
+%%DATADIR%%/help/ord
+%%DATADIR%%/help/overview
+%%DATADIR%%/help/param
+%%DATADIR%%/help/perm
+%%DATADIR%%/help/pfact
+%%DATADIR%%/help/pi
+%%DATADIR%%/help/pix
+%%DATADIR%%/help/places
+%%DATADIR%%/help/pmod
+%%DATADIR%%/help/polar
+%%DATADIR%%/help/poly
+%%DATADIR%%/help/pop
+%%DATADIR%%/help/popcnt
+%%DATADIR%%/help/pound
+%%DATADIR%%/help/power
+%%DATADIR%%/help/prevcand
+%%DATADIR%%/help/prevprime
+%%DATADIR%%/help/printf
+%%DATADIR%%/help/prompt
+%%DATADIR%%/help/protect
+%%DATADIR%%/help/ptest
+%%DATADIR%%/help/push
+%%DATADIR%%/help/putenv
+%%DATADIR%%/help/quo
+%%DATADIR%%/help/quomod
+%%DATADIR%%/help/rand
+%%DATADIR%%/help/randbit
+%%DATADIR%%/help/random
+%%DATADIR%%/help/randombit
+%%DATADIR%%/help/randperm
+%%DATADIR%%/help/rcin
+%%DATADIR%%/help/rcmul
+%%DATADIR%%/help/rcout
+%%DATADIR%%/help/rcpow
+%%DATADIR%%/help/rcsq
+%%DATADIR%%/help/re
+%%DATADIR%%/help/remove
+%%DATADIR%%/help/resource
+%%DATADIR%%/help/reverse
+%%DATADIR%%/help/rewind
+%%DATADIR%%/help/rm
+%%DATADIR%%/help/root
+%%DATADIR%%/help/round
+%%DATADIR%%/help/rsearch
+%%DATADIR%%/help/runtime
+%%DATADIR%%/help/saveval
+%%DATADIR%%/help/scale
+%%DATADIR%%/help/scan
+%%DATADIR%%/help/scanf
+%%DATADIR%%/help/script
+%%DATADIR%%/help/search
+%%DATADIR%%/help/sec
+%%DATADIR%%/help/sech
+%%DATADIR%%/help/seed
+%%DATADIR%%/help/segment
+%%DATADIR%%/help/select
+%%DATADIR%%/help/sgn
+%%DATADIR%%/help/sha
+%%DATADIR%%/help/sha1
+%%DATADIR%%/help/sin
+%%DATADIR%%/help/sinh
+%%DATADIR%%/help/size
+%%DATADIR%%/help/sizeof
+%%DATADIR%%/help/sleep
+%%DATADIR%%/help/sort
+%%DATADIR%%/help/sqrt
+%%DATADIR%%/help/srand
+%%DATADIR%%/help/srandom
+%%DATADIR%%/help/ssq
+%%DATADIR%%/help/statement
+%%DATADIR%%/help/str
+%%DATADIR%%/help/strcat
+%%DATADIR%%/help/strcmp
+%%DATADIR%%/help/strcpy
+%%DATADIR%%/help/strerror
+%%DATADIR%%/help/strlen
+%%DATADIR%%/help/strncmp
+%%DATADIR%%/help/strncpy
+%%DATADIR%%/help/strpos
+%%DATADIR%%/help/strprintf
+%%DATADIR%%/help/strscan
+%%DATADIR%%/help/strscanf
+%%DATADIR%%/help/substr
+%%DATADIR%%/help/sum
+%%DATADIR%%/help/swap
+%%DATADIR%%/help/system
+%%DATADIR%%/help/systime
+%%DATADIR%%/help/tail
+%%DATADIR%%/help/tan
+%%DATADIR%%/help/tanh
+%%DATADIR%%/help/test
+%%DATADIR%%/help/time
+%%DATADIR%%/help/todo
+%%DATADIR%%/help/trunc
+%%DATADIR%%/help/type
+%%DATADIR%%/help/types
+%%DATADIR%%/help/unexpected
+%%DATADIR%%/help/usage
+%%DATADIR%%/help/usertime
+%%DATADIR%%/help/variable
+%%DATADIR%%/help/version
+%%DATADIR%%/help/wishlist
+%%DATADIR%%/help/xor
+%%DATADIR%%/intfile.cal
+%%DATADIR%%/linear.cal
+%%DATADIR%%/lucas.cal
+%%DATADIR%%/lucas_chk.cal
+%%DATADIR%%/lucas_tbl.cal
+%%DATADIR%%/mersenne.cal
+%%DATADIR%%/mfactor.cal
+%%DATADIR%%/mod.cal
+%%DATADIR%%/natnumset.cal
+%%DATADIR%%/pell.cal
+%%DATADIR%%/pi.cal
+%%DATADIR%%/pix.cal
+%%DATADIR%%/pollard.cal
+%%DATADIR%%/poly.cal
+%%DATADIR%%/prompt.cal
+%%DATADIR%%/psqrt.cal
+%%DATADIR%%/qtime.cal
+%%DATADIR%%/quat.cal
+%%DATADIR%%/randbitrun.cal
+%%DATADIR%%/randmprime.cal
+%%DATADIR%%/randombitrun.cal
+%%DATADIR%%/randomrun.cal
+%%DATADIR%%/randrun.cal
+%%DATADIR%%/regress.cal
+%%DATADIR%%/repeat.cal
+%%DATADIR%%/screen.cal
+%%DATADIR%%/seedrandom.cal
+%%DATADIR%%/set8700.cal
+%%DATADIR%%/set8700.line
+%%DATADIR%%/solve.cal
+%%DATADIR%%/sumsq.cal
+%%DATADIR%%/sumtimes.cal
+%%DATADIR%%/surd.cal
+%%DATADIR%%/test1700.cal
+%%DATADIR%%/test2300.cal
+%%DATADIR%%/test2600.cal
+%%DATADIR%%/test2700.cal
+%%DATADIR%%/test3100.cal
+%%DATADIR%%/test3300.cal
+%%DATADIR%%/test3400.cal
+%%DATADIR%%/test3500.cal
+%%DATADIR%%/test4000.cal
+%%DATADIR%%/test4100.cal
+%%DATADIR%%/test4600.cal
+%%DATADIR%%/test5100.cal
+%%DATADIR%%/test5200.cal
+%%DATADIR%%/test8400.cal
+%%DATADIR%%/test8500.cal
+%%DATADIR%%/test8600.cal
+%%DATADIR%%/unitfrac.cal
+%%DATADIR%%/varargs.cal
+%%DATADIR%%/xx_print.cal
+ at dirrm %%DATADIR%%/help
+ at dirrm %%DATADIR%%/custom
+ at dirrm %%DATADIR%%/custhelp
+ at dirrm %%DATADIR%%
+ at dirrm include/calc/custom
+ at dirrm include/calc
+ at dirrm bin/cscript
--- /dev/null
+++ math/calc/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: calc
+# Date created: 3 October 1994
+# Whom: jmz
+#
+# $MidnightBSD: mports/math/calc/Makefile,v 1.1 2007/09/06 22:42:56 laffer1 Exp $
+# $FreeBSD: ports/math/calc/Makefile,v 1.23 2007/02/07 15:29:30 jmz Exp $
+#
+
+PORTNAME= calc
+PORTVERSION= 2.12.1.8
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Arbitrary precision calculator
+
+MAN1= calc.1
+
+.include <bsd.port.mk>
--- /dev/null
+++ math/calc/distinfo
@@ -0,0 +1,3 @@
+MD5 (calc-2.12.1.8.tar.gz) = 163fcec68cf13f750407161b015f787b
+SHA256 (calc-2.12.1.8.tar.gz) = 6fbaeb450103139b8b84416a11b87051e105313bc509b4ad35d86d9d5a6582f1
+SIZE (calc-2.12.1.8.tar.gz) = 1022615
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/math/Makefile,v
retrieving revision 1.16
retrieving revision 1.17
diff -Lmath/Makefile -Lmath/Makefile -u -r1.16 -r1.17
--- math/Makefile
+++ math/Makefile
@@ -5,6 +5,7 @@
SUBDIR += R
SUBDIR += blas
+ SUBDIR += calc
SUBDIR += djbfft
SUBDIR += fftw3
SUBDIR += gnuplot
--- /dev/null
+++ math/calc/files/patch-alloc.h
@@ -0,0 +1,19 @@
+*** alloc.h~ Thu Mar 31 03:05:41 1994
+--- alloc.h Sun Apr 16 17:27:55 1995
+***************
+*** 10,16 ****
+
+ #include "have_malloc.h"
+ #ifdef HAVE_MALLOC_H
+! # include <malloc.h>
+ #else
+ # if defined(__STDC__)
+ extern void *malloc();
+--- 10,16 ----
+
+ #include "have_malloc.h"
+ #ifdef HAVE_MALLOC_H
+! /* # include <malloc.h> */
+ #else
+ # if defined(__STDC__)
+ extern void *malloc();
--- /dev/null
+++ math/calc/files/patch-Makefile
@@ -0,0 +1,82 @@
+--- Makefile.orig Wed Feb 7 01:35:20 2007
++++ Makefile Wed Feb 7 14:54:34 2007
+@@ -571,7 +571,7 @@
+
+ #INCDIR= /usr/local/include
+ #INCDIR= /dev/env/DJDIR/include
+-INCDIR= /usr/include
++INCDIR= ${PREFIX}/include
+
+ # Where to install calc realted things
+ #
+@@ -598,15 +598,15 @@
+ #
+ #BINDIR= /usr/local/bin
+ #BINDIR= /dev/env/DJDIR/bin
+-BINDIR= /usr/bin
++BINDIR= ${PREFIX}/bin
+
+ #LIBDIR= /usr/local/lib
+ #LIBDIR= /dev/env/DJDIR/lib
+-LIBDIR= /usr/lib
++LIBDIR= ${PREFIX}/lib
+
+ #CALC_SHAREDIR= /usr/local/lib/calc
+ #CALC_SHAREDIR= /dev/env/DJDIR/share/calc
+-CALC_SHAREDIR= /usr/share/calc
++CALC_SHAREDIR= ${PREFIX}/share/calc
+
+ #CALC_INCDIR= /usr/local/include/calc
+ #CALC_INCDIR= /dev/env/DJDIR/include/calc
+@@ -680,7 +680,7 @@
+ #MANDIR=
+ #MANDIR= /usr/local/man/man1
+ #MANDIR= /usr/man/man1
+-MANDIR= /usr/share/man/man1
++MANDIR= ${PREFIX}/man/man1
+ #MANDIR= /dev/env/DJDIR/man/man1
+ #MANDIR= /usr/man/u_man/man1
+ #MANDIR= /usr/contrib/man/man1
+@@ -785,13 +785,13 @@
+ #
+ # If in doubt, set USE_READLINE, READLINE_LIB and READLINE_INCLUDE to nothing.
+ #
+-USE_READLINE=
+-#USE_READLINE= -DUSE_READLINE
++#USE_READLINE=
++USE_READLINE= -DUSE_READLINE
+ #
+-READLINE_LIB=
++#READLINE_LIB=
+ #READLINE_LIB= -lreadline -lhistory -lncurses
+ #READLINE_LIB= -L/usr/gnu/lib -lreadline -lhistory -lncurses
+-#READLINE_LIB= -L/usr/local/lib -lreadline -lhistory -lncurses
++READLINE_LIB= -lreadline -lhistory -lncurses
+ #
+ # For Apple OS X: install fink from http://fink.sourceforge.net
+ # and then do a 'fink install readline' and then use:
+@@ -1008,13 +1008,13 @@
+ CCOPT= ${DEBUG} ${NO_SHARED}
+ CCMISC=
+ #
+-CFLAGS= -DCALC_SRC ${CCWARN} ${CCOPT} ${CCMISC}
+-ICFLAGS= -DCALC_SRC ${CCWARN} ${CCMISC}
++CFLAGS+= -DCALC_SRC
++ICFLAGS= -DCALC_SRC
+ #
+ LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED}
+ ILDFLAGS=
+ #
+-LCC= gcc
++LCC= cc
+ CC= ${PURIFY} ${LCC} ${CCWERR}
+ #
+ ###
+@@ -1573,6 +1573,7 @@
+ TARGETS= ${LICENSE} ${CALC_LIBS} custom/.all calc${EXT} sample/.all \
+ cal/.all help/.all help/builtin cscript/.all calc.1 calc.usage
+
++RM= rm
+
+ ###
+ #
More information about the Midnightbsd-cvs
mailing list