Summary: | devel/qt5-core: fails (configure) when using LOCALBASE != /usr/local | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | John Hein <jcfyecrayz> |
Component: | Individual Port(s) | Assignee: | freebsd-kde (group) <kde> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | jcfyecrayz, tcberner |
Priority: | --- | Flags: | tcberner:
maintainer-feedback+
|
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
John Hein
2018-06-23 21:31:27 UTC
I didn't mean to include 'pcre2' in the path in the patch in the previous comment. --- mkspecs/freebsd-clang/qmake.conf.orig 2018-06-19 23:00:56.000000000 -0600 +++ mkspecs/freebsd-clang/qmake.conf @@ -8,8 +8,8 @@ include(../common/bsd/bsd.conf) # Addon software goes into /usr/local on FreeBSD, by default we will look there -QMAKE_INCDIR_POST = /usr/local/include -QMAKE_LIBDIR_POST = /usr/local/lib +QMAKE_INCDIR_POST = /opt/include +QMAKE_LIBDIR_POST = /opt/lib QMAKE_LFLAGS_NOUNDEF = -Wl,--no-undefined Hi John What's the status of this now, is it still failing? mfg Tobias Yes, it still fails the same way. A commit references this bug: Author: tcberner Date: Sat Apr 6 15:21:42 UTC 2019 New revision: 498144 URL: https://svnweb.freebsd.org/changeset/ports/498144 Log: devel/qt5-qmake: override hardocded value of localbase with ${LOCALBASE} - The qmake.conf shipped with Qt5 sets /usr/local by default. This patch replaces that string with the value of ${LOCALBASE} to ease use with different prefixes. PR: 229260 Changes: head/Mk/Uses/qt-dist.mk head/devel/qt5/files/extrapatch-mkspecs_freebsd-clang_qmake.conf I don't quite get how you even get to try building Qt5 with non standard prefix as quite a few of the dependencies already do not support it. However, Qt5 is now patched to sed in the value of ${LOCALBASE} when building qt-base. This hopefully should get you further. |