aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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