diff options
| author | Mike McQuaid | 2014-01-04 13:08:49 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-04 13:35:42 +0000 |
| commit | c9d8db63c868f78e0c9b4549f083bf3931901f45 (patch) | |
| tree | 4b7b6b9dc9ec38b8eae9e01a150956dfae9f0d3a /Library/Formula | |
| parent | 82b9bac6ad754c7801a868f965e3e708420d482c (diff) | |
| download | homebrew-c9d8db63c868f78e0c9b4549f083bf3931901f45.tar.bz2 | |
libplist: cleanup python usage.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libplist.rb | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/Library/Formula/libplist.rb b/Library/Formula/libplist.rb index 2a2c8abac..cebc1c21b 100644 --- a/Library/Formula/libplist.rb +++ b/Library/Formula/libplist.rb @@ -27,21 +27,10 @@ class Libplist < Formula # Disable Swig Python bindings args << "-DENABLE_SWIG='OFF'" - if python do - # For Xcode-only systems, the headers of system's python are inside of Xcode: - args << "-DPYTHON_INCLUDE_DIR='#{python.incdir}'" - # Cmake picks up the system's python dylib, even if we have a brewed one: - args << "-DPYTHON_LIBRARY='#{python.libdir}/lib#{python.xy}.dylib'" - end; else - # Also disable Cython Python bindings if we're not building --with-python - args << "-DENABLE_CYTHON='OFF'" - end + # Also disable Cython Python bindings if we're not building --with-python + args << "-DENABLE_CYTHON='OFF'" if build.without? 'python' system "cmake", ".", "-DCMAKE_INSTALL_NAME_DIR=#{lib}", *args system "make install" end - - def caveats - python.standard_caveats if python - end end |
