blob: a1743d9f29668e7e5a026e4555bde866baa16193 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ab,v 1.2 2006/06/15 08:26:58 chap Exp $
--- qcadlib/src/engine/rs_system.cpp.orig 2005-11-22 06:52:36.000000000 -0500
+++ qcadlib/src/engine/rs_system.cpp
@@ -333,13 +333,7 @@ RS_StringList RS_System::getDirectoryLis
dirList.append(appDir + "/" + subDirectory);
}
- // Redhat style:
- dirList.append("/usr/share/" + appDirName + "/" + subDirectory);
-
- // SuSE style:
- dirList.append("/usr/X11R6/" + appDirName + "/" + subDirectory);
-
- dirList.append("/usr/X11R6/share/" + appDirName + "/" + subDirectory);
+ dirList.append("@PREFIX@/share/" + appDirName + "/" + subDirectory);
dirList.append(getHomeDir() + "/." + appDirName + "/" + subDirectory);
#ifdef __APPLE__
|