summaryrefslogtreecommitdiff
path: root/comms/efax-gtk/patches/patch-ab
blob: 32920fcac27e1c0b733c7d6d951c1e5c781fb681 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ab,v 1.1.1.1 2002/05/04 02:03:26 jtb Exp $

--- main.cpp.orig	Thu Apr 25 16:28:51 2002
+++ main.cpp	Thu Apr 25 16:32:49 2002
@@ -106,7 +106,7 @@
 
   if (!prog_config.found_rcfile) {
 
-    rcfile = "/usr/local/etc/";
+    rcfile = "@RCDIR@";
     rcfile += RC_FILE;
 
 #ifdef HAVE_IOS_NOCREATE
@@ -140,7 +140,7 @@
 
   if (!prog_config.found_rcfile) {
     return_val = "Can't find or open file /etc/" RC_FILE ",\n"
-                 "/usr/local/etc/" RC_FILE;
+                 "@RCDIR@/" RC_FILE;
     if (!prog_config.homedir.empty()) {
       return_val +=  " or ";
       return_val += prog_config.homedir + "/." RC_FILE;