Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.qt.mk
Show All 21 Lines | |||||
.if !defined(_POSTMKINCLUDED) && !defined(Qt_Pre_Include) | .if !defined(_POSTMKINCLUDED) && !defined(Qt_Pre_Include) | ||||
Qt_Include_MAINTAINER= kde@FreeBSD.org | Qt_Include_MAINTAINER= kde@FreeBSD.org | ||||
Qt_Pre_Include= bsd.qt.mk | Qt_Pre_Include= bsd.qt.mk | ||||
# Qt versions currently supported by the framework. | # Qt versions currently supported by the framework. | ||||
_QT_SUPPORTED?= 4 5 | _QT_SUPPORTED?= 4 5 | ||||
QT4_VERSION?= 4.8.7 | QT4_VERSION?= 4.8.7 | ||||
QT5_VERSION?= 5.6.1 | QT5_VERSION?= 5.6.2 | ||||
QT_PREFIX?= ${LOCALBASE} | QT_PREFIX?= ${LOCALBASE} | ||||
_QT_RELNAME= qt${_QT_VERSION:R:R} | _QT_RELNAME= qt${_QT_VERSION:R:R} | ||||
_QT_VERSION= # empty | _QT_VERSION= # empty | ||||
.for ver in ${_QT_SUPPORTED} | .for ver in ${_QT_SUPPORTED} | ||||
. if defined(USE_QT${ver}) | . if defined(USE_QT${ver}) | ||||
. if empty(_QT_VERSION) | . if empty(_QT_VERSION) | ||||
▲ Show 20 Lines • Show All 137 Lines • ▼ Show 20 Lines | |||||
. if defined(WANT_QT_VERBOSE_CONFIGURE) | . if defined(WANT_QT_VERBOSE_CONFIGURE) | ||||
CONFIGURE_ARGS+=-verbose | CONFIGURE_ARGS+=-verbose | ||||
. endif | . endif | ||||
. if ${QT_DIST} == "base" || ${_QT_VERSION:M4*} | . if ${QT_DIST} == "base" || ${_QT_VERSION:M4*} | ||||
. if ${_QT_VERSION:M4*} | . if ${_QT_VERSION:M4*} | ||||
_EXTRA_PATCHES_QT4= ${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-src-corelib-global-qglobal.h | _EXTRA_PATCHES_QT4= ${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-src-corelib-global-qglobal.h | ||||
. else | . else | ||||
_EXTRA_PATCHES_QT5= ${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-src_corelib_global_qcompilerdetection.h \ | _EXTRA_PATCHES_QT5= ${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-src_corelib_global_qcompilerdetection.h | ||||
${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-config.tests_unix_libdl_libdl.pro | |||||
. endif | . endif | ||||
EXTRA_PATCHES?= ${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-configure \ | EXTRA_PATCHES?= ${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-configure \ | ||||
${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-config.tests-unix-compile.test \ | ${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-config.tests-unix-compile.test \ | ||||
${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-libtool \ | ${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-libtool \ | ||||
${_EXTRA_PATCHES_QT4} ${_EXTRA_PATCHES_QT5} | ${_EXTRA_PATCHES_QT4} ${_EXTRA_PATCHES_QT5} | ||||
. endif | . endif | ||||
# Override settings installed in qconfig.h and *.pri files. The flags will be | # Override settings installed in qconfig.h and *.pri files. The flags will be | ||||
▲ Show 20 Lines • Show All 521 Lines • Show Last 20 Lines |