From d285f0f10135d59e30ee6ed71be23b37ed486ec5 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 12 Sep 2005 10:58:41 +0000 Subject: Enable readline support. PR: 85793 Submitted by: Nicola Vitale --- math/aamath/files/patch-Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'math/aamath/files/patch-Makefile') diff --git a/math/aamath/files/patch-Makefile b/math/aamath/files/patch-Makefile index 8c178c8fdd50..a3476d1e8e37 100644 --- a/math/aamath/files/patch-Makefile +++ b/math/aamath/files/patch-Makefile @@ -1,14 +1,17 @@ ---- Makefile.orig Thu Jun 23 00:12:18 2005 -+++ Makefile Thu Jun 23 15:08:04 2005 -@@ -3,7 +3,7 @@ +--- Makefile Wed Jun 22 22:12:18 2005 ++++ Makefile.port Tue Sep 6 13:29:09 2005 +@@ -3,9 +3,9 @@ CXXFILES = parser.cc lexer.cc expr.cc canvas.cc aamath.cc OBJS = $(CXXFILES:.cc=.o) TARGET = aamath -CFLAGS = -Wall -O2 -g -DUSE_READLINE -+CFLAGS ?= -Wall -O2 -g -DUSE_READLINE ++CFLAGS += -Wall -g -DUSE_READLINE LFLAGS = -g - LIBS = -lreadline -ltermcap +-LIBS = -lreadline -ltermcap ++LIBS = $(LDFLAGS) -ltermcap + $(TARGET): $(OBJS) + $(LD) $(LFLAGS) $(OBJS) -o $@ $(LIBS) @@ -21,3 +21,5 @@ clean: -- cgit v1.2.3