summaryrefslogtreecommitdiff
path: root/textproc/unroff/patches/patch-aa
blob: 02162f9374c0ac59b6569b0be3b588ec096847a3 (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
$NetBSD: patch-aa,v 1.1 2001/04/05 15:54:57 wiz Exp $

--- src/Makefile.orig	Wed Aug 23 14:12:48 1995
+++ src/Makefile	Wed Dec  8 15:10:43 1999
@@ -2,12 +2,12 @@
 
 ###  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
@@ -19,5 +19,5 @@
 
 ###  The directory under which you will install the Scheme files.
-DIR = /usr/local/lib/unroff
+DIR = ${PREFIX}/share/unroff
 
 ###  The default output format.
@@ -31,5 +31,5 @@
 
 SHELL   = /bin/sh
-INCLUDE = -I$(ELKDIR)/include
+INCLUDE = -I${PREFIX}/include/elk
 ELK     = $(ELKDIR)/lib/module.o
 DEFS    = -DDEFAULT_DIR=\"$(DIR)\" -DDEFAULT_FORMAT=\"$(FORMAT)\"