--- src/macdeployqt/shared/shared.cpp.orig	2015-02-16 21:57:17.000000000 -0700
+++ src/macdeployqt/shared/shared.cpp	2015-05-31 10:36:56.000000000 -0700
@@ -289,7 +289,7 @@
                 state = DylibName;
                 continue;
             } else if (part < parts.count() && parts.at(part).endsWith(".framework")) {
-                info.frameworkDirectory += "/" + (qtPath + "lib/").simplified();
+                info.frameworkDirectory += "/" + (qtPath + "__MACPORTS_FRAMWORK_DIR__/").simplified();
                 state = FrameworkName;
                 continue;
             } else if (trimmed.startsWith("/") == false) {      // If the line does not contain a full path, the app is using a binary Qt package.
