summaryrefslogtreecommitdiff
path: root/textproc/unroff/patches/patch-a
blob: 0a5259af6f6484e47bb6d131700b470c4262a8b1 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
diff -cr unroff-1.0.orig/src/Makefile unroff-1.0/src/Makefile
*** unroff-1.0.orig/src/Makefile	Wed Aug 23 14:12:48 1995
--- unroff-1.0/src/Makefile	Mon Feb 12 18:51:08 1996
***************
*** 1,14 ****
  # $Revision: 1.1.1.1 $
  
  ###  You need a C compiler that compiles ANSI C code.
! CC      = gcc
! CFLAGS  = -Wall -pedantic -O
  
  ###  If you need additional linker flags add them here.
! LDFLAGS =
  
  ###  The directory where the Elk installation resides on your system.
! ELKDIR  = /usr/elk
  
  ###  Additional libraries.  You may want to insert the output of the
  ###  shell-script $(ELKDIR)/lib/ldflags here.
--- 1,14 ----
  # $Revision: 1.1.1.1 $
  
  ###  You need a C compiler that compiles ANSI C code.
! #CC      = gcc
! #CFLAGS  = -Wall -pedantic -O
  
  ###  If you need additional linker flags add them here.
! LDFLAGS = -s
  
  ###  The directory where the Elk installation resides on your system.
! ELKDIR  = ${PREFIX}/share/elk
  
  ###  Additional libraries.  You may want to insert the output of the
  ###  shell-script $(ELKDIR)/lib/ldflags here.
***************
*** 18,24 ****
  MAKEDEP = makedepend
  
  ###  The directory under which you will install the Scheme files.
! DIR = /usr/local/lib/unroff
  
  ###  The default output format.
  FORMAT = html
--- 18,24 ----
  MAKEDEP = makedepend
  
  ###  The directory under which you will install the Scheme files.
! DIR = ${PREFIX}/share/unroff
  
  ###  The default output format.
  FORMAT = html
***************
*** 30,36 ****
  ###  ------------------------------------------------------------------------- 
  
  SHELL   = /bin/sh
! INCLUDE = -I$(ELKDIR)/include
  ELK     = $(ELKDIR)/lib/module.o
  DEFS    = -DDEFAULT_DIR=\"$(DIR)\" -DDEFAULT_FORMAT=\"$(FORMAT)\"
  CTAGS   = ctags -t -w
--- 30,36 ----
  ###  ------------------------------------------------------------------------- 
  
  SHELL   = /bin/sh
! INCLUDE = -I${PREFIX}/include/elk
  ELK     = $(ELKDIR)/lib/module.o
  DEFS    = -DDEFAULT_DIR=\"$(DIR)\" -DDEFAULT_FORMAT=\"$(FORMAT)\"
  CTAGS   = ctags -t -w