summaryrefslogtreecommitdiff
path: root/math/mathomatic/patches/patch-aa
blob: f0fa1f34ece91e0379a6c868bdbdfaf527e925d1 (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.7 2004/08/04 19:59:59 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
 
-prefix		= /usr/local
+prefix		= ${PREFIX}
 bindir		= $(prefix)/bin
 mandir		= $(prefix)/man