[kde-freebsd] [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


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

            Bug ID: 210418
           Summary: devel/qmake5: qmake adds -L/usr/local/lib ahead of
                    LIBS causing build to use the old versions of
                    libraries
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: yuri at rawbw.com
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

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.

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


More information about the kde-freebsd mailing list