diff options
| author | Mike McQuaid | 2014-01-04 13:08:09 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-04 13:19:47 +0000 |
| commit | 017da9d24d5a1635dfdd8224006776205db4d5e0 (patch) | |
| tree | 6887ec470de0634227b7e3c6bd943ad31f6008b5 /Library | |
| parent | eebb0c24673b26c1042bba11c1737bf8150c6022 (diff) | |
| download | homebrew-017da9d24d5a1635dfdd8224006776205db4d5e0.tar.bz2 | |
ledger: cleanup python usage.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ledger.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Formula/ledger.rb b/Library/Formula/ledger.rb index 9640d60f0..f497d2a77 100644 --- a/Library/Formula/ledger.rb +++ b/Library/Formula/ledger.rb @@ -34,12 +34,7 @@ class Ledger < Formula if build.head? args = [((build.include? 'debug') ? 'debug' : 'opt'), "make", "-N", "-j#{ENV.make_jobs}", "--output=build"] - if build.with? 'python' - args << '--python' - # acprep picks up system python because CMake is used - inreplace 'acprep', "self.configure_args = []", - "self.configure_args = ['-DPYTHON_INCLUDE_DIR=#{python.incdir}', '-DPYTHON_LIBRARY=#{python.libdir}/lib#{python.xy}.dylib']" - end + args << '--python' if build.with? 'python' # Support homebrew not at /usr/local. Also support Xcode-only setups: inreplace 'acprep', 'search_prefixes = [', "search_prefixes = ['#{HOMEBREW_PREFIX}','#{MacOS.sdk_path}/usr'," system "./acprep", "--prefix=#{prefix}", *args |
