[Bug 229759] multimedia/vlc-qt4 fails to build, when qt5 is also installed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 13 16:38:22 UTC 2018


            Bug ID: 229759
           Summary: multimedia/vlc-qt4 fails to build, when qt5 is also
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: easy, patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia at FreeBSD.org
          Reporter: mi at FreeBSD.org
                CC: kde at FreeBSD.org
             Flags: maintainer-feedback?(multimedia at FreeBSD.org)
          Assignee: multimedia at FreeBSD.org

Attempting to build vlc-qt4 kept failing with cpp-errors (this file was
generated with moc-5....) until I modified qt.mk as below to explicitly add MOC
to the environment bypassing the qtchooser:

--- Uses/qt.mk  (revision 474594)
+++ Uses/qt.mk  (working copy)
@@ -118,8 +118,8 @@
 .  endfor

 # Pass the chosen Qt version to the environment for qtchooser.
-MAKE_ENV+=             QT_SELECT=${_QT_RELNAME}

 # Make sure both the installed mkspecs as well as the ones being built are
 # found, with the ones from the port being built having preference.

Other ports using moc (or anything else backed by qtchooser) may be affected
too -- this is not something, that would show up in a pristine build...

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

More information about the freebsd-multimedia mailing list