summaryrefslogtreecommitdiff
path: root/math/mathomatic/patches
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-05-10 16:47:15 +0000
committerminskim <minskim@pkgsrc.org>2004-05-10 16:47:15 +0000
commit76ac2ced9d502562fe7f98371f288d3b4f4a0fc5 (patch)
tree65ae5a05d2cc341a9ffb69e060465d20258f8224 /math/mathomatic/patches
parent1548eaf1121a4eba2b86e372a1fe7facdc42953a (diff)
downloadpkgsrc-76ac2ced9d502562fe7f98371f288d3b4f4a0fc5.tar.gz
Update mathomatic to 11.1.
Changes: - Fixed "makefile" to be completely portable. No longer requires GNU make. - Simplified some code. - Converted token_type.kind to enum type for better type checking. - Removed all "unsigned" variables and type casts. - Simplified "simplify" command code. Some speed up. - Moved "*.in" and "fix*" to directory "tests". - Implemented long variable names (up to 40 characters).
Diffstat (limited to 'math/mathomatic/patches')
-rw-r--r--math/mathomatic/patches/patch-aa18
1 files changed, 7 insertions, 11 deletions
diff --git a/math/mathomatic/patches/patch-aa b/math/mathomatic/patches/patch-aa
index 148a2c3e65b..51fc2da8e7c 100644
--- a/math/mathomatic/patches/patch-aa
+++ b/math/mathomatic/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.3 2004/05/04 17:20:49 minskim Exp $
+$NetBSD: patch-aa,v 1.4 2004/05/10 16:47:15 minskim Exp $
---- makefile.orig 2004-05-01 20:43:07.000000000 -0500
+--- makefile.orig 2004-05-08 18:33:05.000000000 -0500
+++ makefile
-@@ -1,16 +1,16 @@
+@@ -1,13 +1,13 @@
# Makefile for compiling Mathomatic for UNIX or Linux.
-CFLAGS = -O -DUNIX
@@ -11,14 +11,10 @@ $NetBSD: patch-aa,v 1.3 2004/05/04 17:20:49 minskim Exp $
+#LDFLAGS = -s
LIBS = -lm
- # 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
+-CFLAGS += $(READLINE:1=-DREADLINE)
+-LIBS += $(READLINE:1=-lreadline -lcurses)
++CFLAGS += -DREADLINE
++LIBS += -lreadline
-PREFIX = /usr/local
+#PREFIX = /usr/local