summaryrefslogtreecommitdiff
path: root/textproc/lout/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/lout/patches/patch-aa')
-rw-r--r--textproc/lout/patches/patch-aa45
1 files changed, 45 insertions, 0 deletions
diff --git a/textproc/lout/patches/patch-aa b/textproc/lout/patches/patch-aa
new file mode 100644
index 00000000000..42e3408f7ef
--- /dev/null
+++ b/textproc/lout/patches/patch-aa
@@ -0,0 +1,45 @@
+$NetBSD: patch-aa,v 1.1.1.1 1998/11/09 18:05:10 tsarna Exp $
+
+--- makefile.orig Mon Nov 2 11:31:56 1998
++++ makefile Mon Nov 2 11:41:40 1998
+@@ -251,14 +251,14 @@
+ DBFIX = 0
+
+ USESTAT = 1
+-SAFEDFT = 0
++SAFEDFT = 1
+
+ COLLATE = 1
+
+-BINDIR = /usr/staff/jeff/bin
+-LIBDIR = /usr/staff/jeff/lout.lib
+-DOCDIR = /usr/staff/jeff/lout.doc
+-MANDIR = /usr/staff/jeff/lout.man
++BINDIR = @PREFIX@/bin
++LIBDIR = @PREFIX@/share/lout
++DOCDIR = @PREFIX@/share/doc/lout
++MANDIR = @PREFIX@/man/man1
+
+ LIBFONT = font
+ LIBMAPS = maps
+@@ -274,8 +274,8 @@
+ LOC_FR = fr
+ LOC_DE = de
+
+-PDF_COMPRESSION = 0
+-ZLIB =
++PDF_COMPRESSION = 1
++ZLIB = -lz
+ ZLIBPATH =
+
+ CC = gcc
+@@ -312,6 +312,9 @@
+ z25.o z26.o z27.o z28.o z29.o z30.o z31.o z32.o \
+ z33.o z34.o z35.o z36.o z37.o z38.o z39.o z40.o \
+ z41.o z42.o z43.o z44.o z45.o z46.o z47.o z48.o
++
++all: lout c2lout
++allinstall: install installman installdoc
+
+ lout: $(OBJS)
+ $(CC) -o lout $(OBJS) $(ZLIB) -lm