openbsd-ports/cad/kicad/patches/patch-common_gestfich_cpp
jasper b3c1964bf9 - update kicad to 20100505
* update homepage
* re-order Makefile
* various other tweaks/fixes
2011-05-03 18:31:14 +00:00

31 lines
1.4 KiB
Plaintext

$OpenBSD: patch-common_gestfich_cpp,v 1.3 2011/05/03 18:31:14 jasper Exp $
--- common/gestfich.cpp.orig Sat Aug 21 11:43:24 2010
+++ common/gestfich.cpp Sat Aug 21 11:44:44 2010
@@ -63,7 +63,7 @@ static wxString s_HelpPathList[] = {
#else
wxT( "/usr/share/doc/kicad/help/" ),
wxT( "/usr/local/share/doc/kicad/help/" ),
- wxT( "/usr/local/kicad/doc/help/" ), // default install for "universal
+ wxT( "${LOCALBASE}/share/kicad/help/" ), // default install for "universal
// tarballs" and build for a server
// (new)
wxT( "/usr/local/kicad/help/" ), // default install for "universal
@@ -86,7 +86,7 @@ static wxString s_KicadDataPathList[] = {
wxT( "c:/Program Files/kicad/" ),
wxT( "d:/Program Files/kicad/" ),
#else
- wxT( "/usr/share/kicad/" ),
+ wxT( "{LOCALBASE}/share/kicad/" ),
wxT( "/usr/local/share/kicad/" ),
wxT( "/usr/local/kicad/share/" ), // default data path for "universal
// tarballs" and build for a server
@@ -106,7 +106,7 @@ static wxString s_KicadBinaryPathList[] = {
wxT( "c:/Program Files/kicad/bin/" ),
wxT( "d:/Program Files/kicad/bin/" ),
#else
- wxT( "/usr/bin/" ),
+ wxT( "{LOCALBASE}/bin/" ),
wxT( "/usr/local/bin/" ),
wxT( "/usr/local/kicad/bin/" ),
#endif