adium 4984:87b1e45b7cd7: Remove some other references to mtn, ma...
commits at adium.im
commits at adium.im
Thu Aug 9 17:02:50 UTC 2012
details: http://hg.adium.im/adium/rev/87b1e45b7cd7
revision: 4984:87b1e45b7cd7
branch: adium-1.5.3
author: Thijs Alkemade <thijsalkemade at gmail.com>
date: Thu Aug 09 19:02:43 2012 +0200
Remove some other references to mtn, make sure we can find it even if it was installed via macports.
diffs (47 lines):
diff -r fff1bfac2204 -r 87b1e45b7cd7 Dependencies/build.sh
--- a/Dependencies/build.sh Thu Aug 09 18:57:46 2012 +0200
+++ b/Dependencies/build.sh Thu Aug 09 19:02:43 2012 +0200
@@ -140,7 +140,7 @@
--libpurple-branch=[branch] : Force a secific libpurple branch
--libpurple-only : Assume all dependencies are already built
and start the build with libpurple itself
- --download-libpurple : Download the libpurple mtn bootstrap db.
+ --download-libpurple : Download the libpurple Mercurial repository
--help : This help text
Note that explicitly setting any arch flags implies a forced reconfigure.'
@@ -179,12 +179,13 @@
# assert that the developer can, in fact, build libpurple. Why waste his time if he can't?
asserttools gcc
-asserttools mtn
+asserttools hg
# Ok, so we keep running into issues where MacPorts will volunteer to supply
# dependencies that we want to build ourselves.
-# Getting mtn's path before we export our own (safer?) path will ensure it works,
+# Getting hg's path before we export our own (safer?) path will ensure it works,
# even if it's being managed by MacPorts, Fink, or similar.
+HG=`which hg`
export PATH=$ROOTDIR/build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$DEVELOPER/usr/bin:$DEVELOPER/usr/sbin
export PKG_CONFIG="$ROOTDIR/build/bin/pkg-config"
export PKG_CONFIG_PATH="$ROOTDIR/build/lib/pkgconfig:/usr/lib/pkgconfig"
diff -r fff1bfac2204 -r 87b1e45b7cd7 Dependencies/phases/build_purple.sh
--- a/Dependencies/phases/build_purple.sh Thu Aug 09 18:57:46 2012 +0200
+++ b/Dependencies/phases/build_purple.sh Thu Aug 09 19:02:43 2012 +0200
@@ -26,12 +26,12 @@
if [ -d "libpurple" ]; then
status "Pulling latest changes to libpurple"
cd "libpurple"
- hg pull
+ $HG pull
status "Updating libpurple with ${HG_UPDATE_PARAM}"
- hg update ${HG_UPDATE_PARAM}
+ $HG update ${HG_UPDATE_PARAM}
else
- hg clone -b adium "http://hg.adium.im/libpurple/" libpurple
+ $HG clone -b adium "http://hg.adium.im/libpurple/" libpurple
fi
quiet popd
More information about the commits
mailing list