[kde-freebsd] maintainer-feedback requested: [Bug 210418] devel/qmake5: qmake adds -L/usr/local/lib ahead of LIBS causing build to use the old versions of libraries
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jun 20 22:20:08 UTC 2016
yuri at rawbw.com has reassigned Bugzilla Automation <bugzilla at FreeBSD.org>'s
request for maintainer-feedback to kde at FreeBSD.org:
Bug 210418: devel/qmake5: qmake adds -L/usr/local/lib ahead of LIBS causing
build to use the old versions of libraries
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210418
--- Description ---
I am looking at the databases/sqlitestudio port.
In this makefile
/usr/ports/databases/sqlitestudio/work/SQLiteStudio3/guiSQLiteStudio/Makefile
qmake always adds -L/usr/local/lib in front, so LIBS looks like this:
> LIBS = $(SUBLIBS) -L/usr/local/lib
-L/usr/ports/databases/sqlitestudio/work/SQLiteStudio3/../output/SQLiteStudio
-lcoreSQLiteStudio -lQt5UiTools -lQt5Svg -lQt5Widgets -lQt5Gui -lQt5Xml
-lQt5Core -lGL
This causes the build to first look at the pre-installed libraries, which is
completely wrong.
I suspect this is a general problem for all Qt5-based ports that use internal
shared libraries.
More information about the kde-freebsd
mailing list