ports/123571: [PATCH] math/calc: update to 2.12.3.3
Yen-Ming Lee
leeym at FreeBSD.org
Sat May 10 16:30:02 UTC 2008
>Number: 123571
>Category: ports
>Synopsis: [PATCH] math/calc: update to 2.12.3.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat May 10 16:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD cn1.leeym.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
- Update to 2.12.3.3
Removed file(s):
- files/patch-alloc.h
Port maintainer (jmz at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- calc-2.12.3.3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/math/calc/Makefile,v
retrieving revision 1.23
diff -u -u -r1.23 Makefile
--- Makefile 7 Feb 2007 15:29:30 -0000 1.23
+++ Makefile 10 May 2008 16:28:49 -0000
@@ -6,14 +6,17 @@
#
PORTNAME= calc
-PORTVERSION= 2.12.1.8
+PORTVERSION= 2.12.3.3
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF
MAINTAINER= jmz at FreeBSD.org
COMMENT= Arbitrary precision calculator
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_LDCONFIG= yes
+
MAN1= calc.1
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/math/calc/distinfo,v
retrieving revision 1.12
diff -u -u -r1.12 distinfo
--- distinfo 7 Feb 2007 15:29:30 -0000 1.12
+++ distinfo 10 May 2008 16:28:49 -0000
@@ -1,3 +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
+MD5 (calc-2.12.3.3.tar.bz2) = 2b6b511bba836653a444094622e65041
+SHA256 (calc-2.12.3.3.tar.bz2) = d901319433062c3993b736c59e3552f94d8d29947c96fded6250a6c35ae8ef00
+SIZE (calc-2.12.3.3.tar.bz2) = 865486
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/math/calc/pkg-plist,v
retrieving revision 1.10
diff -u -u -r1.10 pkg-plist
--- pkg-plist 7 Feb 2007 15:29:30 -0000 1.10
+++ pkg-plist 10 May 2008 16:28:49 -0000
@@ -19,6 +19,7 @@
include/calc/conf.h
include/calc/config.h
include/calc/custom.h
+include/calc/decl.h
include/calc/endian_calc.h
include/calc/file.h
include/calc/fposval.h
@@ -31,7 +32,6 @@
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
@@ -49,26 +49,32 @@
include/calc/hist.h
include/calc/jump.h
include/calc/label.h
+include/calc/lib_calc.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/sha1.h
+include/calc/str.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
+lib/libcalc.so
+lib/libcalc.so.2
+lib/libcalc.so.2.12
+lib/libcalc.so.2.12.3
+lib/libcalc.so.2.12.3.3
+lib/libcustcalc.so
+lib/libcustcalc.so.2
+lib/libcustcalc.so.2.12
+lib/libcustcalc.so.2.12.3
+lib/libcustcalc.so.2.12.3.3
%%DATADIR%%/README
%%DATADIR%%/alg_config.cal
%%DATADIR%%/beer.cal
@@ -82,12 +88,13 @@
%%DATADIR%%/custhelp/help
%%DATADIR%%/custhelp/pmodm127
%%DATADIR%%/custhelp/pzasusb8
+%%DATADIR%%/custhelp/register
%%DATADIR%%/custhelp/sysinfo
%%DATADIR%%/custom/argv.cal
%%DATADIR%%/custom/halflen.cal
-%%DATADIR%%/custom/libcustcalc.a
%%DATADIR%%/custom/pmodm127.cal
%%DATADIR%%/custom/pzasusb8.cal
+%%DATADIR%%/custom/register.cal
%%DATADIR%%/deg.cal
%%DATADIR%%/dotest.cal
%%DATADIR%%/ellip.cal
@@ -137,6 +144,7 @@
%%DATADIR%%/help/builtin
%%DATADIR%%/help/calc_tty
%%DATADIR%%/help/calclevel
+%%DATADIR%%/help/calcpath
%%DATADIR%%/help/catalan
%%DATADIR%%/help/ceil
%%DATADIR%%/help/cfappr
@@ -156,6 +164,7 @@
%%DATADIR%%/help/cot
%%DATADIR%%/help/coth
%%DATADIR%%/help/count
+%%DATADIR%%/help/cp
%%DATADIR%%/help/credit
%%DATADIR%%/help/csc
%%DATADIR%%/help/csch
@@ -299,7 +308,6 @@
%%DATADIR%%/help/mattrace
%%DATADIR%%/help/mattrans
%%DATADIR%%/help/max
-%%DATADIR%%/help/md5
%%DATADIR%%/help/memsize
%%DATADIR%%/help/meq
%%DATADIR%%/help/min
@@ -377,7 +385,6 @@
%%DATADIR%%/help/segment
%%DATADIR%%/help/select
%%DATADIR%%/help/sgn
-%%DATADIR%%/help/sha
%%DATADIR%%/help/sha1
%%DATADIR%%/help/sin
%%DATADIR%%/help/sinh
@@ -390,6 +397,7 @@
%%DATADIR%%/help/srandom
%%DATADIR%%/help/ssq
%%DATADIR%%/help/statement
+%%DATADIR%%/help/stoponerror
%%DATADIR%%/help/str
%%DATADIR%%/help/strcat
%%DATADIR%%/help/strcmp
@@ -475,10 +483,12 @@
%%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
+ at dirrmtry share/man/man1
+ at dirrmtry share/man
+ at dirrmtry %%DATADIR%%/help
+ at dirrmtry %%DATADIR%%/custom
+ at dirrmtry %%DATADIR%%/custhelp
+ at dirrmtry %%DATADIR%%
+ at dirrmtry include/calc/custom
+ at dirrmtry include/calc
+ at dirrmtry bin/cscript
Index: files/patch-Makefile
===================================================================
RCS file: /home/pcvs/ports/math/calc/files/patch-Makefile,v
retrieving revision 1.3
diff -u -u -r1.3 patch-Makefile
--- files/patch-Makefile 7 Feb 2007 15:29:30 -0000 1.3
+++ files/patch-Makefile 10 May 2008 16:28:49 -0000
@@ -1,6 +1,6 @@
---- Makefile.orig Wed Feb 7 01:35:20 2007
-+++ Makefile Wed Feb 7 14:54:34 2007
-@@ -571,7 +571,7 @@
+--- Makefile.orig 2008-05-10 08:04:43.000000000 -0700
++++ Makefile 2008-05-10 08:05:39.000000000 -0700
+@@ -585,7 +585,7 @@
#INCDIR= /usr/local/include
#INCDIR= /dev/env/DJDIR/include
@@ -9,7 +9,7 @@
# Where to install calc realted things
#
-@@ -598,15 +598,15 @@
+@@ -612,15 +612,15 @@
#
#BINDIR= /usr/local/bin
#BINDIR= /dev/env/DJDIR/bin
@@ -26,9 +26,9 @@
-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 @@
+ # NOTE: Do not set CALC_INCDIR to /usr/include or /usr/local/include!!!
+ # Always be sure that the CALC_INCDIR path ends in /calc to avoid
+@@ -698,7 +698,7 @@
#MANDIR=
#MANDIR= /usr/local/man/man1
#MANDIR= /usr/man/man1
@@ -37,46 +37,3 @@
#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
-
- ###
- #
Index: files/patch-alloc.h
===================================================================
RCS file: files/patch-alloc.h
diff -N files/patch-alloc.h
--- files/patch-alloc.h 4 Nov 2002 21:09:01 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,19 +0,0 @@
-*** 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();
--- calc-2.12.3.3.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list