summaryrefslogtreecommitdiff
path: root/textproc/lout/patches/patch-aa
blob: ab2bf383a4c669cad2af2b27f5ecea5980e0c1f6 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
$NetBSD: patch-aa,v 1.2 1999/09/28 13:15:03 simonb Exp $

--- makefile.orig	Fri Feb  5 10:13:30 1999
+++ makefile	Tue Sep 28 17:36:53 1999
@@ -248,14 +248,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
@@ -271,8 +271,8 @@
 LOC_FR	= fr
 LOC_DE	= de
 
-PDF_COMPRESSION	= 0
-ZLIB		=
+PDF_COMPRESSION	= 1
+ZLIB		= -lz
 ZLIBPATH	=
 
 CC	= gcc
@@ -299,7 +299,7 @@
 	  -DCHAR_OUT=$(CHAROUT)					\
 	  -DLOCALE_ON=$(USELOC)					\
 	  -DASSERT_ON=1 $(COPTS)				\
-	  -DDEBUG_ON=1  -g					\
+	  -DDEBUG_ON=1  -g -O2					\
 	  -DPDF_COMPRESSION=$(PDF_COMPRESSION)			\
 	  $(ZLIBPATH)
 
@@ -309,6 +309,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