[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 17:38:19 BST 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229759
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 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.
-CONFIGURE_ENV+= QT_SELECT=${_QT_RELNAME}
-MAKE_ENV+= QT_SELECT=${_QT_RELNAME}
+CONFIGURE_ENV+= QT_SELECT=${_QT_RELNAME} MOC=${MOC:Q}
+MAKE_ENV+= QT_SELECT=${_QT_RELNAME} MOC=${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...
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kde-freebsd
mailing list