blob: 7081ac97fe62e4013f13d04e28e81be8716d0cc0 (
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-a,v 1.4 1999/12/08 14:11:34 rh 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)\"
|