aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2012-02-29 01:33:40 +0000
committerMax Howell2012-02-29 01:33:40 +0000
commitc5032dee248fad8020036290bc48258e5f65f3e5 (patch)
tree66ce632d0a87a012e10c0b6b5ad2abc5c64240c1
parent63a8f466a598f17b11c22e8565ae31e809be35d9 (diff)
downloadhomebrew-c5032dee248fad8020036290bc48258e5f65f3e5.tar.bz2
Fix aview compile; Fixes #10579
-rw-r--r--Library/Formula/aalib.rb7
-rw-r--r--Library/Formula/aview.rb1
2 files changed, 8 insertions, 0 deletions
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}"