aboutsummaryrefslogtreecommitdiffstats
path: root/www/lynx/files/patch-aa
blob: 576bcd58352c178e6029692f167fa5e9e0a8934e (plain) (blame)
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
*** Makefile.orig	Wed Dec 31 17:11:19 1997
--- Makefile	Wed Jan 14 02:01:23 1998
***************
*** 1,6 ****
--- 1,7 ----
  ##makefile for lynx
  
  SHELL = /bin/sh
+ PREFIX ?= /usr/local
  
  ##uncomment the next line if your make fails to set $(MAKE)
  #MAKE= make
***************
*** 14,28 ****
  
  ##change the next line if you want lynx installed somewhere
  ##besides /usr/local/bin
! exec= /usr/local/bin
  
  ##change the next line if you want the lynx man file installed somewhere
  ##besides /usr/local/man/man1
! doc= /usr/local/man/man1
  
  ##change the next line if you want the lynx.cfg file installed somewhere
  ##besides /usr/local/lib
! cfg= /usr/local/lib
  
  installbin= install -c -s -m 755
  installdoc= install -c -m 444
--- 15,29 ----
  
  ##change the next line if you want lynx installed somewhere
  ##besides /usr/local/bin
! exec= ${PREFIX}/bin
  
  ##change the next line if you want the lynx man file installed somewhere
  ##besides /usr/local/man/man1
! doc= ${PREFIX}/man/man1
  
  ##change the next line if you want the lynx.cfg file installed somewhere
  ##besides /usr/local/lib
! cfg= ${PREFIX}/etc
  
  installbin= install -c -s -m 755
  installdoc= install -c -m 444
***************
*** 274,279 ****
--- 275,281 ----
  
  # Set SITE_DEFS to one or more of the defines for lynx below:
  SITE_DEFS = $(DIR_DEFS) # Your defines here
+ SITE_DEFS += -DLYNX_CFG_FILE='\"'$(PREFIX)/etc/lynx.cfg'\"'
  
  # if you are compiling on a previously unsupported system, modify
  # this generic entry!!