1 $NetBSD: patch-aa,v 1.2 2008/07/09 05:02:06 bjs Exp $
6 --- Makefile.orig 1994-05-01 22:51:17.000000000 +0000
9 # name of the directory into which the binary should be installed
10 # used only when you use 'make install'
12 -INSDIR=/usr/local/bin
13 +INSDIR=${DESTDIR}${PREFIX}
16 # choose one from each of 1) 2) and 3) below
17 @@ -18,21 +18,21 @@ INSDIR=/usr/local/bin
20 # a) for BSD derivitives, enable the following line
24 # b) for XENIX systems, enable the following line
27 # b) for other A.T.&T. UNIX derivitives, enable the following line
32 # 2) SELECTION OF TERMINAL CONTROL LIBRARY
33 # choose either of a) b) or c)
35 # a) if you use termcap, enable the following lines
41 # b) if you are using terminfo on a XENIX machine, enable the following lines
43 @@ -44,8 +44,8 @@ OSFLAG=-DATT
46 # d) NONE OF THE ABOVE
48 -TLIB=m # just a link to mathlib; quick hack to avoid fixing Makefile
50 +#TLIB=m # just a link to mathlib; quick hack to avoid fixing Makefile
53 # 3) SELECTION OF WINDOW MANAGER AVAILABILITY
54 @@ -80,7 +80,7 @@ MANPAGE=spiff.1
55 # disable this line iff you like being honked at.
58 -CFLAGS=-O $(OSFLAG) $(TFLAG) $(VISFLAG) $(DEFS)
59 +CFLAGS+=$(OSFLAG) $(TFLAG) $(VISFLAG) $(DEFS)
63 @@ -145,5 +145,5 @@ cmd:
64 -$(CMD) $(CFILES) $(HFILES) $(OTHER) $(MANPAGE)
66 mv spiff $(INSDIR)/bin
67 - cp $(MANPAGE) $(INSDIR)/man/man1
68 + cp $(MANPAGE) $(INSDIR)/$(PKGMANDIR)/man1