#27128: kdelibs4 fails to build with older qt in /Library/Frameworks -------------------------------+-------------------------------------------- Reporter: nerdrew@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: kdelibs4 -------------------------------+-------------------------------------------- Comment(by macports@…): Even after uninstalling the external Qt, building kdelibs4 failed for me because it tries to link against "/Library/Frameworks/phonon" (which does not exist). My workaround was to replace all occurrences of "-framework phonon" with "/opt/local/lib/libphonon.dylib" in all link.txt files. {{{ cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/ grep -rl "framework phonon" * | xargs sed -i '' 's/ -framework phonon//' }}} this will change: interfaces/kmediaplayer/kfileaudiopreview/CMakeFiles/kfileaudiopreview.dir/link.txt, khtml/CMakeFiles/khtml.dir/link.txt, knotify/config/CMakeFiles/knotifyconfig.dir/link.txt and plasma/CMakeFiles/plasma.dir/link.txt I'm using qt4-mac@4.7.1 together with phonon@4.4.2 which does not seem to create a framework of phonon any longer (as imho older Qt versions did). At least I was able to compile kdelibs4 successfully, not yet tested if this will work, though. -- Ticket URL: <https://trac.macports.org/ticket/27128#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS