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 /graphics/photivo/Makefile | |
parent | bc77780d41178cf3d0327c79ac10737af704f236 (diff) | |
download | freebsd-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
Diffstat (limited to 'graphics/photivo/Makefile')
-rw-r--r-- | graphics/photivo/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/photivo/Makefile b/graphics/photivo/Makefile index 87a7e9878406..6aa62ce79cca 100644 --- a/graphics/photivo/Makefile +++ b/graphics/photivo/Makefile @@ -37,8 +37,10 @@ _QT5_DEPS= qmake_build buildtools_build core gui network widgets OPTIONS_DEFINE= QT4 QT4_DESC= Build against Qt 4 instead of Qt 5 -QT4_USE= QT4=${_QT4_DEPS:ts,} -QT4_USE_OFF= QT5=${_QT5_DEPS:ts,} +QT4_USES= qt:4 +QT4_USES_OFF= qt:5 +QT4_USE= QT=${_QT4_DEPS:ts,} +QT4_USE_OFF= QT=${_QT5_DEPS:ts,} QT4_CMAKE_ON= -DFORCE_QT4:BOOL=true post-patch: |