summaryrefslogtreecommitdiff
path: root/math/eval/files/patch-Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 23:33:47 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 23:33:47 +0000
commita14c0668720dcafde3f60b7659a01d99ec693a41 (patch)
tree9c1a149bc961f7cd84b7aa93a2d61fec3d0f9685 /math/eval/files/patch-Makefile
parentRename mail/ patch-xy patches to reflect the files they modify. (diff)
Rename math/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363276
Diffstat (limited to 'math/eval/files/patch-Makefile')
-rw-r--r--math/eval/files/patch-Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/math/eval/files/patch-Makefile b/math/eval/files/patch-Makefile
new file mode 100644
index 000000000000..30b6cc197427
--- /dev/null
+++ b/math/eval/files/patch-Makefile
@@ -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 $(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)