pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Update mathomatic to 11.0f.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9a566afd0924
branches: trunk
changeset: 474723:9a566afd0924
user: minskim <minskim%pkgsrc.org@localhost>
date: Tue May 04 17:20:48 2004 +0000
description:
Update mathomatic to 11.0f.
Changes:
- Removed calc() fraction code for accuracy because of fraction slack
that was implemented in version 10.9c.
- Solve increase power function wasn't working with odd number roots.
Fixed. Appears to be another gcc optimizer bug.
- Improved simplify command.
- Tweaked factor_constants().
- Some changes to "makefile" for "readline" support.
"GNU make" or "gmake" required now.
- Fixed solving of "x^(1/99)=x".
- Fixed readline bug.
diffstat:
doc/CHANGES | 3 +-
doc/TODO | 3 +-
math/mathomatic/Makefile | 7 +-
math/mathomatic/distinfo | 8 +-
math/mathomatic/patches/patch-aa | 85 +++++++--------------------------------
5 files changed, 27 insertions(+), 79 deletions(-)
diffs (171 lines):
diff -r dfb6fc309ee1 -r 9a566afd0924 doc/CHANGES
--- a/doc/CHANGES Tue May 04 17:18:41 2004 +0000
+++ b/doc/CHANGES Tue May 04 17:20:48 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.5812 2004/05/04 17:18:41 jmmv Exp $
+$NetBSD: CHANGES,v 1.5813 2004/05/04 17:20:48 minskim Exp $
Changes to the packages collection and infrastructure in 2004:
@@ -2343,3 +2343,4 @@
Updated koffice to 1.3.1 [markd 2004-05-04]
Added gtkmagnetic-2.2 [dillo 2004-05-04]
Updated epiphany to 1.2.5 [jmmv 2004-05-04]
+ Updated mathomatic to 11.0f [minskim 2004-05-04]
diff -r dfb6fc309ee1 -r 9a566afd0924 doc/TODO
--- a/doc/TODO Tue May 04 17:18:41 2004 +0000
+++ b/doc/TODO Tue May 04 17:20:48 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: TODO,v 1.1704 2004/05/04 09:26:06 wiz Exp $
+$NetBSD: TODO,v 1.1705 2004/05/04 17:20:48 minskim Exp $
Suggested new packages
======================
@@ -271,7 +271,6 @@
o maradns-1.0.21
o marbles-1.0.6
o matchbox-0.8
- o mathomatic-11.0f
o micq-0.4.11
o midnight-commander-4.6.0
o mimedefang-2.42
diff -r dfb6fc309ee1 -r 9a566afd0924 math/mathomatic/Makefile
--- a/math/mathomatic/Makefile Tue May 04 17:18:41 2004 +0000
+++ b/math/mathomatic/Makefile Tue May 04 17:20:48 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2004/04/28 04:28:57 minskim Exp $
+# $NetBSD: Makefile,v 1.8 2004/05/04 17:20:49 minskim Exp $
#
-DISTNAME= mathomatic-11.0e
+DISTNAME= mathomatic-11.0f
CATEGORIES= math
MASTER_SITES= http://www.panix.com/~gesslein/
EXTRACT_SUFX= .tgz
@@ -18,11 +18,12 @@
NO_CONFIGURE= yes
MAKEFILE= makefile
-CFLAGS+= -DUNIX
CFLAGS.SunOS+= -DSOLARIS
INSTALLATION_DIRS= bin man/man1
+.include "../../devel/readline/buildlink3.mk"
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/am ${PREFIX}/bin/am_mathomatic
${INSTALL_MAN} ${WRKSRC}/am.1 ${PREFIX}/man/man1/am_mathomatic.1
diff -r dfb6fc309ee1 -r 9a566afd0924 math/mathomatic/distinfo
--- a/math/mathomatic/distinfo Tue May 04 17:18:41 2004 +0000
+++ b/math/mathomatic/distinfo Tue May 04 17:20:48 2004 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2004/04/28 04:28:57 minskim Exp $
+$NetBSD: distinfo,v 1.7 2004/05/04 17:20:49 minskim Exp $
-SHA1 (mathomatic-11.0e/mathomatic-11.0e.tgz) = 8ed032f536b5e31659535ea7d92f72ce9e5d0099
-Size (mathomatic-11.0e/mathomatic-11.0e.tgz) = 109957 bytes
-SHA1 (patch-aa) = b5b1336df22a9381c3d748e4e49f0429ca773c47
+SHA1 (mathomatic-11.0f/mathomatic-11.0f.tgz) = 9aa8a9c14ac7ba2f6f25a94f42dc4d330fe26e0b
+Size (mathomatic-11.0f/mathomatic-11.0f.tgz) = 110330 bytes
+SHA1 (patch-aa) = 675eb9b2241f39fb0e29e3dcb6cae5b6829d2351
diff -r dfb6fc309ee1 -r 9a566afd0924 math/mathomatic/patches/patch-aa
--- a/math/mathomatic/patches/patch-aa Tue May 04 17:18:41 2004 +0000
+++ b/math/mathomatic/patches/patch-aa Tue May 04 17:20:48 2004 +0000
@@ -1,80 +1,27 @@
-$NetBSD: patch-aa,v 1.2 2004/04/17 17:08:37 minskim Exp $
+$NetBSD: patch-aa,v 1.3 2004/05/04 17:20:49 minskim Exp $
---- makefile.orig 2004-04-12 14:05:50.000000000 -0500
+--- makefile.orig 2004-05-01 20:43:07.000000000 -0500
+++ makefile
-@@ -1,18 +1,21 @@
+@@ -1,16 +1,16 @@
# Makefile for compiling Mathomatic for UNIX or Linux.
--CFLAGS = -c -O -DUNIX
+-CFLAGS = -O -DUNIX
-LDFLAGS = -s
-+#CFLAGS = -c -O -DUNIX
++CFLAGS += -O -DUNIX
+#LDFLAGS = -s
+ LIBS = -lm
- # To use readline, uncomment the following two lines:
- #CFLAGS += -DREADLINE
- #LDFLAGS += -lreadline -lcurses
+ # Comment out the following lines if you are not using GNU make.
+-ifdef READLINE
++#ifdef READLINE
+ CFLAGS += -DREADLINE
+-LIBS += -lreadline -lcurses
+-endif
++LIBS += -lreadline #-lcurses
++#endif
--PREFIX = /usr/local
-+#PREFIX = /usr/local
+-PREFIX = /usr/local
++#PREFIX = /usr/local
AOUT =am
OBJECTS =main.o am.o parse.o cmds.o simplify.o factor.o super.o \
- unfactor.o diff.o complex.o list.o
-
-+.c.o:
-+ ${CC} ${CFLAGS} -c $<
-+
- all: $(AOUT)
- @echo Make completed.
-
-@@ -20,46 +23,15 @@ test: $(AOUT)
- ./$(AOUT) -c all.in >test.out
- diff all.out test.out
-
--main.o: main.c am.h
-- $(CC) $(CFLAGS) $*.c
--
--am.o: am.c am.h externs.h
-- $(CC) $(CFLAGS) $*.c
--
--parse.o: parse.c parse.h am.h externs.h
-- $(CC) $(CFLAGS) $*.c
--
--cmds.o: cmds.c am.h externs.h
-- $(CC) $(CFLAGS) $*.c
--
--simplify.o: simplify.c am.h externs.h
-- $(CC) $(CFLAGS) $*.c
--
--factor.o: factor.c am.h externs.h
-- $(CC) $(CFLAGS) $*.c
--
--super.o: super.c am.h externs.h
-- $(CC) $(CFLAGS) $*.c
--
--unfactor.o: unfactor.c am.h externs.h
-- $(CC) $(CFLAGS) $*.c
--
--diff.o: diff.c am.h externs.h
-- $(CC) $(CFLAGS) $*.c
--
--complex.o: complex.c am.h externs.h
-- $(CC) $(CFLAGS) $*.c
--
--list.o: list.c am.h externs.h
-- $(CC) $(CFLAGS) $*.c
-+${OBJECTS}: am.h externs.h
-
- $(AOUT): $(OBJECTS)
- $(CC) $(LDFLAGS) $(OBJECTS) -lm -o $(AOUT)
-
- install: $(AOUT)
-- install -m 0755 $(AOUT) $(PREFIX)/bin
-- install -m 0644 am.1 $(PREFIX)/man/man1
-+ ${BSD_INSTALL_PROGRAM} $(AOUT) $(PREFIX)/bin
-+ ${BSD_INSTALL_MAN} am.1 $(PREFIX)/man/man1
- @echo Install completed.
-
- clean:
-- rm -f *.o
-+ rm -f ${OBJECTS}
Home |
Main Index |
Thread Index |
Old Index