[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 21:53:57 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229759

--- Comment #11 from Tobias C. Berner <tcberner at freebsd.org> ---
That's a shame -- qmake.mk problaby give's too much env-info :( -- like the
DESTDIRNAME or the CONFIGURE_ARGS ... 


how about this one:
Index: multimedia/vlc/Makefile
===================================================================
--- multimedia/vlc/Makefile     (revision 474596)
+++ multimedia/vlc/Makefile     (working copy)
@@ -242,7 +242,8 @@
 # QT_CFLAGS:   pkg-config --cflags "QtCore QtGui >= 4.6.0"
 # QT_LIBS:     pkg-config --libs "QtCore QtGui >= 4.6.0"
 QT4_CONFIGURE_ENV=     QT_CFLAGS="-I${QT_INCDIR}/QtGui -DQT_SHARED
-I${QT_INCDIR} -I${QT_INCDIR}/QtCore" \
-                       QT_LIBS="-lQtGui -L${QT_LIBDIR} -lQtCore"
+                       QT_LIBS="-lQtGui -L${QT_LIBDIR} -lQtCore" \
+                       MOC="${MOC}" RCC="${RCC}" UIC="${UIC}"

 QT5_USES=      qt:5
 QT5_USE=               QT=gui,core,widgets,x11extras,buildtools_build

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


More information about the freebsd-multimedia mailing list