Opened 3 years ago

Closed 2 years ago

#61740 closed defect (fixed)

KeePassXC @2.6.2: CMakeLists.txt finds Homebrew dependencies

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: tenzap
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: KeePassXC

Description

From KeePassXC 2.6.2's CMakeLists.txt:

if(UNIX AND NOT APPLE)
    find_package(Qt5 COMPONENTS ${QT_COMPONENTS} DBus REQUIRED)
elseif(APPLE)
    find_package(Qt5 COMPONENTS ${QT_COMPONENTS} REQUIRED HINTS /usr/local/opt/qt/lib/cmake /usr/local/Cellar/qt/*/lib/cmake ENV PATH)
    find_package(Qt5 COMPONENTS MacExtras HINTS /usr/local/opt/qt/lib/cmake /usr/local/Cellar/qt/*/lib/cmake ENV PATH)
else()
    find_package(Qt5 COMPONENTS ${QT_COMPONENTS} REQUIRED)
endif()

We do not want it to try to find dependencies in /usr/local like that.

Change History (1)

comment:1 Changed 2 years ago by tenzap

Owner: set to tenzap
Resolution: fixed
Status: newclosed

In 7f9e0f2eb226a68ba1f88999f5d11450060f419d/macports-ports (master):

KeePassXC: fix compilation on older systems & update patches

  • refresh patch-no-deployqt.diff
  • fix compilation on macOS 10.12 (may also fix <= 10.9)
  • Add patch patch-no-findpackage-path.diff

Closes: #61740

Note: See TracTickets for help on using tickets.