@ -346,6 +346,12 @@ public:
if(!conf->getenv("QC_ENABLE_DEBUG").isEmpty()) {
conf->addExtra("CONFIG += debug");
}
#ifdef Q_OS_FREEBSD
conf->addLib("-lexecinfo");
conf->addExtra("MANPREFIX = \$\$PREFIX");
#else
conf->addExtra("MANPREFIX = \$\$PREFIX/share");
#endif
return(QT_VERSION >= 0x040500);
};
@ -21,6 +21,12 @@ public:
conf->addExtra("MANPREFIX = $$PREFIX");
conf->addExtra("MANPREFIX = $$PREFIX/share");
@ -12,7 +12,7 @@
#include <QSet>
#include <iostream>
#include <errno.h>
#ifdef Q_WS_MAC
#if defined(Q_WS_MAC) || defined(Q_OS_FREEBSD)
#include <sys/param.h>
#include <sys/mount.h>
#include <string.h>
@ -60,7 +60,7 @@ const int UNLEN = 256;
#ifndef Q_WS_WIN
@ -19,7 +19,8 @@ nox {
} else {
man.files = ../doc/qbittorrent.1
man.path = $$PREFIX/share/man/man1/
man.path = $$MANPREFIX/man/man1/
INSTALLS += man
# Menu Icon