]> git.pld-linux.org Git - packages/xbill.git/blob - xbill-FHS.patch
- new %%doc
[packages/xbill.git] / xbill-FHS.patch
1 diff -Nur xbill-2.0.orig/Imakefile xbill-2.0/Imakefile
2 --- xbill-2.0.orig/Imakefile    Wed Oct 31 21:20:20 2001
3 +++ xbill-2.0/Imakefile Wed Oct 31 21:25:57 2001
4 @@ -1,4 +1,5 @@
5 -XBILL_DIR = /var/lib/games/xbill/
6 +XBILL_DIR = /usr/X11R6/lib/xbill/
7 +XBILL_VAR_DIR = /var/games/xbill/
8  XCOMM XBILL_DIR = $(HOME)/.xbill/
9  
10  XCOMM Which widget set?  Motif looks slightly better; Athena is free.
11 @@ -15,7 +16,7 @@
12  
13  XCOMM You shouldn't have to change anything below this line.
14  
15 -XBILL_DEF = -DXBILL_HOME=\"$(XBILL_DIR)\"
16 +XBILL_DEF = -DXBILL_HOME=\"$(XBILL_DIR)\" -DXBILL_VAR=\"$(XBILL_VAR_DIR)\"
17  
18  INCLUDES = -I. $(XPMINC)
19  CXXDEFINES = $(XBILL_DEF) $(DEFS) $(INCS)
20 @@ -136,6 +137,6 @@
21  
22  ComplexProgramTarget($(TARGET))
23  
24 -InstallMultipleFlags(scores,$(XBILL_DIR), -m 777)
25 +InstallMultipleFlags(scores,$(XBILL_VAR_DIR), -m 777)
26  InstallMultiple ($(XPMS),$(XBILL_DIR)pixmaps)
27  InstallMultiple ($(XBMS),$(XBILL_DIR)bitmaps)
28 diff -Nur xbill-2.0.orig/Scorelist.cc xbill-2.0/Scorelist.cc
29 --- xbill-2.0.orig/Scorelist.cc Thu Jan 23 17:22:50 1997
30 +++ xbill-2.0/Scorelist.cc      Wed Oct 31 21:26:12 2001
31 @@ -2,7 +2,7 @@
32  
33  FILE *Scorelist::open_file(char *mode) {
34         char file[255];
35 -       sprintf (file, "%sscores", XBILL_HOME);
36 +       sprintf (file, "%sscores", XBILL_VAR);
37         return fopen (file, mode);
38  }
39  
This page took 0.063491 seconds and 3 git commands to generate.