maintainer-feedback requested: [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:21 UTC 2018
Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-multimedia mailing
list <multimedia at FreeBSD.org> for maintainer-feedback:
Bug 229759: multimedia/vlc-qt4 fails to build, when qt5 is also installed
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229759
--- Description ---
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...
More information about the freebsd-multimedia
mailing list