From c5032dee248fad8020036290bc48258e5f65f3e5 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Wed, 29 Feb 2012 01:33:40 +0000 Subject: Fix aview compile; Fixes #10579 --- Library/Formula/aalib.rb | 7 +++++++ Library/Formula/aview.rb | 1 + 2 files changed, 8 insertions(+) (limited to 'Library') diff --git a/Library/Formula/aalib.rb b/Library/Formula/aalib.rb index 5130a1267..1e6cbb880 100644 --- a/Library/Formula/aalib.rb +++ b/Library/Formula/aalib.rb @@ -10,6 +10,13 @@ class Aalib < Formula DATA end + if MacOS.xcode_version >= "4.3" + # remove the autoreconf if possible, no comment provided about why it is there + # so we have no basis to make a decision at this point. + depends_on "automake" + depends_on "libtool" + end + def install # Build fails some of the time without `ENV.x11`! # See: https://github.com/mxcl/homebrew/pull/10356 diff --git a/Library/Formula/aview.rb b/Library/Formula/aview.rb index cb98efc36..6e9304d08 100644 --- a/Library/Formula/aview.rb +++ b/Library/Formula/aview.rb @@ -12,6 +12,7 @@ class Aview < Formula end def install + ENV.x11 system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--mandir=#{man}" -- cgit v1.2.3