summaryrefslogtreecommitdiff
path: root/cad/qcad/patches/patch-ac
blob: 481c4b1acbbcb9e0a5583e1982d4addb033cc8b1 (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-ac,v 1.1.1.1 2001/03/26 20:53:54 jtb Exp $

--- rconfig.cpp.orig	Tue Feb 20 21:28:44 2001
+++ rconfig.cpp
@@ -178,7 +178,7 @@
   addSetting( "Print:PrintAdjustmentFactor", "1.0");
 
   addSetting( "Paths:BrowserPath", (RUNNING_WINDOWS ? "C:\\Progra~1\\Intern~1\\Iexplore.exe" : "netscape"));
-  addSetting( "Paths:LibraryPath1", "/usr/share/qcad/libraries" );
+  addSetting( "Paths:LibraryPath1", "@PREFIX@/share/qcad/libraries" );
 
   verbose=false;
 }
@@ -579,7 +579,7 @@
 
   // Search in /usr/share/qcad/... dir:
   if(!QFileInfo(path).exists()) {
-    path = QString("/usr/share/")+DEF_APPNAME_L+"/"+_relPath;
+    path = QString("@PREFIX@/share/")+DEF_APPNAME_L+"/"+_relPath;
   }
 #endif