Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/qt-dist.mk
| Show First 20 Lines • Show All 233 Lines • ▼ Show 20 Lines | |||||
| # Work around a bug in current binutils, where the gold linker creates | # Work around a bug in current binutils, where the gold linker creates | ||||
| # duplicate symbols. See pr 218187. Disable the gold-linker for Qt5 ports. | # duplicate symbols. See pr 218187. Disable the gold-linker for Qt5 ports. | ||||
| CONFIGURE_ARGS+= -no-use-gold-linker | CONFIGURE_ARGS+= -no-use-gold-linker | ||||
| # Pass -recheck-all so that multiple calls to the configure script really | # Pass -recheck-all so that multiple calls to the configure script really | ||||
| # re-run all checks. | # re-run all checks. | ||||
| CONFIGURE_ARGS+= -recheck-all | CONFIGURE_ARGS+= -recheck-all | ||||
| . endif # ${_QT_VER:M5} | . endif # ${_QT_VER:M5} | ||||
| . 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" | ||||
| . 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" | ||||
| . endif # defined(WANT_QT_DEBUG) || defined(WITH_DEBUG) | . endif # defined(WANT_QT_DEBUG) || defined(_WITH_DEBUG) | ||||
| . if defined(WANT_QT_VERBOSE_CONFIGURE) | . if defined(WANT_QT_VERBOSE_CONFIGURE) | ||||
| CONFIGURE_ARGS+= -verbose | CONFIGURE_ARGS+= -verbose | ||||
| . endif | . endif | ||||
| . if ${_QT_DIST} == "base" | . if ${_QT_DIST} == "base" | ||||
| _EXTRA_PATCHES_QT5= ${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_features_create__cmake.prf \ | _EXTRA_PATCHES_QT5= ${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_features_create__cmake.prf \ | ||||
| ${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_features_qt__module.prf \ | ${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_features_qt__module.prf \ | ||||
| Show All 35 Lines | |||||
| 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=${_QT_VERSION:R} \ | PLIST_SUB+= SHORTVER=${_QT_VERSION:R} \ | ||||
| FULLVER=${_QT_VERSION:C/-.*//} | FULLVER=${_QT_VERSION:C/-.*//} | ||||
| . if defined(WITH_DEBUG) | . if defined(_WITH_DEBUG) | ||||
| PLIST_SUB+= DEBUG="" \ | PLIST_SUB+= DEBUG="" \ | ||||
| NO_DEBUG="@comment " | NO_DEBUG="@comment " | ||||
| . else | . else | ||||
| PLIST_SUB+= DEBUG="@comment " \ | PLIST_SUB+= DEBUG="@comment " \ | ||||
| NO_DEBUG="" | NO_DEBUG="" | ||||
| . endif | . endif | ||||
| # Handle additional PLIST directories, which should only be used for Qt-dist ports. | # Handle additional PLIST directories, which should only be used for Qt-dist ports. | ||||
| ▲ Show 20 Lines • Show All 237 Lines • Show Last 20 Lines | |||||