summaryrefslogtreecommitdiff
path: root/math/eval/files/patch-aa
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1998-04-26 03:25:11 +0000
committerMatthew Hunt <mph@FreeBSD.org>1998-04-26 03:25:11 +0000
commit50db84abd37e97f7cbbfbed00f9ab3f3240ee0e3 (patch)
tree90e6070b2a800afe8f93647724540a734eb5abef /math/eval/files/patch-aa
parentportlint. (diff)
Import of Eval v113, a command-line based floating-point calculator.
PR: 4979 Submitted by: Slaven Rezic <eserte@cs.tu-berlin.de>
Notes
Notes: svn path=/head/; revision=10680
Diffstat (limited to '')
-rw-r--r--math/eval/files/patch-aa27
1 files changed, 27 insertions, 0 deletions
diff --git a/math/eval/files/patch-aa b/math/eval/files/patch-aa
new file mode 100644
index 000000000000..465076c00b62
--- /dev/null
+++ b/math/eval/files/patch-aa
@@ -0,0 +1,27 @@
+--- /tmp/Eval/source/Makefile.unx Tue Apr 13 21:04:14 1993
++++ Makefile Sat Nov 8 11:50:35 1997
+@@ -11,13 +11,14 @@
+ # in order to get the string space high enough. I haven't had any
+ # trouble with any of the other source modules.
+ #
+-CCFLAGS=-c
++CCFLAGS=-c -fwritable-strings $(CFLAGS)
+ #
+ # On some systems, you can use LIBC=-lc_s to make the program smaller by
+ # linking to a shared library.
+ #
+ LIBC=-lc
+ LIBM=-lm
++LIBREADLINE=-lreadline -ltermcap
+ EXE=
+ OBJ=.o
+ HEADER=eval.h
+@@ -30,7 +31,7 @@
+ $(OBJFILES): $(HEADER)
+
+ Eval$(EXE): $(OBJFILES)
+- $(CC) -o Eval $(OBJFILES) $(LIBM) $(LIBC)
++ $(CC) -o Eval $(OBJFILES) $(LIBM) $(LIBC) $(LIBREADLINE)
+ chmod 755 Eval
+
+ eval: Eval$(EXE)