Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.qt.mk
Show All 27 Lines | |||||
_QT_SUPPORTED?= 4 5 | _QT_SUPPORTED?= 4 5 | ||||
QT4_VERSION?= 4.8.7 | QT4_VERSION?= 4.8.7 | ||||
QT5_VERSION?= 5.6.2 | 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) | ||||
_QT_VERSION= ${QT${ver}_VERSION} | _QT_VERSION= ${QT${ver}_VERSION} | ||||
. else | . else | ||||
# Reject different USE_QT*. | # Reject different USE_QT*. | ||||
IGNORE?= can't be installed: different Qt versions specified via USE_QT[${_QT_SUPPORTED:S/ //g}] #' | IGNORE?= can't be installed: different Qt versions specified via USE_QT[${_QT_SUPPORTED:S/ //g}] #' | ||||
. endif | . endif | ||||
. endif | . endif | ||||
.endfor | . endfor | ||||
.if empty(_QT_VERSION) | . if empty(_QT_VERSION) | ||||
# The file was included without USE_QT*. | # The file was included without USE_QT*. | ||||
IGNORE?= can't be installed: bsd.qt.mk may only be included via USE_QT[${_QT_SUPPORTED:S/ //g}] #' | IGNORE?= can't be installed: bsd.qt.mk may only be included via USE_QT[${_QT_SUPPORTED:S/ //g}] #' | ||||
.endif | . endif | ||||
.if defined(QT_DIST) | . if defined(QT_DIST) | ||||
QT_NONSTANDARD= yes | QT_NONSTANDARD= yes | ||||
. if ! ${.MAKEFLAGS:MPREFIX=*} | . if ! ${.MAKEFLAGS:MPREFIX=*} | ||||
PREFIX= ${QT_PREFIX} | PREFIX= ${QT_PREFIX} | ||||
. endif | . endif | ||||
MASTER_SITES= ${MASTER_SITE_QT} | MASTER_SITES= ${MASTER_SITE_QT} | ||||
# Useless, as it must be defined before including bsd.port.pre.mk (at least | # Useless, as it must be defined before including bsd.port.pre.mk (at least | ||||
# because of bsd.options.mk). | # because of bsd.options.mk). | ||||
#PKGNAMEPREFIX?= ${_QT_RELNAME}- | #PKGNAMEPREFIX?= ${_QT_RELNAME}- | ||||
DISTINFO_FILE?= ${.CURDIR:H:H}/devel/${_QT_RELNAME}/distinfo | DISTINFO_FILE?= ${.CURDIR:H:H}/devel/${_QT_RELNAME}/distinfo | ||||
LICENSE?= LGPL21 | LICENSE?= LGPL21 | ||||
. if !exists(${PKGDIR}/pkg-descr) | . if !exists(${PKGDIR}/pkg-descr) | ||||
DESCR?= ${.CURDIR:H:H}/devel/${_QT_RELNAME}/pkg-descr | DESCR?= ${.CURDIR:H:H}/devel/${_QT_RELNAME}/pkg-descr | ||||
. endif | . endif | ||||
# Stage support. | # Stage support. | ||||
DESTDIRNAME= INSTALL_ROOT | DESTDIRNAME= INSTALL_ROOT | ||||
. if ${_QT_VERSION:M4*} | . if ${_QT_VERSION:M4*} | ||||
MASTER_SITE_SUBDIR?= official_releases/qt/${_QT_VERSION:R}/${_QT_VERSION}/ | MASTER_SITE_SUBDIR?= official_releases/qt/${_QT_VERSION:R}/${_QT_VERSION}/ | ||||
DISTNAME= qt-everywhere-opensource-src-${_QT_VERSION} | DISTNAME= qt-everywhere-opensource-src-${_QT_VERSION} | ||||
DIST_SUBDIR= KDE | DIST_SUBDIR= KDE | ||||
. else | . else | ||||
MASTER_SITE_SUBDIR?= official_releases/qt/${_QT_VERSION:R}/${_QT_VERSION}/submodules/ | MASTER_SITE_SUBDIR?= official_releases/qt/${_QT_VERSION:R}/${_QT_VERSION}/submodules/ | ||||
DISTNAME= ${QT_DIST:S,^,qt,:S,$,-opensource-src-${DISTVERSION},} | DISTNAME= ${QT_DIST:S,^,qt,:S,$,-opensource-src-${DISTVERSION},} | ||||
DISTFILES= ${DISTNAME:S,$,${EXTRACT_SUFX},} | DISTFILES= ${DISTNAME:S,$,${EXTRACT_SUFX},} | ||||
DIST_SUBDIR= KDE/Qt/${_QT_VERSION} | DIST_SUBDIR= KDE/Qt/${_QT_VERSION} | ||||
USES+= tar:xz | USES+= tar:xz | ||||
# Qt (at least when used with qmake) has a tendency to overlink: some libraries | # Qt (at least when used with qmake) has a tendency to overlink: some libraries | ||||
# have dependencies on others in the mkspec configurations and the latter are | # have dependencies on others in the mkspec configurations and the latter are | ||||
# always passed to the linker even if they are not actually used. By passing | # always passed to the linker even if they are not actually used. By passing | ||||
# --as-needed to the linker by default when building the Qt ports we do not | # --as-needed to the linker by default when building the Qt ports we do not | ||||
# have to declare a lot of unnecessary dependencies in USE_QT5. | # have to declare a lot of unnecessary dependencies in USE_QT5. | ||||
# This could arguably work for Qt4 too, but since it is maintenance mode it is | # This could arguably work for Qt4 too, but since it is maintenance mode it is | ||||
# better not to fix what is not explicitly broken there. | # better not to fix what is not explicitly broken there. | ||||
LDFLAGS+= -Wl,--as-needed | LDFLAGS+= -Wl,--as-needed | ||||
. if ${.TARGETS:Mmakesum} || ${.TARGETS:Mfetch} && \ | . if ${.TARGETS:Mmakesum} || ${.TARGETS:Mfetch} && \ | ||||
defined(DISABLE_SIZE) && defined(NO_CHECKSUM) | defined(DISABLE_SIZE) && defined(NO_CHECKSUM) | ||||
# Ensure that the "makesum" target (with its inner "fetch" one) uses | # Ensure that the "makesum" target (with its inner "fetch" one) uses | ||||
# devel/qt*/distinfo for every port. | # devel/qt*/distinfo for every port. | ||||
. if ${DISTINFO_FILE:H} == ${.CURDIR:H:H}/devel/${_QT_RELNAME} | . if ${DISTINFO_FILE:H} == ${.CURDIR:H:H}/devel/${_QT_RELNAME} | ||||
QT_DIST= 3d base canvas3d connectivity declarative graphicaleffects imageformats \ | QT_DIST= 3d base canvas3d connectivity declarative graphicaleffects imageformats \ | ||||
location multimedia quickcontrols quickcontrols2 script sensors serialbus serialport svg tools \ | location multimedia quickcontrols quickcontrols2 script sensors serialbus serialport svg tools \ | ||||
translations webchannel websockets x11extras xmlpatterns | translations webchannel websockets x11extras xmlpatterns | ||||
. endif | . endif | ||||
. endif | . endif | ||||
. if ${QT_DIST} == "base" && ${PORTNAME} != "qmake" | . if ${QT_DIST} == "base" && ${PORTNAME} != "qmake" | ||||
# Qt configure requires pkg-config to detect dependencies. | # Qt configure requires pkg-config to detect dependencies. | ||||
USES+= pkgconfig | USES+= pkgconfig | ||||
# Set QMAKESPEC when building qtbase so that qmake (called by the configure | # Set QMAKESPEC when building qtbase so that qmake (called by the configure | ||||
# script) can find the mkspecs we create ourselves in devel/qmake5. | # script) can find the mkspecs we create ourselves in devel/qmake5. | ||||
CONFIGURE_ENV+= QMAKESPEC="${QMAKESPEC}" | CONFIGURE_ENV+= QMAKESPEC="${QMAKESPEC}" | ||||
MAKE_ENV+= QMAKESPEC="${QMAKESPEC}" | MAKE_ENV+= QMAKESPEC="${QMAKESPEC}" | ||||
. endif | . endif | ||||
# -nomake is only used by qtbase's configure script. | # -nomake is only used by qtbase's configure script. | ||||
# Other ports from other Qt modules will automatically build examples and | # Other ports from other Qt modules will automatically build examples and | ||||
# tests if the directories exist because of mkspecs/features/qt_parts.prf. | # tests if the directories exist because of mkspecs/features/qt_parts.prf. | ||||
EXTRACT_AFTER_ARGS?= ${DISTNAME:S,$,/examples,:S,^,--exclude ,} \ | EXTRACT_AFTER_ARGS?= ${DISTNAME:S,$,/examples,:S,^,--exclude ,} \ | ||||
${DISTNAME:S,$,/tests,:S,^,--exclude ,} | ${DISTNAME:S,$,/tests,:S,^,--exclude ,} | ||||
. endif # ! ${_QT_VERSION:M4*} | . endif # ! ${_QT_VERSION:M4*} | ||||
CONFIGURE_ENV+= MAKE="${MAKE:T}" | CONFIGURE_ENV+= MAKE="${MAKE:T}" | ||||
CONFIGURE_ARGS+=-opensource -confirm-license \ | CONFIGURE_ARGS+=-opensource -confirm-license \ | ||||
-platform ${QMAKESPEC} \ | -platform ${QMAKESPEC} \ | ||||
-no-pch \ | -no-pch \ | ||||
-prefix ${PREFIX} \ | -prefix ${PREFIX} \ | ||||
-bindir ${PREFIX}/${QT_BINDIR_REL} \ | -bindir ${PREFIX}/${QT_BINDIR_REL} \ | ||||
-headerdir ${PREFIX}/${QT_INCDIR_REL} \ | -headerdir ${PREFIX}/${QT_INCDIR_REL} \ | ||||
-libdir ${PREFIX}/${QT_LIBDIR_REL} \ | -libdir ${PREFIX}/${QT_LIBDIR_REL} \ | ||||
-plugindir ${PREFIX}/${QT_PLUGINDIR_REL} \ | -plugindir ${PREFIX}/${QT_PLUGINDIR_REL} \ | ||||
-importdir ${PREFIX}/${QT_IMPORTDIR_REL} \ | -importdir ${PREFIX}/${QT_IMPORTDIR_REL} \ | ||||
-datadir ${PREFIX}/${QT_DATADIR_REL} \ | -datadir ${PREFIX}/${QT_DATADIR_REL} \ | ||||
-docdir ${PREFIX}/${QT_DOCDIR_REL} \ | -docdir ${PREFIX}/${QT_DOCDIR_REL} \ | ||||
-translationdir ${PREFIX}/${QT_L10NDIR_REL} \ | -translationdir ${PREFIX}/${QT_L10NDIR_REL} \ | ||||
-sysconfdir ${PREFIX}/${QT_ETCDIR_REL} | -sysconfdir ${PREFIX}/${QT_ETCDIR_REL} | ||||
. if ${_QT_VERSION:M4*} | . if ${_QT_VERSION:M4*} | ||||
CONFIGURE_ARGS+=-fast \ | CONFIGURE_ARGS+=-fast \ | ||||
-system-libjpeg -system-libpng \ | -system-libjpeg -system-libpng \ | ||||
-system-libmng -system-libtiff -system-zlib \ | -system-libmng -system-libtiff -system-zlib \ | ||||
-no-phonon-backend \ | -no-phonon-backend \ | ||||
-examplesdir ${PREFIX}/${QT_EXAMPLEDIR_REL}/examples \ | -examplesdir ${PREFIX}/${QT_EXAMPLEDIR_REL}/examples \ | ||||
-demosdir ${PREFIX}/${QT_EXAMPLEDIR_REL}/demos | -demosdir ${PREFIX}/${QT_EXAMPLEDIR_REL}/demos | ||||
. else | . else | ||||
CONFIGURE_ARGS+=-nomake examples -nomake tests \ | CONFIGURE_ARGS+=-nomake examples -nomake tests \ | ||||
-archdatadir ${PREFIX}/${QT_ARCHDIR_REL} \ | -archdatadir ${PREFIX}/${QT_ARCHDIR_REL} \ | ||||
-libexecdir ${PREFIX}/${QT_LIBEXECDIR_REL} \ | -libexecdir ${PREFIX}/${QT_LIBEXECDIR_REL} \ | ||||
-qmldir ${PREFIX}/${QT_QMLDIR_REL} \ | -qmldir ${PREFIX}/${QT_QMLDIR_REL} \ | ||||
-examplesdir ${PREFIX}/${QT_EXAMPLEDIR_REL} \ | -examplesdir ${PREFIX}/${QT_EXAMPLEDIR_REL} \ | ||||
-testsdir ${PREFIX}/${QT_TESTDIR_REL} | -testsdir ${PREFIX}/${QT_TESTDIR_REL} | ||||
. if ${ARCH} == i386 && empty(MACHINE_CPU:Msse2) | . if ${ARCH} == i386 && empty(MACHINE_CPU:Msse2) | ||||
CONFIGURE_ARGS+=-no-sse2 | CONFIGURE_ARGS+=-no-sse2 | ||||
. endif | . endif | ||||
. endif | . endif | ||||
. if defined(WANT_QT_DEBUG) || defined(WITH_DEBUG) | . if defined(WANT_QT_DEBUG) || defined(WITH_DEBUG) | ||||
WITH_DEBUG= yes | WITH_DEBUG= yes | ||||
STRIP= # It's done prior to bsd.qt.mk inclusion. | STRIP= # It's done prior to bsd.qt.mk inclusion. | ||||
CONFIGURE_ARGS+=-debug -separate-debug-info | CONFIGURE_ARGS+=-debug -separate-debug-info | ||||
# Override configuration in global qconfig.pri. | # Override configuration in global qconfig.pri. | ||||
QMAKE_ARGS+= QT_CONFIG+="debug separate_debug_info" \ | QMAKE_ARGS+= QT_CONFIG+="debug separate_debug_info" \ | ||||
QT_CONFIG-="release" | QT_CONFIG-="release" | ||||
PLIST_SUB+= DEBUG="" | PLIST_SUB+= DEBUG="" | ||||
. else | . else | ||||
CONFIGURE_ARGS+=-release -no-separate-debug-info | CONFIGURE_ARGS+=-release -no-separate-debug-info | ||||
QMAKE_ARGS+= QT_CONFIG+="release" \ | QMAKE_ARGS+= QT_CONFIG+="release" \ | ||||
QT_CONFIG-="debug separate_debug_info" | QT_CONFIG-="debug separate_debug_info" | ||||
PLIST_SUB+= DEBUG="@comment " | PLIST_SUB+= DEBUG="@comment " | ||||
. endif | . endif | ||||
. 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 | ||||
. 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 | ||||
# installed along with the port, but have to be passed as arguments while | # installed along with the port, but have to be passed as arguments while | ||||
# building the port itself. Flags prefixed with "-" (e.g., "-CUPS" and "-cups") | # building the port itself. Flags prefixed with "-" (e.g., "-CUPS" and "-cups") | ||||
# are needed to disable some features. | # are needed to disable some features. | ||||
. if !defined(${QT_MODNAME}) || empty(${QT_MODNAME}) | . if !defined(${QT_MODNAME}) || empty(${QT_MODNAME}) | ||||
# Used for both qconfig-*.h and qt_config_*.pri; it can't be empty. | # Used for both qconfig-*.h and qt_config_*.pri; it can't be empty. | ||||
QT_MODNAME= ${PORTNAME} | QT_MODNAME= ${PORTNAME} | ||||
. endif | . endif | ||||
QT_DEFINES?= # For qconfig.h flags (without "QT_" prefix). | QT_DEFINES?= # For qconfig.h flags (without "QT_" prefix). | ||||
QT_CONFIG?= # For *.pri files QT_CONFIG flags. | QT_CONFIG?= # For *.pri files QT_CONFIG flags. | ||||
. if ${QT_DEFINES} | . if ${QT_DEFINES} | ||||
QMAKE_ARGS+= DEFINES+="${QT_DEFINES:O:u:C/^([^-])/QT_\1/:C/^-/QT_NO_/:O}" | QMAKE_ARGS+= DEFINES+="${QT_DEFINES:O:u:C/^([^-])/QT_\1/:C/^-/QT_NO_/:O}" | ||||
. if ${QT_DEFINES:N-*} | . if ${QT_DEFINES:N-*} | ||||
# Use a script to cleanup qconfig-modules.h (see qt-post-install). | # Use a script to cleanup qconfig-modules.h (see qt-post-install). | ||||
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall | PKGDEINSTALL= ${WRKDIR}/pkg-deinstall | ||||
. endif | . endif | ||||
. endif | . endif | ||||
. if ${QT_CONFIG:N-*} | . if ${QT_CONFIG:N-*} | ||||
QMAKE_ARGS+= QT_CONFIG+="${QT_CONFIG:N-*:O:u}" | QMAKE_ARGS+= QT_CONFIG+="${QT_CONFIG:N-*:O:u}" | ||||
. endif | . endif | ||||
. if ${QT_CONFIG:M-*} | . if ${QT_CONFIG:M-*} | ||||
QMAKE_ARGS+= QT_CONFIG-="${QT_CONFIG:M-*:O:u:C/^-//}" | QMAKE_ARGS+= QT_CONFIG-="${QT_CONFIG:M-*:O:u:C/^-//}" | ||||
. endif | . endif | ||||
PLIST_SUB+= SHORTVER=${DISTVERSION:R} \ | PLIST_SUB+= SHORTVER=${DISTVERSION:R} \ | ||||
FULLVER=${DISTVERSION:C/-.*//} | FULLVER=${DISTVERSION:C/-.*//} | ||||
.endif # defined(QT_DIST) | . endif # defined(QT_DIST) | ||||
.if ${_QT_VERSION:M4*} | . if ${_QT_VERSION:M4*} | ||||
QT_BINDIR_REL?= bin | QT_BINDIR_REL?= bin | ||||
QT_LIBDIR_REL?= lib/${_QT_RELNAME} | QT_LIBDIR_REL?= lib/${_QT_RELNAME} | ||||
QT_PLUGINDIR_REL?= ${QT_LIBDIR_REL}/plugins | QT_PLUGINDIR_REL?= ${QT_LIBDIR_REL}/plugins | ||||
QT_IMPORTDIR_REL?= ${QT_LIBDIR_REL}/imports | QT_IMPORTDIR_REL?= ${QT_LIBDIR_REL}/imports | ||||
.endif | . endif | ||||
# A wrapper (qtchooser) is used to invoke binaries. | # A wrapper (qtchooser) is used to invoke binaries. | ||||
QT_BINDIR_REL?= ${QT_ARCHDIR_REL}/bin | QT_BINDIR_REL?= ${QT_ARCHDIR_REL}/bin | ||||
QT_INCDIR_REL?= include/${_QT_RELNAME} | QT_INCDIR_REL?= include/${_QT_RELNAME} | ||||
QT_LIBDIR_REL?= lib | QT_LIBDIR_REL?= lib | ||||
QT_ARCHDIR_REL?=${QT_LIBDIR_REL}/${_QT_RELNAME} | QT_ARCHDIR_REL?=${QT_LIBDIR_REL}/${_QT_RELNAME} | ||||
QT_PLUGINDIR_REL?= ${QT_ARCHDIR_REL}/plugins | QT_PLUGINDIR_REL?= ${QT_ARCHDIR_REL}/plugins | ||||
QT_LIBEXECDIR_REL?= libexec/${_QT_RELNAME} | QT_LIBEXECDIR_REL?= libexec/${_QT_RELNAME} | ||||
QT_IMPORTDIR_REL?= ${QT_ARCHDIR_REL}/imports | QT_IMPORTDIR_REL?= ${QT_ARCHDIR_REL}/imports | ||||
QT_QMLDIR_REL?= ${QT_ARCHDIR_REL}/qml | QT_QMLDIR_REL?= ${QT_ARCHDIR_REL}/qml | ||||
QT_DATADIR_REL?=share/${_QT_RELNAME} | QT_DATADIR_REL?=share/${_QT_RELNAME} | ||||
QT_DOCDIR_REL?= share/doc/${_QT_RELNAME} | QT_DOCDIR_REL?= share/doc/${_QT_RELNAME} | ||||
QT_L10NDIR_REL?=${QT_DATADIR_REL}/translations | QT_L10NDIR_REL?=${QT_DATADIR_REL}/translations | ||||
QT_ETCDIR_REL?= etc/xdg | QT_ETCDIR_REL?= etc/xdg | ||||
QT_EXAMPLEDIR_REL?= share/examples/${_QT_RELNAME} | QT_EXAMPLEDIR_REL?= share/examples/${_QT_RELNAME} | ||||
QT_TESTDIR_REL?=${QT_DATADIR_REL}/tests | QT_TESTDIR_REL?=${QT_DATADIR_REL}/tests | ||||
# Not customizable. | # Not customizable. | ||||
.if ${_QT_VERSION:M4*} | . if ${_QT_VERSION:M4*} | ||||
QT_MKSPECDIR_REL= ${QT_DATADIR_REL}/mkspecs | QT_MKSPECDIR_REL= ${QT_DATADIR_REL}/mkspecs | ||||
_QT_LIBVER= # empty | _QT_LIBVER= # empty | ||||
_QT_BINSUFX= -${_QT_RELNAME} | _QT_BINSUFX= -${_QT_RELNAME} | ||||
.else | . else | ||||
QT_MKSPECDIR_REL= ${QT_ARCHDIR_REL}/mkspecs | QT_MKSPECDIR_REL= ${QT_ARCHDIR_REL}/mkspecs | ||||
_QT_LIBVER= ${_QT_VERSION:R:R} | _QT_LIBVER= ${_QT_VERSION:R:R} | ||||
_QT_BINSUFX= # empty | _QT_BINSUFX= # empty | ||||
.endif | . endif | ||||
LRELEASE?= ${QT_BINDIR}/lrelease${_QT_BINSUFX} | LRELEASE?= ${QT_BINDIR}/lrelease${_QT_BINSUFX} | ||||
LUPDATE?= ${QT_BINDIR}/lupdate${_QT_BINSUFX} | LUPDATE?= ${QT_BINDIR}/lupdate${_QT_BINSUFX} | ||||
MOC?= ${QT_BINDIR}/moc${_QT_BINSUFX} | MOC?= ${QT_BINDIR}/moc${_QT_BINSUFX} | ||||
RCC?= ${QT_BINDIR}/rcc | RCC?= ${QT_BINDIR}/rcc | ||||
UIC?= ${QT_BINDIR}/uic${_QT_BINSUFX} | UIC?= ${QT_BINDIR}/uic${_QT_BINSUFX} | ||||
QMAKE?= ${QT_BINDIR}/qmake${_QT_BINSUFX} | QMAKE?= ${QT_BINDIR}/qmake${_QT_BINSUFX} | ||||
# Needed to redefine the qmake target for internal Qt configuration. | # Needed to redefine the qmake target for internal Qt configuration. | ||||
_QMAKE?= ${QMAKE} | _QMAKE?= ${QMAKE} | ||||
QMAKESPEC?= ${QT_MKSPECDIR}/freebsd-${QMAKE_COMPILER} | QMAKESPEC?= ${QT_MKSPECDIR}/freebsd-${QMAKE_COMPILER} | ||||
# The whole Qt distribution should be built with the same compiler, but it's | # The whole Qt distribution should be built with the same compiler, but it's | ||||
# better to support custom settings. Dereferencing the detection allows to | # better to support custom settings. Dereferencing the detection allows to | ||||
# avoid forking a shell on each inclusion of this file, and to catch any CXX | # avoid forking a shell on each inclusion of this file, and to catch any CXX | ||||
# customization (via USE_GCC, etc.). | # customization (via USE_GCC, etc.). | ||||
QMAKE_COMPILER= $$(ccver="$$(${CXX} --version)"; case "$$ccver" in *clang*) echo clang ;; *) echo g++ ;; esac) | QMAKE_COMPILER= $$(ccver="$$(${CXX} --version)"; case "$$ccver" in *clang*) echo clang ;; *) echo g++ ;; esac) | ||||
# Import QMAKE_ENV and QMAKE_ARGS definitions. | # Import QMAKE_ENV and QMAKE_ARGS definitions. | ||||
USES+= qmake:_env | USES+= qmake:_env | ||||
PLIST_SUB+= QT_PREFIX="${QT_PREFIX}" | PLIST_SUB+= QT_PREFIX="${QT_PREFIX}" | ||||
.for dir in BIN INC LIB ARCH PLUGIN LIBEXEC IMPORT \ | . for dir in INC ARCH PLUGIN LIBEXEC IMPORT \ | ||||
QML DATA DOC L10N ETC EXAMPLE TEST MKSPEC | QML DATA DOC L10N ETC EXAMPLE TEST MKSPEC | ||||
QT_${dir}DIR= ${QT_PREFIX}/${QT_${dir}DIR_REL} | QT_${dir}DIR= ${QT_PREFIX}/${QT_${dir}DIR_REL} | ||||
PLIST_SUB+= QT_${dir}DIR="${QT_${dir}DIR_REL}" | PLIST_SUB+= QT_${dir}DIR="${QT_${dir}DIR_REL}" | ||||
. endfor | |||||
. for dir in BIN LIB | |||||
QT_${dir}DIR= ${QT_PREFIX}/${QT_${dir}DIR_REL} | |||||
. if defined(QT_DIST) | |||||
PLIST_SUB+= QT_${dir}DIR="${QT_${dir}DIR_REL}" | |||||
. endif | |||||
.endfor | . endfor | ||||
.endif # !defined(_POSTMKINCLUDED) && !defined(Qt_Pre_Include) | .endif # !defined(_POSTMKINCLUDED) && !defined(Qt_Pre_Include) | ||||
.if defined(_POSTMKINCLUDED) && !defined(Qt_Post_Include) | .if defined(_POSTMKINCLUDED) && !defined(Qt_Post_Include) | ||||
Qt_Post_Include= bsd.qt.mk | Qt_Post_Include= bsd.qt.mk | ||||
.if !defined(QT_NONSTANDARD) | . if !defined(QT_NONSTANDARD) | ||||
CONFIGURE_ENV+= QTDIR="${QT_PREFIX}" QMAKE="${QMAKE}" \ | CONFIGURE_ENV+= QTDIR="${QT_PREFIX}" QMAKE="${QMAKE}" \ | ||||
MOC="${MOC}" RCC="${RCC}" UIC="${UIC}" \ | MOC="${MOC}" RCC="${RCC}" UIC="${UIC}" \ | ||||
QMAKESPEC="${QMAKESPEC}" | QMAKESPEC="${QMAKESPEC}" | ||||
CONFIGURE_ARGS+=--with-qt-includes=${QT_INCDIR} \ | CONFIGURE_ARGS+=--with-qt-includes=${QT_INCDIR} \ | ||||
--with-qt-libraries=${QT_LIBDIR} \ | --with-qt-libraries=${QT_LIBDIR} \ | ||||
--with-extra-includes=${LOCALBASE}/include \ | --with-extra-includes=${LOCALBASE}/include \ | ||||
--with-extra-libs=${LOCALBASE}/lib | --with-extra-libs=${LOCALBASE}/lib | ||||
.endif # !defined(QT_NONSTANDARD) | . endif # !defined(QT_NONSTANDARD) | ||||
_USE_QT_ALL= assistant clucene dbus declarative designer doc gui help \ | _USE_QT_ALL= assistant clucene dbus declarative designer doc gui help \ | ||||
imageformats l10n linguist linguisttools multimedia \ | imageformats l10n linguist linguisttools multimedia \ | ||||
network opengl pixeltool qdbusviewer qmake script \ | network opengl pixeltool qdbusviewer qmake script \ | ||||
scripttools sql sql-ibase sql-mysql sql-odbc sql-pgsql \ | scripttools sql sql-ibase sql-mysql sql-odbc sql-pgsql \ | ||||
sql-sqlite2 sql-sqlite3 svg testlib webkit \ | sql-sqlite2 sql-sqlite3 svg testlib webkit \ | ||||
xml xmlpatterns | xml xmlpatterns | ||||
▲ Show 20 Lines • Show All 213 Lines • ▼ Show 20 Lines | |||||
serialport_PORT= comms/${_QT_RELNAME}-serialport | serialport_PORT= comms/${_QT_RELNAME}-serialport | ||||
serialport_PATH= ${QT_LIBDIR}/libQt${_QT_LIBVER}SerialPort.so | serialport_PATH= ${QT_LIBDIR}/libQt${_QT_LIBVER}SerialPort.so | ||||
sql_PORT= databases/${_QT_RELNAME}-sql | sql_PORT= databases/${_QT_RELNAME}-sql | ||||
sql_PATH= ${QT_LIBDIR}/libQt${_QT_LIBVER}Sql.so | sql_PATH= ${QT_LIBDIR}/libQt${_QT_LIBVER}Sql.so | ||||
sql-pgsql_PATH= ${QT_PLUGINDIR}/sqldrivers/libqsqlpsql.so | sql-pgsql_PATH= ${QT_PLUGINDIR}/sqldrivers/libqsqlpsql.so | ||||
.if ${_QT_VERSION:M4*} | . if ${_QT_VERSION:M4*} | ||||
sql-sqlite2_PORT= databases/${_QT_RELNAME}-sqlite-plugin | sql-sqlite2_PORT= databases/${_QT_RELNAME}-sqlite-plugin | ||||
.endif | . endif | ||||
sql-sqlite3_PATH= ${QT_PLUGINDIR}/sqldrivers/libqsqlite.so | sql-sqlite3_PATH= ${QT_PLUGINDIR}/sqldrivers/libqsqlite.so | ||||
.for db in ibase mysql odbc pgsql sqlite2 sqlite3 tds | . for db in ibase mysql odbc pgsql sqlite2 sqlite3 tds | ||||
.if ${_QT_VERSION:M4*} | . if ${_QT_VERSION:M4*} | ||||
sql-${db}_PORT?= databases/${_QT_RELNAME}-${db}-plugin | sql-${db}_PORT?= databases/${_QT_RELNAME}-${db}-plugin | ||||
.else | . else | ||||
sql-${db}_PORT?= databases/${_QT_RELNAME}-sqldrivers-${db} | sql-${db}_PORT?= databases/${_QT_RELNAME}-sqldrivers-${db} | ||||
.endif | . endif | ||||
sql-${db}_PATH?= ${QT_PLUGINDIR}/sqldrivers/libqsql${db:C/^sql//}.so | sql-${db}_PATH?= ${QT_PLUGINDIR}/sqldrivers/libqsql${db:C/^sql//}.so | ||||
.endfor | . endfor | ||||
svg_PORT= graphics/${_QT_RELNAME}-svg | svg_PORT= graphics/${_QT_RELNAME}-svg | ||||
svg_PATH= ${QT_LIBDIR}/libQt${_QT_LIBVER}Svg.so | svg_PATH= ${QT_LIBDIR}/libQt${_QT_LIBVER}Svg.so | ||||
testlib_PORT= devel/${_QT_RELNAME}-testlib | testlib_PORT= devel/${_QT_RELNAME}-testlib | ||||
testlib_PATH= ${QT_LIBDIR}/libQt${_QT_LIBVER}Test.so | testlib_PATH= ${QT_LIBDIR}/libQt${_QT_LIBVER}Test.so | ||||
uic_PORT= devel/${_QT_RELNAME}-uic | uic_PORT= devel/${_QT_RELNAME}-uic | ||||
Show All 28 Lines | |||||
xmlpatterns_PORT= textproc/${_QT_RELNAME}-xmlpatterns | xmlpatterns_PORT= textproc/${_QT_RELNAME}-xmlpatterns | ||||
xmlpatterns_PATH= ${QT_LIBDIR}/libQt${_QT_LIBVER}XmlPatterns.so | xmlpatterns_PATH= ${QT_LIBDIR}/libQt${_QT_LIBVER}XmlPatterns.so | ||||
xmlpatterns-tool_PORT= textproc/${_QT_RELNAME}-xmlpatterns-tool | xmlpatterns-tool_PORT= textproc/${_QT_RELNAME}-xmlpatterns-tool | ||||
xmlpatterns-tool_PATH= ${QT_BINDIR}/xmlpatterns | xmlpatterns-tool_PATH= ${QT_BINDIR}/xmlpatterns | ||||
_USE_QT_ALL+= ${_USE_QT${_QT_VERSION:R:R}_ONLY} | _USE_QT_ALL+= ${_USE_QT${_QT_VERSION:R:R}_ONLY} | ||||
.for comp in ${_USE_QT_ALL} | . for comp in ${_USE_QT_ALL} | ||||
${comp}_BUILD_DEPENDS?= ${${comp}_PATH}:${${comp}_PORT} | ${comp}_BUILD_DEPENDS?= ${${comp}_PATH}:${${comp}_PORT} | ||||
${comp}_RUN_DEPENDS?= ${${comp}_PATH}:${${comp}_PORT} | ${comp}_RUN_DEPENDS?= ${${comp}_PATH}:${${comp}_PORT} | ||||
${comp}_build_BUILD_DEPENDS?= ${${comp}_BUILD_DEPENDS} | ${comp}_build_BUILD_DEPENDS?= ${${comp}_BUILD_DEPENDS} | ||||
${comp}_run_RUN_DEPENDS?= ${${comp}_RUN_DEPENDS} | ${comp}_run_RUN_DEPENDS?= ${${comp}_RUN_DEPENDS} | ||||
_USE_QT_ALL_SUFFIXED+= ${comp} ${comp}_build ${comp}_run | _USE_QT_ALL_SUFFIXED+= ${comp} ${comp}_build ${comp}_run | ||||
.endfor | . endfor | ||||
_USE_QT= ${USE_QT${_QT_VERSION:R:R}} | _USE_QT= ${USE_QT${_QT_VERSION:R:R}} | ||||
.for comp in ${_USE_QT:O:u} | . for comp in ${_USE_QT:O:u} | ||||
. if ${_USE_QT_ALL_SUFFIXED:M${comp}} | . if ${_USE_QT_ALL_SUFFIXED:M${comp}} | ||||
BUILD_DEPENDS+= ${${comp}_BUILD_DEPENDS} | BUILD_DEPENDS+= ${${comp}_BUILD_DEPENDS} | ||||
RUN_DEPENDS+= ${${comp}_RUN_DEPENDS} | RUN_DEPENDS+= ${${comp}_RUN_DEPENDS} | ||||
. else | . else | ||||
IGNORE?= can't be installed: unknown USE_QT${_QT_VERSION:R:R} component '${comp}' #' | IGNORE?= can't be installed: unknown USE_QT${_QT_VERSION:R:R} component '${comp}' #' | ||||
. endif | . endif | ||||
.endfor | . endfor | ||||
.if defined(QT_DIST) && ! ${_QT_VERSION:M4*} | . if defined(QT_DIST) && ! ${_QT_VERSION:M4*} | ||||
. if ${QT_DIST} == "base" | . if ${QT_DIST} == "base" | ||||
# qtbase requires some tools to be symlinked to the build directory. | # qtbase requires some tools to be symlinked to the build directory. | ||||
_QT_TOOLS= # empty | _QT_TOOLS= # empty | ||||
. if ${PORTNAME} != "qmake" | . if ${PORTNAME} != "qmake" | ||||
_QT_TOOLS+= ${QMAKE} | _QT_TOOLS+= ${QMAKE} | ||||
. endif | . endif | ||||
. if ${PORTNAME} != "buildtools" | . if ${PORTNAME} != "buildtools" | ||||
_QT_TOOLS+= ${MOC} ${RCC} | _QT_TOOLS+= ${MOC} ${RCC} | ||||
. endif | . endif | ||||
. if ${PORTNAME} != "qdoc" | . if ${PORTNAME} != "qdoc" | ||||
_QT_TOOLS+= qdoc | _QT_TOOLS+= qdoc | ||||
. endif | . endif | ||||
. if ${PORTNAME} != "dbus" | . if ${PORTNAME} != "dbus" | ||||
_QT_TOOLS+= qdbuscpp2xml qdbusxml2cpp | _QT_TOOLS+= qdbuscpp2xml qdbusxml2cpp | ||||
. endif | . endif | ||||
. if ${PORTNAME} != "widgets" | . if ${PORTNAME} != "widgets" | ||||
_QT_TOOLS+= ${UIC} | _QT_TOOLS+= ${UIC} | ||||
. endif | . endif | ||||
pre-configure: qtbase-pre-configure | pre-configure: qtbase-pre-configure | ||||
qtbase-pre-configure: | qtbase-pre-configure: | ||||
. for tool in ${_QT_TOOLS} | . for tool in ${_QT_TOOLS} | ||||
@${TEST} -e ${QT_BINDIR}/${tool:T} && \ | @${TEST} -e ${QT_BINDIR}/${tool:T} && \ | ||||
${LN} -sf ${QT_BINDIR}/${tool:T} ${CONFIGURE_WRKSRC}/bin/${tool:T} || \ | ${LN} -sf ${QT_BINDIR}/${tool:T} ${CONFIGURE_WRKSRC}/bin/${tool:T} || \ | ||||
${TRUE} | ${TRUE} | ||||
. endfor | . endfor | ||||
# Add ${LOCALBASE}/lib to DEFAULT_LIBDIRS, which we use to filter out | # Add ${LOCALBASE}/lib to DEFAULT_LIBDIRS, which we use to filter out | ||||
# certain paths from pkg-config calls (see the explanation in | # certain paths from pkg-config calls (see the explanation in | ||||
# devel/qt5/files/patch-configure) as well as for setting | # devel/qt5/files/patch-configure) as well as for setting | ||||
# QMAKE_DEFAULT_LIBDIR in mkspecs/qconfig.pri. Part of the solution for | # QMAKE_DEFAULT_LIBDIR in mkspecs/qconfig.pri. Part of the solution for | ||||
# ports/194088. | # ports/194088. | ||||
post-patch: qtbase-post-patch | post-patch: qtbase-post-patch | ||||
qtbase-post-patch: | qtbase-post-patch: | ||||
${REINPLACE_CMD} -e "/DEFAULT_LIBDIRS=/ s,\\\\\"\\\\n,\\\\n${LOCALBASE}/lib&," \ | ${REINPLACE_CMD} -e "/DEFAULT_LIBDIRS=/ s,\\\\\"\\\\n,\\\\n${LOCALBASE}/lib&," \ | ||||
${WRKSRC}/configure | ${WRKSRC}/configure | ||||
. if ${PORTNAME} != "qmake" | . if ${PORTNAME} != "qmake" | ||||
_QMAKE= ${CONFIGURE_WRKSRC}/bin/qmake | _QMAKE= ${CONFIGURE_WRKSRC}/bin/qmake | ||||
post-configure: qmake-configure | post-configure: qmake-configure | ||||
. endif | . endif | ||||
. endif # ${QT_DIST} == "base" | . endif # ${QT_DIST} == "base" | ||||
pre-configure: qt5-pre-configure | pre-configure: qt5-pre-configure | ||||
qt5-pre-configure: | qt5-pre-configure: | ||||
# Qt 5.3.2 introduced a check in mkspecs/features/create_cmake.prf that | # Qt 5.3.2 introduced a check in mkspecs/features/create_cmake.prf that | ||||
# requires tests/auto/cmake to be present, otherwise the configure stage will | # requires tests/auto/cmake to be present, otherwise the configure stage will | ||||
# fail. | # fail. | ||||
# Since we cannot extract tests/auto/cmake/ and exclude tests/ at the same | # Since we cannot extract tests/auto/cmake/ and exclude tests/ at the same | ||||
# time, we have to disable the check in a cache file (the only way to get this | # time, we have to disable the check in a cache file (the only way to get this | ||||
Show All 14 Lines | |||||
qt-pre-install: | qt-pre-install: | ||||
# Search both in CONFIGURE_WRKSRC and WRKSRC, as the former is not | # Search both in CONFIGURE_WRKSRC and WRKSRC, as the former is not | ||||
# a subdirectory of the latter for out-of-source builds. | # a subdirectory of the latter for out-of-source builds. | ||||
@${FIND} ${WRKSRC} ${CONFIGURE_WRKSRC} -name "Makefile*" -type f | \ | @${FIND} ${WRKSRC} ${CONFIGURE_WRKSRC} -name "Makefile*" -type f | \ | ||||
${XARGS} ${REINPLACE_CMD} -e 's,${PREFIX}/${QT_LIBDIR_REL}/pkgconfig,${PREFIX}/libdata/pkgconfig,g' | ${XARGS} ${REINPLACE_CMD} -e 's,${PREFIX}/${QT_LIBDIR_REL}/pkgconfig,${PREFIX}/libdata/pkgconfig,g' | ||||
post-install: qt-post-install | post-install: qt-post-install | ||||
qt-post-install: | qt-post-install: | ||||
. if ${QT_DEFINES:N-*} | . if ${QT_DEFINES:N-*} | ||||
# We can't use SUB_FILES with a shared pkg-deinstall.in. | # We can't use SUB_FILES with a shared pkg-deinstall.in. | ||||
# We need it to be a script instead of a group of @unexecs, otherwise | # We need it to be a script instead of a group of @unexecs, otherwise | ||||
# qconfig-modules.h cleanup will be run in pre-deinstall stage, which is | # qconfig-modules.h cleanup will be run in pre-deinstall stage, which is | ||||
# useless. This will probably be replaced by a Keywords/ script in the future. | # useless. This will probably be replaced by a Keywords/ script in the future. | ||||
@${SED} -e 's,%%QT_MODNAME%%,${QT_MODNAME},g' \ | @${SED} -e 's,%%QT_MODNAME%%,${QT_MODNAME},g' \ | ||||
-e 's,%%QT_INCDIR%%,${QT_INCDIR},g' \ | -e 's,%%QT_INCDIR%%,${QT_INCDIR},g' \ | ||||
${.CURDIR:H:H}/devel/${_QT_RELNAME}/${FILESDIR:T}/${PKGDEINSTALL:T}.in > \ | ${.CURDIR:H:H}/devel/${_QT_RELNAME}/${FILESDIR:T}/${PKGDEINSTALL:T}.in > \ | ||||
${PKGDEINSTALL} | ${PKGDEINSTALL} | ||||
@${MKDIR} ${STAGEDIR}${QT_INCDIR}/QtCore/modules | @${MKDIR} ${STAGEDIR}${QT_INCDIR}/QtCore/modules | ||||
@${ECHO_CMD} -n \ | @${ECHO_CMD} -n \ | ||||
> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h | > ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h | ||||
. for def in ${QT_DEFINES:N-*:O:u:C/=.*$//} | . for def in ${QT_DEFINES:N-*:O:u:C/=.*$//} | ||||
@${ECHO_CMD} "#if !defined(QT_${def}) && !defined(QT_NO_${def})" \ | @${ECHO_CMD} "#if !defined(QT_${def}) && !defined(QT_NO_${def})" \ | ||||
>> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h | >> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h | ||||
${ECHO_CMD} "# define QT_${def}" \ | ${ECHO_CMD} "# define QT_${def}" \ | ||||
>> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h | >> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h | ||||
@${ECHO_CMD} "#endif" \ | @${ECHO_CMD} "#endif" \ | ||||
>> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h | >> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h | ||||
@${ECHO_CMD} \ | @${ECHO_CMD} \ | ||||
>> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h | >> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h | ||||
. endfor | . endfor | ||||
@${ECHO_CMD} "${QT_PREFIX}/${QT_INCDIR_REL}/QtCore/modules/qconfig-${QT_MODNAME}.h" \ | @${ECHO_CMD} "${QT_PREFIX}/${QT_INCDIR_REL}/QtCore/modules/qconfig-${QT_MODNAME}.h" \ | ||||
>> ${TMPPLIST} | >> ${TMPPLIST} | ||||
@${ECHO_CMD} "@exec echo '#include <QtCore/modules/qconfig-${QT_MODNAME}.h>' >> ${QT_PREFIX}/${QT_INCDIR_REL}/QtCore/qconfig-modules.h" \ | @${ECHO_CMD} "@exec echo '#include <QtCore/modules/qconfig-${QT_MODNAME}.h>' >> ${QT_PREFIX}/${QT_INCDIR_REL}/QtCore/qconfig-modules.h" \ | ||||
>> ${TMPPLIST} | >> ${TMPPLIST} | ||||
. endif # ${QT_DEFINES:N-*} | . endif # ${QT_DEFINES:N-*} | ||||
. if ${QT_CONFIG:N-*} | . if ${QT_CONFIG:N-*} | ||||
@${MKDIR} ${STAGEDIR}${QT_MKSPECDIR}/modules | @${MKDIR} ${STAGEDIR}${QT_MKSPECDIR}/modules | ||||
${ECHO_CMD} "QT_CONFIG += ${QT_CONFIG:N-*:O:u}" \ | ${ECHO_CMD} "QT_CONFIG += ${QT_CONFIG:N-*:O:u}" \ | ||||
> ${STAGEDIR}${QT_MKSPECDIR}/modules/qt_config_${QT_MODNAME}.pri | > ${STAGEDIR}${QT_MKSPECDIR}/modules/qt_config_${QT_MODNAME}.pri | ||||
@${ECHO_CMD} "${QT_PREFIX}/${QT_MKSPECDIR_REL}/modules/qt_config_${QT_MODNAME}.pri" \ | @${ECHO_CMD} "${QT_PREFIX}/${QT_MKSPECDIR_REL}/modules/qt_config_${QT_MODNAME}.pri" \ | ||||
>> ${TMPPLIST} | >> ${TMPPLIST} | ||||
. endif # ${QT_CONFIG:N-*} | . endif # ${QT_CONFIG:N-*} | ||||
.endif # defined(QT_DIST) && ! ${_QT_VERSION:M4*} | . endif # defined(QT_DIST) && ! ${_QT_VERSION:M4*} | ||||
.endif # defined(_POSTMKINCLUDED) && !defined(Qt_Post_Include) | .endif # defined(_POSTMKINCLUDED) && !defined(Qt_Post_Include) |