[darwinbuild-changes] [160] trunk/darwinbuild/installXcodebuild
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 4 01:52:53 PDT 2006
Revision: 160
http://trac.macosforge.org/projects/darwinbuild/changeset/160
Author: ssen
Date: 2006-10-04 01:52:53 -0700 (Wed, 04 Oct 2006)
Log Message:
-----------
AppleRAID requires that SYSTEM_LIBRARY_DIR be a valid value.
So copy back a virgin copy of the xcode native build settings,
and modify the pbxcp "compiler" spec to use the remapped
/XCD path.
Modified Paths:
--------------
trunk/darwinbuild/installXcodebuild
Modified: trunk/darwinbuild/installXcodebuild
===================================================================
--- trunk/darwinbuild/installXcodebuild 2005-08-08 06:15:27 UTC (rev 159)
+++ trunk/darwinbuild/installXcodebuild 2006-10-04 08:52:53 UTC (rev 160)
@@ -16,6 +16,8 @@
/Library/Application\ Support/Xcode)
JAMFILES=/Developer/Makefiles/pbx_jamfiles
+XCODESETTINGS="/System/Library/PrivateFrameworks/DevToolsCore.framework/Versions/A/Resources/BuildSettings-macosx.plist"
+XCODECOMP="/System/Library/PrivateFrameworks/DevToolsCore.framework/Versions/A/Resources/Built-in compilers.pbcompspec"
if [ -z "$BUILDROOT" ]; then
echo "Usage: $0 /Volumes/DarwinBuild/BuildRoot" 1>&2
@@ -100,11 +102,16 @@
-e 's,/Developer,/XCD/loper,g' | \
(cd "$BUILDROOT"; cpio -ium${VERBOSECPIO}d )
- find ".$JAMFILES" | cpio -o -c | \
+ find ".$JAMFILES" ".$XCODECOMP" | cpio -o -c | \
sed -e 's,$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks,/XCD/SY///////Library/PrivateFrameworks,g' \
- -e 's,/Developer/Makefiles/pbx_jamfiles,/XCD/loper/Makefiles/pbx_jamfiles,g' | \
+ -e 's,/Developer/Makefiles/pbx_jamfiles,/XCD/loper/Makefiles/pbx_jamfiles,g' \
+ -e 's,/System/Library/PrivateFrameworks/DevToolsCore.framework,/XCD/SY/Library/PrivateFrameworks/DevToolsCore.framework,g' | \
(cd "$BUILDROOT"; cpio -ium${VERBOSECPIO}d )
+ find ".$XCODESETTINGS" | cpio -o -c | \
+ sed -e 's,/System/Library/PrivateFrameworks/DevToolsCore.framework,/XCD/SY/Library/PrivateFrameworks/DevToolsCore.framework,g' | \
+ (cd "$BUILDROOT"; cpio -ium${VERBOSECPIO}d )
+
echo "done"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/46226731/attachment.html
More information about the darwinbuild-changes
mailing list