Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,20 @@
$NetBSD: patch-librecad_src_lib_engine_rs__system.cpp,v 1.1 2016/09/05 21:13:21 plunky Exp $
Help LibreCAD find the installed files
--- librecad/src/lib/engine/rs_system.cpp.orig 2016-09-04 20:35:17.219964268 +0000
+++ librecad/src/lib/engine/rs_system.cpp
@@ -600,11 +600,8 @@ QStringList RS_System::getDirectoryList(
}
}
- // Ubuntu
- dirList.append("/usr/share/doc/" + appDirName + "/" + subDirectory);
-
- // Redhat style:
- dirList.append("/usr/share/" + appDirName + "/" + subDirectory);
+ dirList.append("@PREFIX@/share/" + appDirName + "/" + subDirectory);
+ dirList.append("@PREFIX@/lib/" + appDirName + "/" + subDirectory);
// Others, RVT April 25, 2011 removed, doesn anybody use that still?
// dirList.append("/usr/X11R6/share/" + appDirName + "/" + subDirectory);