diff --git a/x11-toolkits/qt5-widgets/Makefile b/x11-toolkits/qt5-widgets/Makefile index 2073a36767a2..9c9333caef12 100644 --- a/x11-toolkits/qt5-widgets/Makefile +++ b/x11-toolkits/qt5-widgets/Makefile @@ -7,9 +7,8 @@ PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt C++ widgets module -USES= compiler:c++11-lang qmake:no_env qt-dist:5,base xorg +USES= compiler:c++11-lang qmake:no_env qt-dist:5,base USE_QT= core gui qmake_build buildtools_build -USE_XORG= x11 HAS_CONFIGURE= yes BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} @@ -18,17 +17,23 @@ INSTALL_WRKSRC= ${BUILD_WRKSRC} MORE_WRKSRCS= src/tools/uic QT_BINARIES= yes -QT_DEFINES= ACCESSIBILITY WIDGETS XSYNC -QT_CONFIG= accessibility accessibility-atspi-bridge xlib +QT_DEFINES= ACCESSIBILITY WIDGETS +QT_CONFIG= accessibility -OPTIONS_DEFINE= GTK3 +OPTIONS_DEFINE= GTK3 X11 OPTIONS_SUB= YES -GTK3_DESC= GTK+-based Qt theme +GTK3_DESC= GTK+-based Qt theme (implies X11) GTK3_USES= gnome GTK3_USE= GNOME=gtk30 QT=dbus GTK3_CONFIGURE_ON= -gtk GTK3_CONFIGURE_OFF= -no-gtk +GTK3_IMPLIES= X11 + +X11_USES= xorg +X11_USE= XORG=x11 +X11_VARS= QT_CONFIG+="accessibility-atspi-bridge xlib" \ + QT_DEFINES+=XSYNC .include