summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-02-04 04:28:22 -0500
committerJohn Wiegley <johnw@newartisans.com>2011-02-04 04:28:22 -0500
commit8c81a1decbb40f62c1b808d4203b0863059769fb (patch)
tree4c80ec5338edc7dce41c58cc58cf15281909b53c /acprep
parent2a2c3c1ceca27bc1e0ce6408459ddbf8dd980fae (diff)
downloadfork-ledger-8c81a1decbb40f62c1b808d4203b0863059769fb.tar.gz
fork-ledger-8c81a1decbb40f62c1b808d4203b0863059769fb.tar.bz2
fork-ledger-8c81a1decbb40f62c1b808d4203b0863059769fb.zip
Use MacPorts Python when I build with Clang
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep5
1 files changed, 4 insertions, 1 deletions
diff --git a/acprep b/acprep
index cd35f381..8f50983f 100755
--- a/acprep
+++ b/acprep
@@ -951,7 +951,10 @@ class PrepareBuild(CommandLineApp):
def setup_for_johnw(self):
if self.options.use_clang:
self.boost_inc_ident = "clang"
- self.boost_lib_ident = "29"
+ self.boost_lib_ident = "clang-darwin28"
+
+ self.log.debug("Setting Python home to /opt/local")
+ self.envvars['PYTHON_HOME'] = '/opt/local'
self.log.debug('Using Clang ident: %s/%s' %
(self.boost_inc_ident, self.boost_lib_ident))