[Bug 212859] www/webkit-qt5: fails to build in presence of leveldb

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 25 17:52:45 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212859

--- Comment #2 from Raphael Kubo da Costa <rakuco at FreeBSD.org> ---
There are separate issues at play here:
* Our .qmake.cache hack in bsd.qt.mk doesn't work correctly with
USES=qmake:outsource, as it uses ${WRKSRC} instead of ${BUILD_WRKSRC}, so it's
creating the file in the wrong directly and passing the wrong value in -L.
* Even after that's fixed, the way leveldb is referenced when linking
libQt5WebKit.so (-L/path/to/qt/libleveldb.a's/location -Wl,-whole-archive
-lleveldb -Wl,-no-whole-archive) makes ld use liblevel.so if it's available.
* We should actually  be using the system's leveldb anyway instead of using a
bundled dependency. However, the databases/leveldb port installs memenv.h into
${LOCALBASE}/include/memenv/memenv.h instead of
${LOCALBASE}/include/leveldb/memenv/memenv.h. Qt's configuration code expects
the latter, not the former, so it's never able to detect leveldb is installed.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list