[Bug 229260] devel/qt5-core: fails (configure) when using LOCALBASE != /usr/local
    bugzilla-noreply at freebsd.org 
    bugzilla-noreply at freebsd.org
       
    Sat Jun 23 21:31:27 UTC 2018
    
    
  
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229260
            Bug ID: 229260
           Summary: devel/qt5-core: fails (configure) when using LOCALBASE
                    != /usr/local
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: z7dr6ut7gs at snkmail.com
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org
If you build with LOCALBASE != /usr/local, devel/qt5-core (and probably other
qt ports) fails to configure:
 .
 .
  Using system PCRE2 ..................... no
 .
 .
Project ERROR: Library 'pcre2' is not defined.
*** Error code 3
Stop.
make: stopped in /usr/ports/devel/qt5-core
If you change the references in
<LOCALBASE>/lib/qt5/mkspecs/freebsd-clang/qmake.conf that contain the
hard-coded /usr/local to the value of the non-default LOCALBASE, then the
configure is able to find pcre2.  For example:
--- 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/pcre2/include
+QMAKE_LIBDIR_POST       = /opt/pcre2/lib
 QMAKE_LFLAGS_NOUNDEF    = -Wl,--no-undefined
I'm sure that's not the only way to address the problem.  Note that that
qmake.conf file is owned by the devel/qt5-qmake port, of course, not
devel/qt5-core.
-- 
You are receiving this mail because:
You are the assignee for the bug.
    
    
More information about the kde-freebsd
mailing list