From a5e80c155077e3d961b927a59f151fac34a38e3e Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Fri, 15 Aug 2014 22:09:25 +0000 Subject: [PATCH] Fix build on -current. --- math/eval/files/patch-Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/math/eval/files/patch-Makefile b/math/eval/files/patch-Makefile index 30b6cc197427..110d78ece8a2 100644 --- a/math/eval/files/patch-Makefile +++ b/math/eval/files/patch-Makefile @@ -5,7 +5,7 @@ # trouble with any of the other source modules. # -CCFLAGS=-c -+CCFLAGS=-c $(CFLAGS) ++CCFLAGS=-c $(CFLAGS) ${CPPFLAGS} # # On some systems, you can use LIBC=-lc_s to make the program smaller by # linking to a shared library. @@ -21,7 +21,7 @@ Eval$(EXE): $(OBJFILES) - $(CC) -o Eval $(OBJFILES) $(LIBM) $(LIBC) -+ $(CC) -o Eval $(OBJFILES) $(LIBM) $(LIBC) $(LIBREADLINE) ++ $(CC) -o Eval $(OBJFILES) $(LIBM) $(LIBC) $(LIBREADLINE) ${LDFLAGS} chmod 755 Eval eval: Eval$(EXE)