$NetBSD: patch-aa,v 1.8 2004/09/25 00:40:54 minskim Exp $ --- makefile.orig 2004-08-02 20:07:42.000000000 -0500 +++ makefile @@ -1,14 +1,14 @@ # Makefile for compiling Mathomatic for UNIX or Linux or Mac OS X. VERSION = `cat VERSION` -CFLAGS = -O -DUNIX -DVERSION=\"$(VERSION)\" -LDFLAGS = -s +CFLAGS += -O -DUNIX -DVERSION=\"$(VERSION)\" +#LDFLAGS = -s LIBS = -lm -CFLAGS += $(READLINE:1=-DREADLINE) -LIBS += $(READLINE:1=-lreadline -lcurses) +CFLAGS += -DREADLINE +LIBS += -lreadline -ltermcap -prefix = /usr/local +prefix = ${PREFIX} bindir = $(prefix)/bin mandir = $(prefix)/man