summaryrefslogtreecommitdiff
path: root/textproc/unroff/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/unroff/patches/patch-aa')
-rw-r--r--textproc/unroff/patches/patch-aa35
1 files changed, 35 insertions, 0 deletions
diff --git a/textproc/unroff/patches/patch-aa b/textproc/unroff/patches/patch-aa
new file mode 100644
index 00000000000..02162f9374c
--- /dev/null
+++ b/textproc/unroff/patches/patch-aa
@@ -0,0 +1,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)\"