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

--- rfile.cpp.orig	Tue Feb 20 21:31:27 2001
+++ rfile.cpp
@@ -295,7 +295,7 @@
 
 #ifndef DEF_WINDOWS
   // Test /usr/share/<proj>/...:
-  ret = QString("/usr/share/")+DEF_APPNAME_L+subdir+"/"+_name;
+  ret = QString("@PREFIX@/share/")+DEF_APPNAME_L+subdir+"/"+_name;
   RLOG("\nret2: "); RLOG(ret);
   if(QFileInfo(ret).exists()) return ret;
 
@@ -327,7 +327,7 @@
 #ifndef DEF_WINDOWS
   if(_prior==0 || _prior==2) {
     // Test /usr/share/<proj>/...:
-    ret = QString("/usr/share/")+DEF_APPNAME_L+"/"+_subdir;
+    ret = QString("@PREFIX@/share/")+DEF_APPNAME_L+"/"+_subdir;
     if(QFileInfo(ret).exists()) return ret;
   }