pkgsrc/cad/qcad/patches/patch-ab
chap 17ce381e0c qcad-2.0.5.0 Community Edition at last imported from wip. While the old
1.5.4 release was something of a toy, QCad was thoroughly reworked for 2.0
and could now be called usable for many practical purposes.

Versions 2.0.4.0 (initially) to 2.0.5.0 have been usable in wip for a bit
more than a year, and so seem ready to import.

  "Yes, that should be fine. Please watch the bulk builds for it and
   try to fix any problems that might appear." -wiz@

Updates to pkglint now produce some new suggestions, which I will make and
commit after confirming they don't break anything; at least this version I
already know to build successfully for me.
2006-06-15 08:26:58 +00:00

19 lines
764 B
Text

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