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
|
$NetBSD: patch-aa,v 1.4 2002/08/24 11:24:56 dmcmahill Exp $
--- bins.orig Mon Aug 19 01:04:31 2002
+++ bins Mon Aug 19 01:04:31 2002
@@ -259,5 +259,5 @@
# The following parameters cannot be set in config files for now :
- globalConfigDir => "/etc/bins", # System wide
+ globalConfigDir => "@pkgsysconfdir@/bins", # System wide
# configuration directory.
userConfigDir => "~/.bins", # User configuration directory
@@ -278,11 +278,12 @@
);
-# normally, you don't have to touch that...
-my $localEncoding = `locale charmap`;
-# ANSI is unspeakably primitive, keep LATIN1 instead
-if ($localEncoding && ($localEncoding ne "ANSI_X3.4-1968")) {
- $defaultConfig{defaultEncoding} = $localEncoding;
- beVerboseN("Forcing encoding to $localEncoding", 2);
-}
+# XXX no "locale" command in NetBSD
+# # normally, you don't have to touch that...
+# my $localEncoding = `locale charmap`;
+# # ANSI is unspeakably primitive, keep LATIN1 instead
+# if ($localEncoding && ($localEncoding ne "ANSI_X3.4-1968")) {
+# $defaultConfig{defaultEncoding} = $localEncoding;
+# beVerboseN("Forcing encoding to $localEncoding", 2);
+# }
my $local2htmlConverter;
if ($defaultConfig{defaultEncoding} ne $defaultConfig{htmlEncoding}){
|