freebsd-ports/cad/leocad/files/patch-qt-qtmain.cpp
Rusmir Dusko 8b25673568 - Update to 0.80.1
- Change maintainer email gmx.ch --> FreeBSD.org
- Use the new format for LIB_DEPENDS
- Add dependency for cad/ldraw
- USES desktop-file-utils gmake pkgconfig shared-mime-info
- Add USE_QT4

Approved by: tabwg/pawel (mentors)
2013-09-17 19:14:02 +00:00

13 lines
403 B
C++

--- qt/qtmain.cpp.orig 2013-08-13 06:54:12.000000000 +0200
+++ qt/qtmain.cpp 2013-08-30 23:52:45.000000000 +0200
@@ -149,6 +149,10 @@
const char* libPath = LC_INSTALL_PREFIX"/share/leocad/";
#endif
+#ifdef Q_OS_FREEBSD
+ const char* libPath = LC_INSTALL_PREFIX"/local/share/leocad/";
+#endif
+
#ifdef Q_OS_MAC
QDir bundlePath = QDir(QCoreApplication::applicationDirPath());
bundlePath.cdUp();