diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2018-06-28 17:39:53 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2018-06-28 17:39:53 +0000 |
commit | b1a1d38bf9ef78334b640d30046388a9c055c3a9 (patch) | |
tree | 7b9785f1f0c244da1f5b69a2a610e3f37eb786a8 /x11-toolkits/qt5-gui | |
parent | bc77780d41178cf3d0327c79ac10737af704f236 (diff) | |
download | ports-b1a1d38bf9ef78334b640d30046388a9c055c3a9.tar.gz ports-b1a1d38bf9ef78334b640d30046388a9c055c3a9.zip |
Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
USES= qt:4
USE_QT= foo bar
ports depending on Qt5 will use
USES= qt:5
USE_QT= foo bar
PR: 229225
Exp-run by: antoine
Reviewed by: mat
Approved by: portmgr (antoine)
Differential Revision: →https://reviews.freebsd.org/D15540
Notes
Notes:
svn path=/head/; revision=473503
Diffstat (limited to 'x11-toolkits/qt5-gui')
-rw-r--r-- | x11-toolkits/qt5-gui/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/x11-toolkits/qt5-gui/Makefile b/x11-toolkits/qt5-gui/Makefile index 350c049de0e5..36a9e109cba3 100644 --- a/x11-toolkits/qt5-gui/Makefile +++ b/x11-toolkits/qt5-gui/Makefile @@ -22,16 +22,19 @@ LIB_DEPENDS= libdbus-1.so:devel/dbus \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= xdg-open:devel/xdg-utils -USES= jpeg localbase +USES= jpeg localbase qmake:no_env qt-dist:5,base USE_GL= gl egl USE_GNOME= glib20 -USE_QT5= core dbus network qmake_build buildtools_build -QT_DIST= base +USE_QT= core dbus network qmake_build buildtools_build USE_XORG= ice sm x11 xi xrender HAS_CONFIGURE= yes CONFIGURE_ARGS= -no-eglfs \ -no-evdev \ -system-harfbuzz +# Explicitely set to c++14 as to net get c++17/c++1z, as libX11's headers +# are using the obsolete 'register' key word. +CONFIGURE_ARGS+= -c++std c++14 + USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} |