summaryrefslogtreecommitdiff
path: root/textproc/unroff/patches/patch-a
blob: 973ea5fd756f7b5bf9ced2a1be729fe094bc7734 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
$NetBSD: patch-a,v 1.3 1998/08/07 11:14:14 agc Exp $

*** src/Makefile	Wed Aug 23 14:12:48 1995
--- src/Makefile	Mon Feb 12 18:51:08 1996
@@ -1,14 +1,14 @@
 # $Revision: 1.3 $
 
 ###  You need a C compiler that compiles ANSI C code.
-CC      = gcc
-CFLAGS  = -Wall -pedantic -O
+#CC      = gcc
+#CFLAGS  = -Wall -pedantic -O
 
 ###  If you need additional linker flags add them here.
-LDFLAGS =
+LDFLAGS = -s
 
 ###  The directory where the Elk installation resides on your system.
-ELKDIR  = /usr/elk
+ELKDIR  = ${PREFIX}/lib/elk
 
 ###  Additional libraries.  You may want to insert the output of the
 ###  shell-script $(ELKDIR)/lib/ldflags here.
@@ -18,7 +18,7 @@
 MAKEDEP = makedepend
 
 ###  The directory under which you will install the Scheme files.
-DIR = /usr/local/lib/unroff
+DIR = ${PREFIX}/share/unroff
 
 ###  The default output format.
 FORMAT = html
@@ -30,7 +30,7 @@
 ###  ------------------------------------------------------------------------- 
 
 SHELL   = /bin/sh
-INCLUDE = -I$(ELKDIR)/include
+INCLUDE = -I${PREFIX}/include/elk
 ELK     = $(ELKDIR)/lib/module.o
 DEFS    = -DDEFAULT_DIR=\"$(DIR)\" -DDEFAULT_FORMAT=\"$(FORMAT)\"
 CTAGS   = ctags -t -w