[darwinbuild-changes] [133] trunk/darwinbuild/darwinbuild.common
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 4 01:49:19 PDT 2006
Revision: 133
http://trac.macosforge.org/projects/darwinbuild/changeset/133
Author: ssen
Date: 2006-10-04 01:49:18 -0700 (Wed, 04 Oct 2006)
Log Message:
-----------
Fix InstallRoot/InstallHeaders so that you can have multiple
binary_sites
Modified Paths:
--------------
trunk/darwinbuild/darwinbuild.common
Modified: trunk/darwinbuild/darwinbuild.common
===================================================================
--- trunk/darwinbuild/darwinbuild.common 2005-07-30 17:33:49 UTC (rev 132)
+++ trunk/darwinbuild/darwinbuild.common 2006-10-04 08:49:18 UTC (rev 133)
@@ -141,9 +141,10 @@
ditto $SRCDIR $BuildRoot
touch "$receipts/$X"
elif [ ! -f "$receipts/$X" ]; then
+ sites=$($PREFIX/bin/darwinxref $dbfile binary_sites | while read a; do echo "$a/$depsbuild"; done)
Download "$CACHEDIR/Roots/$depsbuild" \
"$X.root.tar.gz" \
- $($PREFIX/bin/darwinxref $dbfile binary_sites)/$depsbuild
+ "$sites"
if [ -f $CACHEDIR/Roots/$depsbuild/$X.root.tar.gz ]; then
cd "$BuildRoot"
tar xzf $CACHEDIR/Roots/$depsbuild/$X.root.tar.gz
@@ -179,8 +180,9 @@
echo "Copying $X ..."
ditto $DARWIN_BUILDROOT/Headers/${X/-*}/$X.hdrs~$bv $BuildRoot
else
+ sites=$($PREFIX/bin/darwinxref $dbfile binary_sites | while read a; do echo "$a/$depsbuild"; done)
Download "$CACHEDIR/Headers/$depsbuild" "$X.hdrs.tar.gz" \
- $($PREFIX/bin/darwinxref $dbfile binary_sites)/$depsbuild
+ "$sites"
if [ -f $CACHEDIR/Headers/$depsbuild/$X.hdrs.tar.gz ]; then
cd "$BuildRoot"
tar xzf $CACHEDIR/Headers/$depsbuild/$X.hdrs.tar.gz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/0856cab7/attachment-0001.html
More information about the darwinbuild-changes
mailing list