diff options
Diffstat (limited to 'Library/Formula/libcaca.rb')
| -rw-r--r-- | Library/Formula/libcaca.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/libcaca.rb b/Library/Formula/libcaca.rb index 1ba029fb1..99bc09ff7 100644 --- a/Library/Formula/libcaca.rb +++ b/Library/Formula/libcaca.rb @@ -9,6 +9,7 @@ class Libcaca < Formula option 'with-imlib2', 'Build with Imlib2 support' depends_on :x11 if MacOS::X11.installed? or build.include? "with-imlib2" + depends_on :python => :recommended if build.include? "with-imlib2" depends_on 'pkg-config' => :build @@ -28,12 +29,13 @@ class Libcaca < Formula # Don't build csharp bindings # Don't build ruby bindings; fails for adamv w/ Homebrew Ruby 1.9.2 - # Don't build python bindings: + + # Fix --destdir issue. # ../.auto/py-compile: Missing argument to --destdir. + inreplace 'python/Makefile.in', '$(am__py_compile) --destdir "$(DESTDIR)"', "$(am__py_compile) --destdir \"$(cacadir)\"" system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", - "--disable-python", "--disable-doc", "--disable-slang", "--disable-java", |
