Add compiler:c++11-lang to USES to fix build on GCC-based systems:

/usr/local/include/qt5/QtCore/qglobal.h:45:25: error: type_traits: No such file or directory
  /usr/local/include/qt5/QtCore/qcompilerdetection.h:564:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that.

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2019-09-25 10:54:49 +00:00
parent 2ce164a8fe
commit 2ec228123c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512781

View file

@ -17,7 +17,7 @@ OPTIONS_DEFINE= DOCS
NO_WRKSUBDIR= yes
USES= gmake qt:5 tar:bzip2
USES= compiler:c++11-lang gmake qt:5 tar:bzip2
USE_XORG= x11 xmu
USE_GL= gl glu
USE_QT= buildtools_build core declarative gui multimedia \