]> git.pld-linux.org Git - packages/lynx.git/blob - lynx-config.patch
a038735ee08eb4aa8ea2e179fe4ddb2ee16cf336
[packages/lynx.git] / lynx-config.patch
1 --- lynx2-8-7/lynx.cfg~ 2010-06-21 13:58:02.215705722 +0200
2 +++ lynx2-8-7/lynx.cfg  2010-06-21 14:00:28.895674991 +0200
3 @@ -1,6 +1,6 @@
4  # $LynxId: lynx.cfg,v 1.180 2009/06/07 17:02:21 tom Exp $
5  # lynx.cfg file.
6 -# The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
7 +# The default placement for this file is /etc/lynx.cfg (Unix)
8  #                                     or Lynx_Dir:lynx.cfg (VMS)
9  #
10  # $Format: "#PRCS LYNX_VERSION \"$ProjectVersion$\""$
11 @@ -12,7 +12,7 @@
12  # Definition pairs are of the form  VARIABLE:DEFINITION
13  # NO spaces are allowed between the pair items.
14  #
15 -#  If you do not have write access to /usr/local/lib you may change
16 +#  If you do not have write access to /etc you may change
17  #  the default location of this file in the userdefs.h file and recompile,
18  #  or specify its location on the command line with the "-cfg"
19  #  command line option.
20 @@ -48,7 +48,7 @@
21  #
22  # Then in ~/lynx.cfg:
23  #
24 -#   INCLUDE:/usr/local/lib/lynx.cfg
25 +#   INCLUDE:/etc/lynx.cfg
26  #           ^^^^^^^^^^^^^^^^^^^^^^^ or whatever is appropriate on your system
27  # and now your own tweaks.
28  #
29 --- lynx2-8-7/makefile.in~      2010-06-21 11:27:35.000000000 +0200
30 +++ lynx2-8-7/makefile.in       2010-06-21 14:04:23.622318548 +0200
31 @@ -66,7 +66,7 @@
32  DOCDIR    = $(DESTDIR)$(docdir)
33  
34  ## Where you want the help-files installed
35 -helpdir   = @datadir@/lynx_help
36 +helpdir   = @datadir@/lynx/help
37  HELPDIR   = $(DESTDIR)$(helpdir)
38  
39  ##set the relative location of the WWW library Implementation directory,
40 @@ -358,7 +358,7 @@
41         @-rm -f help_files.tmp
42  
43  install-help : help_files.sed $(HELPDIR)
44 -       - (cd $(HELPDIR) && WD=`pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_help$$!!'` && test $$WD != $$HEAD && rm -fr *)
45 +       - (cd $(HELPDIR) && WD=`pwd` && HEAD=`echo $$WD|sed -e 's!/lynx/help$$!!'` && test $$WD != $$HEAD && rm -fr *)
46         test -d $(HELPDIR)/keystrokes || mkdir $(HELPDIR)/keystrokes
47  @LYNXCFG_MAKE@ @echo 'Making htmlized lynx.cfg'
48  @LYNXCFG_MAKE@ cd $(SRC_DIR) && $(MAKE_RECUR) LYReadCFG.i
49 --- lynx2-8-7/userdefs.h~       2010-06-21 14:03:36.879822401 +0200
50 +++ lynx2-8-7/userdefs.h        2010-06-21 14:05:52.335642938 +0200
51 @@ -105,7 +105,7 @@
52   * mailcap files (see the examples in the samples directory).
53   */
54  #ifndef LYNX_CFG_FILE
55 -#define LYNX_CFG_FILE "/usr/share/lynx/lynx.cfg"
56 +#define LYNX_CFG_FILE "/etc/lynx.cfg"
57  #endif /* LYNX_CFG_FILE */
58  
59  /**************************
60 @@ -491,7 +491,7 @@
61   * The definition here can be overridden at run time by defining a
62   * "LYNX_HELPFILE" environment variable.
63   */
64 -#define HELPFILE "http://lynx.isc.org/release/lynx2-8-7/lynx_help/lynx_help_main.html"
65 +#define HELPFILE "file://localhost/usr/share/lynx/help/lynx_help_main.html.gz"
66  /* #define HELPFILE "file://localhost/PATH_TO/lynx_help/lynx_help_main.html" */
67  
68  /*****************************
This page took 0.068539 seconds and 2 git commands to generate.