diff --git a/security/MacPass/Portfile b/security/MacPass/Portfile index 57d6d6301ab57..dca89b68c5d6e 100644 --- a/security/MacPass/Portfile +++ b/security/MacPass/Portfile @@ -74,7 +74,7 @@ xcode.configuration Release xcode.destroot.settings CODE_SIGN_IDENTITY=- \ CODE_SIGN_STYLE=Manual \ ENABLE_HARDENED_RUNTIME=NO \ - FRAMEWORK_SEARCH_PATHS=${prefix}/Library/Frameworks + FRAMEWORK_SEARCH_PATHS=${frameworks_dir} # xcode PortGroup sets the DerivedData to /var/root/... which is not writeable. This fixes it. destroot.pre_args-append -derivedDataPath ./DerivedData