/[gentoo-alt]/trunk/prefix-overlay/app-shells/bash/files/bash-3.0-configs.patch
Gentoo

Diff of /trunk/prefix-overlay/app-shells/bash/files/bash-3.0-configs.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 903 Revision 904
3@@ -197,7 +197,7 @@ 3@@ -197,7 +197,7 @@
4 4
5 /* System paths */ 5 /* System paths */
6 6
7-#define DEFAULT_MAIL_DIRECTORY "/usr/spool/mail" 7-#define DEFAULT_MAIL_DIRECTORY "/usr/spool/mail"
8+#define DEFAULT_MAIL_DIRECTORY "/var/spool/mail" 8+#define DEFAULT_MAIL_DIRECTORY "@PREFIX@/var/spool/mail"
9 9
10 /* Characteristics of the system's header files and libraries that affect 10 /* Characteristics of the system's header files and libraries that affect
11 the compilation environment. */ 11 the compilation environment. */
12--- bash-3.0/config-bot.h 12--- bash-3.0/config-bot.h
13+++ bash-3.0/config-bot.h 13+++ bash-3.0/config-bot.h
36@@ -52,14 +52,14 @@ 36@@ -52,14 +52,14 @@
37 /* The default value of the PATH variable. */ 37 /* The default value of the PATH variable. */
38 #ifndef DEFAULT_PATH_VALUE 38 #ifndef DEFAULT_PATH_VALUE
39 #define DEFAULT_PATH_VALUE \ 39 #define DEFAULT_PATH_VALUE \
40- "/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:." 40- "/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:."
41+ "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 41+ "@PREFIX@/usr/local/sbin:@PREFIX@/usr/local/bin:@PREFIX@/usr/sbin:@PREFIX@/usr/bin:@PREFIX@/sbin:@PREFIX@/bin"
42 #endif 42 #endif
43 43
44 /* The value for PATH when invoking `command -p'. This is only used when 44 /* The value for PATH when invoking `command -p'. This is only used when
45 the Posix.2 confstr () function, or CS_PATH define are not present. */ 45 the Posix.2 confstr () function, or CS_PATH define are not present. */
46 #ifndef STANDARD_UTILS_PATH 46 #ifndef STANDARD_UTILS_PATH
47 #define STANDARD_UTILS_PATH \ 47 #define STANDARD_UTILS_PATH \
48- "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc" 48- "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc"
49+ "/bin:/usr/bin:/sbin:/usr/sbin" 49+ "@PREFIX@/bin:@PREFIX@/usr/bin:@PREFIX@/sbin:@PREFIX@/usr/sbin"
50 #endif 50 #endif
51 51
52 /* Default primary and secondary prompt strings. */ 52 /* Default primary and secondary prompt strings. */
53@@ -74,14 +74,16 @@ 53@@ -74,14 +74,16 @@
54 54
55 /* System-wide .bashrc file for interactive shells. */ 55 /* System-wide .bashrc file for interactive shells. */
56 /* #define SYS_BASHRC "/etc/bash.bashrc" */ 56 /* #define SYS_BASHRC "/etc/bash.bashrc" */
57+#define SYS_BASHRC "/etc/bash/bashrc" /* #26952 */ 57+#define SYS_BASHRC "@PREFIX@/etc/bash/bashrc" /* #26952 */
58 58
59 /* System-wide .bash_logout for login shells. */ 59 /* System-wide .bash_logout for login shells. */
60 /* #define SYS_BASH_LOGOUT "/etc/bash.bash_logout" */ 60 /* #define SYS_BASH_LOGOUT "/etc/bash.bash_logout" */
61+#define SYS_BASH_LOGOUT "/etc/bash/bash_logout" /* #90488 */ 61+#define SYS_BASH_LOGOUT "@PREFIX@/etc/bash/bash_logout" /* #90488 */
62 62
63 /* Define this to make non-interactive shells begun with argv[0][0] == '-' 63 /* Define this to make non-interactive shells begun with argv[0][0] == '-'
64 run the startup files when not in posix mode. */ 64 run the startup files when not in posix mode. */
65-/* #define NON_INTERACTIVE_LOGIN_SHELLS */ 65-/* #define NON_INTERACTIVE_LOGIN_SHELLS */
66+#define NON_INTERACTIVE_LOGIN_SHELLS 66+#define NON_INTERACTIVE_LOGIN_SHELLS

Legend:
Removed from v.903  
changed lines
  Added in v.904

  ViewVC Help
Powered by ViewVC 1.1.20