Files
pkgsrc-ng/cad/qcad/patches/patch-ab
2013-09-26 17:14:40 +02:00

20 lines
764 B
Plaintext

$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__