aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-25 15:45:28 -0800
committerAdam Vandenberg2012-02-25 15:49:54 -0800
commite9e9b5b1fba2f57bc0679420caa78bd3f9157946 (patch)
tree42d34668f9abd322fbee2dda91bdd52fc7de2388 /Library/Formula
parent1ab7474c99897d1ec00a68357f799bdab1d44518 (diff)
downloadhomebrew-e9e9b5b1fba2f57bc0679420caa78bd3f9157946.tar.bz2
aalib: needs ENV.x11
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/aalib.rb12
1 files changed, 9 insertions, 3 deletions
diff --git a/Library/Formula/aalib.rb b/Library/Formula/aalib.rb
index 1180e4351..5130a1267 100644
--- a/Library/Formula/aalib.rb
+++ b/Library/Formula/aalib.rb
@@ -1,20 +1,26 @@
require 'formula'
class Aalib < Formula
- url 'http://downloads.sourceforge.net/aa-project/aalib-1.4rc4.tar.gz'
homepage 'http://aa-project.sourceforge.net/aalib/'
+ url 'http://downloads.sourceforge.net/aa-project/aalib-1.4rc4.tar.gz'
md5 'd5aa8e9eae07b7441298b5c30490f6a6'
+ # Fix malloc/stdlib issue on OS X
def patches
DATA
end
def install
+ # Build fails some of the time without `ENV.x11`!
+ # See: https://github.com/mxcl/homebrew/pull/10356
+ ENV.x11
ENV.ncurses_define
system 'autoreconf --force --install'
system "./configure", "--disable-debug", "--disable-dependency-tracking",
- "--mandir=#{man}", "--infodir=#{info}",
- "--prefix=#{prefix}", "--enable-shared=yes", "--enable-static=yes"
+ "--prefix=#{prefix}",
+ "--mandir=#{man}",
+ "--infodir=#{info}",
+ "--enable-shared=yes", "--enable-static=yes"
system "make install"
end
end