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-aa25
1 files changed, 19 insertions, 6 deletions
diff --git a/textproc/unroff/patches/patch-aa b/textproc/unroff/patches/patch-aa
index 02162f9374c..806140569b6 100644
--- a/textproc/unroff/patches/patch-aa
+++ b/textproc/unroff/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1 2001/04/05 15:54:57 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2006/01/10 16:34:09 joerg Exp $
---- src/Makefile.orig Wed Aug 23 14:12:48 1995
-+++ src/Makefile Wed Dec 8 15:10:43 1999
-@@ -2,12 +2,12 @@
+--- src/Makefile.orig 1995-08-23 12:12:48.000000000 +0000
++++ src/Makefile
+@@ -2,16 +2,16 @@
### You need a C compiler that compiles ANSI C code.
-CC = gcc
@@ -19,17 +19,30 @@ $NetBSD: patch-aa,v 1.1 2001/04/05 15:54:57 wiz Exp $
+ELKDIR = ${PREFIX}/lib/elk
### Additional libraries. You may want to insert the output of the
-@@ -19,5 +19,5 @@
+ ### shell-script $(ELKDIR)/lib/ldflags here.
+-LIBS = -lm
++LIBS = ${COMPILER_RPATH_FLAG}${PREFIX}/lib -lelk -lm
+
+ ### The makedepend program (it's usually installed with the X11 binaries).
+@@ -19,5 +19,5 @@ 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.
-@@ -31,5 +31,5 @@
+@@ -31,5 +31,5 @@ FORMAT = html
SHELL = /bin/sh
-INCLUDE = -I$(ELKDIR)/include
+INCLUDE = -I${PREFIX}/include/elk
ELK = $(ELKDIR)/lib/module.o
DEFS = -DDEFAULT_DIR=\"$(DIR)\" -DDEFAULT_FORMAT=\"$(FORMAT)\"
+@@ -68,6 +68,5 @@ OBJECTS = \
+ subst.o\
+ table.o\
+- unroff.o\
+- $(ELK)
++ unroff.o
+
+ ALL = unroff