git: dcf948766186 - main - qt-dist.mk: expose QT_CMAKEDIR to plist for Qt5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Aug 2022 17:03:44 UTC
The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=dcf9487661860b4d04db70b1e06395bdf5b973dd commit dcf9487661860b4d04db70b1e06395bdf5b973dd Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2022-08-22 16:59:39 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2022-08-22 17:03:39 +0000 qt-dist.mk: expose QT_CMAKEDIR to plist for Qt5 This was removed for Qt 6, but was still required for Qt 5. --- Mk/Uses/qt-dist.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Mk/Uses/qt-dist.mk b/Mk/Uses/qt-dist.mk index bc9583eb77f8..9fd8dcce4d1f 100644 --- a/Mk/Uses/qt-dist.mk +++ b/Mk/Uses/qt-dist.mk @@ -292,6 +292,13 @@ PLIST_SUB+= SHORTVER=${_QT_VERSION:R} \ PLIST_SUB+= QT_${dir}DIR="${QT_${dir}DIR_REL}" . endfor +. if ${_QT_VER:M5} +. for dir in CMAKE +# Export QT_CMAKEDIR. +PLIST_SUB+= QT_${dir}DIR="${QT_${dir}DIR_REL}" +. endfor +. endif + . if ${_QT_VER:M5} . if ${_QT_DIST} == "base" # qtbase requires some tools to be symlinked to the build directory.