$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)\"
