Fix FreeBSD compilation

This commit is contained in:
Christophe Dumez
2011-01-15 09:33:37 +00:00
parent 74e2339bc8
commit c19db4fa04
6 changed files with 17 additions and 3 deletions

6
configure vendored
View File

@@ -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);
}
};