sysutils/polkit-qt: fix build with GCC-based architectures

- while here: add missing USES=gnome.

PR:		232559
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
This commit is contained in:
Tobias C. Berner 2018-10-23 18:25:17 +00:00
parent ae1e33e0c0
commit eb788e7b7b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482866

View File

@ -20,7 +20,7 @@ LIB_DEPENDS= libpolkit-agent-1.so:sysutils/polkit
FLAVORS= qt4 qt5
FLAVOR?= ${FLAVORS:[1]}
USES= cmake:outsource pkgconfig tar:bzip2
USES= cmake:outsource gnome pkgconfig tar:bzip2
USE_GNOME= glib20
CMAKE_OFF= BUILD_EXAMPLES \
BUILD_TEST
@ -34,7 +34,7 @@ CMAKE_ON+= USE_QT4
CMAKE_OFF+= USE_QT5
QTVER_SUFFIX= # empty
. else
USES+= qt:5
USES+= compiler:c++11-lang qt:5
USE_QT= core dbus gui widgets buildtools_build qmake_build
CMAKE_ON+= USE_QT5
CMAKE_OFF+= USE_QT4