Files
macports-ports/security/KeePassXC/files/patch-no-findpackage-path.diff
tenzapandClemens Lang 33a2db78e6 KeePassXC: update to 2.7.4
and update keepassxc-devel to latest commit of "develop" branch
2022-11-24 14:12:02 +01:00

22 lines
769 B
Diff

--- CMakeLists.txt
+++ CMakeLists.txt
@@ -478,16 +478,8 @@
endif()
find_package(Qt5 COMPONENTS ${QT_COMPONENTS} DBus REQUIRED)
elseif(APPLE)
- find_package(Qt5 COMPONENTS ${QT_COMPONENTS} REQUIRED HINTS
- /usr/local/opt/qt@5/lib/cmake
- /usr/local/Cellar/qt@5/*/lib/cmake
- /opt/homebrew/opt/qt@5/lib/cmake
- ENV PATH)
- find_package(Qt5 COMPONENTS MacExtras HINTS
- /usr/local/opt/qt@5/lib/cmake
- /usr/local/Cellar/qt@5/*/lib/cmake
- /opt/homebrew/opt/qt@5/lib/cmake
- ENV PATH)
+ find_package(Qt5 COMPONENTS ${QT_COMPONENTS} REQUIRED)
+ find_package(Qt5 COMPONENTS MacExtras)
else()
find_package(Qt5 COMPONENTS ${QT_COMPONENTS} REQUIRED)
endif()