The changes in r198947 for https://bugs.webkit.org/show_bug.cgi?id=156088 introduced build failures on OSX. The changes in r198947 assume that APPLE implies bundled framework. This certainly doesn't work for the GTK build and I suspect also fails for QT. I believe you should be using (PORT STREQUAL "Mac") instead.
Created attachment 276597 [details] 0001-Fix-incorrect-assumption-that-APPLE-implies-Mac Presumptive fix. Testing it now.
This change fixes the issue in WebKit, but looks like more recent changes on master caused it to not apply cleanly.
Created attachment 276598 [details] 0001-Fix-incorrect-assumption-that-APPLE-implies-Mac
*** Bug 156616 has been marked as a duplicate of this bug. ***
Comment on attachment 276598 [details] 0001-Fix-incorrect-assumption-that-APPLE-implies-Mac Clearing flags on attachment: 276598 Committed r199656: <http://trac.webkit.org/changeset/199656>
All reviewed patches have been landed. Closing bug.