blob: a4ebe533865ec38aa359aa36759a226ff2aec166 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$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
|