diff options
author | jhale <jhale@FreeBSD.org> | 2017-03-01 05:23:41 +0800 |
---|---|---|
committer | jhale <jhale@FreeBSD.org> | 2017-03-01 05:23:41 +0800 |
commit | ebab9a49fac0c21480d9acf001f8b8f9d0f370e1 (patch) | |
tree | 4598a6c11d6115777951bba95fb3a17dd5f101f1 /audio | |
parent | d513f30666751a66fa8072e4c8a90eb9984b14ca (diff) | |
download | freebsd-ports-gnome-ebab9a49fac0c21480d9acf001f8b8f9d0f370e1.tar.gz freebsd-ports-gnome-ebab9a49fac0c21480d9acf001f8b8f9d0f370e1.tar.zst freebsd-ports-gnome-ebab9a49fac0c21480d9acf001f8b8f9d0f370e1.zip |
Fix configure for QT5 option after Qt 5.7.1 update (r434380)
configure:4371: checking for Qt library version >= 5.1
configure:4392: c++ -c -O2 -fno-strict-aliasing -pipe -march=core2 -fstack-protector -isystem /usr/local/include -
isystem /usr/local/include -I/usr/local/include/qt5 -fPIC -isystem /usr/local/include conftest.cpp >&5
In file included from conftest.cpp:17:
In file included from /usr/local/include/qt5/QtCore/qglobal.h:83:
/usr/local/include/qt5/QtCore/qcompilerdetection.h:562:6: error: Qt requires a C++11 compiler and yours does not seem to be that.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/qjackctl/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/qjackctl/Makefile b/audio/qjackctl/Makefile index a7340ed14c44..491394a6c538 100644 --- a/audio/qjackctl/Makefile +++ b/audio/qjackctl/Makefile @@ -47,9 +47,12 @@ QT4_USE= QT4=corelib,dbus,gui,xml \ QT4=linguisttools_build \ QT4=moc_build,qmake_build,rcc_build,uic_build QT4_CONFIGURE_ENABLE= qt4 + +QT5_USES= compiler:c++11-lib QT5_USE= QT5=core,dbus,gui,widgets,x11extras,xml \ QT5=buildtools_build,linguisttools_build,qmake_build \ - GL=gl + GL=gl \ + CXXSTD=c++11 post-configure: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o ${PORTNAME}.mak \ |