Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2018 16:38:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [Bug 229759] multimedia/vlc-qt4 fails to build, when qt5 is also installed
Message-ID:  <bug-229759-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229759

            Bug ID: 229759
           Summary: multimedia/vlc-qt4 fails to build, when qt5 is also
                    installed
           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@FreeBSD.org
          Reporter: mi@FreeBSD.org
                CC: kde@FreeBSD.org
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)
          Assignee: multimedia@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.
-CONFIGURE_ENV+=3D                QT_SELECT=3D${_QT_RELNAME}
-MAKE_ENV+=3D             QT_SELECT=3D${_QT_RELNAME}
+CONFIGURE_ENV+=3D                QT_SELECT=3D${_QT_RELNAME} MOC=3D${MOC:Q}
+MAKE_ENV+=3D             QT_SELECT=3D${_QT_RELNAME} MOC=3D${MOC:Q}

 # 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...

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229759-12827>