summaryrefslogtreecommitdiff
path: root/astro/xephem/files/patch-aa
blob: 135684fa2c68bf99dc435045cb3e60e370a60b50 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
--- Imakefile~	Mon Aug 21 10:36:30 1995
+++ Imakefile	Thu Aug  1 11:58:04 1996
@@ -24,7 +24,7 @@
 
 
        DEPXMLIB = $(USRLIBDIR)/libXm.a
-          XMLIB = -lXm
+          XMLIB = ${MOTIFLIB}
         DEPLIBS = $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
 LOCAL_LIBRARIES = $(XMLIB) $(XTOOLLIB) $(XLIB)
   SYS_LIBRARIES = -lm
@@ -34,4 +34,9 @@
 
 /* especially worth having this dependency so the displayed version is current.
  */
+install::
+	mkdir -p ${PREFIX}/lib/X11/xephem
+	tar -cf - auxil edb gscdbd tools work |(cd ${PREFIX}/lib/X11/xephem; tar -xf -)
+	cp XEphem.ad ${PREFIX}/lib/X11/app-defaults/XEphem
+
 versionmenu.o:	patchlevel.h
--- XEphem.ad~	Mon Aug  7 10:23:43 1995
+++ XEphem.ad	Thu Aug  1 11:54:15 1996
@@ -102,39 +102,39 @@
 XEphem*TZone.UTC.set: False
 
 ! default plot and listing filenames (a leading ~ refers to HOME)
-XEphem*Plot*Filename.value: work/ephem.plt
-XEphem*List*Filename.value: work/ephem.lst
+XEphem*Plot*Filename.value: /usr/X11R6/lib/X11/xephem/work/ephem.plt
+XEphem*List*Filename.value: /usr/X11R6/lib/X11/xephem/work/ephem.lst
 
 ! default sky list filename (a leading ~ refers to HOME)
-XEphem*SkyList*textString: work/skylist.txt
+XEphem*SkyList*textString: /usr/X11R6/lib/X11/xephem/work/skylist.txt
 
 ! default close list filename (a leading ~ refers to HOME)
-XEphem*CloseList*textString: work/closelist.txt
+XEphem*CloseList*textString: /usr/X11R6/lib/X11/xephem/work/closelist.txt
 
 ! default help file name (a leading ~ refers to HOME)
-XEphem.HELPFILE: auxil/xephem.hlp
+XEphem.HELPFILE: /usr/X11R6/lib/X11/xephem/auxil/xephem.hlp
 
 ! default Earth menu sites file name
-XEphem.SITESFILE: auxil/xephem_sites
+XEphem.SITESFILE: /usr/X11R6/lib/X11/xephem/auxil/xephem_sites
 
 ! default initial database directory, file name pattern, and file names.
 ! DBinitialFiles may list db files to read automatically upon startup, each
 ! separated by one blank. These will be searched for in DBdirectory.
-XEphem.DBdirectory: edb
+XEphem.DBdirectory: /usr/X11R6/lib/X11/xephem/edb
 XEphem.DBpattern:  *.edb
 XEphem.DBinitialFiles: basic.edb
 
 ! default database fifo name (a leading ~ refers to HOME)
-XEphem.DBFIFO: fifos/xephem_db_fifo
+XEphem.DBFIFO: ~/.xephem/xephem_db_fifo
 
 ! default Skyview output fifo name (a leading ~ refers to HOME)
-XEphem.SKYOUTFIFO: fifos/xephem_out_fifo
+XEphem.SKYOUTFIFO: ~/.xephem/xephem_out_fifo
 
 ! default Skyview direction input fifo name (a leading ~ refers to HOME)
-XEphem.SKYINFIFO: fifos/xephem_in_fifo
+XEphem.SKYINFIFO: ~/.xephem/xephem_in_fifo
 
 ! default Skyview Button2 fifo name (a leading ~ refers to HOME)
-XEphem.SKYLOCFIFO: fifos/xephem_loc_fifo
+XEphem.SKYLOCFIFO: ~/.xephem/xephem_loc_fifo
 
 ! set Geocentric.set to true for geocentric separations,
 ! or Topocentric.set to true for topocentric separation..
--- misc.c~	Thu Aug  3 14:22:44 1995
+++ misc.c	Thu Aug  1 11:00:17 1996
@@ -673,7 +673,9 @@
 #include <errno.h>
 #include <perror.h>
 #else
+#ifndef __FreeBSD__
 	extern char *sys_errlist[];
+#endif
 	extern int errno;
 #endif
 	return (sys_errlist[errno]);