freebsd-ports/devel/lincvs/files/patch-lincvs.cpp
Kirill Ponomarev cf286335da - Update to version 1.3.0:
* take maintainership (approved by jedgar@freebsd.org)
* make portlint happy
* add missing BUILD_DEPENDS on qmake (and unbreak)
* utilize NOPORTDOCS
* install translations and add patches to make use of
  them
* sizify

PR:		ports/62972
Submitted by:	Markus Brueffer <brueffer@phoenix-systems.de>
Approved by:	jedgar
2004-02-18 10:32:19 +00:00

13 lines
576 B
C++

--- src/lincvs.cpp.orig Tue Feb 17 17:45:15 2004
+++ src/lincvs.cpp Tue Feb 17 17:47:51 2004
@@ -2693,8 +2693,8 @@
QString lang = QString(QTextCodec::locale()).left(2); //maybe it's useful without left(2)
- helpDir = APPDIR + "/" + LC_HELP_DIR + "/" + LC_TRANSLATIONS_SUBDIR + "/" + lang;
- helpDirDef = APPDIR + "/" + LC_HELP_DIR;
+ helpDir = QString("%%PREFIX%%/share/doc/lincvs/") + LC_TRANSLATIONS_SUBDIR + "/" + lang;
+ helpDirDef = QString("%%PREFIX%%/share/doc/lincvs");
filename = helpDir + tr("/README.html");
f.setName(filename);