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