Opened 12 years ago
Last modified 3 years ago
#34502 closed defect
ogre@1.7.3 - pbxcp command execution failed, build failed. — at Initial Version
Reported by: | knitter.is@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.0 |
Keywords: | Cc: | marin.saric | |
Port: | ogre |
Description
On OS X 10.7.4 with XCode 4.3.2, ogre fails to install due to wrong hardcoded path to pbxcp. Since XCode 4.3 the /Developer folder no longer exists and XCode files and frameworks are placed in /Applications/XCode.app/.
The current port's CMakeList files contain the old path and building will fail.
I don't have a patch since I don't really know what to change but with some help from the mailing list I was able to hack the source CMakeList.txt files that macport downloads and install using my changes.
From inside ogre's source folder I changed the paths with:
find . -name CMakeLists.txt -exec sed -i bak s:/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp:/Applications/Xcode.app/Contents//OtherFrameworks/DevToolsCore.framework/Versions/A/Resources/pbxcp: {} \;