diff -ruN multimedia.orig/vlc/Makefile multimedia/vlc/Makefile --- multimedia.orig/vlc/Makefile 2015-03-28 10:39:28.712808000 +0000 +++ multimedia/vlc/Makefile 2015-03-28 10:39:33.491791713 +0000 @@ -233,14 +233,12 @@ PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= pulse -QT4_CONFIGURE_ENABLE= qt QT4_USE= QT4=gui,corelib,moc_build,rcc_build,uic_build # 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${LOCALBASE}/include/qt4/QtGui -DQT_SHARED -I${LOCALBASE}/include/qt4 -I${LOCALBASE}/include/qt4/QtCore" \ - QT_LIBS="-lQtGui -L${LOCALBASE}/lib/qt4 -lQtCore" +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" -QT5_CONFIGURE_ENABLE= qt QT5_USE= QT5=gui,core,widgets,x11extras,buildtools_build REALRTSP_CONFIGURE_ENABLE= realrtsp @@ -330,6 +328,8 @@ .if ${PORT_OPTIONS:MQT5} || ${PORT_OPTIONS:MQT4} CONFIGURE_ARGS+= --enable-qt +.else +CONFIGURE_ARGS+= --disable-qt .endif .if ${PORT_OPTIONS:MQT5} && ${PORT_OPTIONS:MQT4} diff -ruN multimedia.orig/vlc-qt4/Makefile multimedia/vlc-qt4/Makefile --- multimedia.orig/vlc-qt4/Makefile 2015-03-28 10:35:06.157810000 +0000 +++ multimedia/vlc-qt4/Makefile 2015-03-28 17:59:17.971981466 +0000 @@ -2,7 +2,7 @@ # $FreeBSD$ MAINTAINER= multimedia@FreeBSD.org -COMMENT= Qt4 slave port of vlc multimedia player and streaming server +COMMENT= Qt 4 based multimedia player and streaming server PKGNAMESUFFIX= -qt4 OPTIONS_SLAVE= QT4