Merge branch 'master' of git://github.com/mxcl/homebrew

master
Misty De Meo 2011-12-09 15:08:07 -06:00
commit 098cdbe43d
6 changed files with 19 additions and 7 deletions

View File

@ -22,7 +22,8 @@ class Camlp5 < Formula
system "./configure -prefix #{prefix} -mandir #{man} #{strictness}"
# this build fails if jobs are parallelized
system "make -j 1 world.opt"
ENV.deparallelize
system "make world.opt"
system "make install"
end
end

View File

@ -56,10 +56,16 @@ class Glib < Formula
system "autoconf"
end
# hack so that we don't have to depend on pkg-config
# http://permalink.gmane.org/gmane.comp.package-management.pkg-config/627
# glib and pkg-config <= 0.26 have circular dependencies, so we should build glib without pkg-config
# The pkg-config dependency can be eliminated if certain env variables are set
# Note that this *may* need to be updated if any new dependencies are added in the future
# See http://permalink.gmane.org/gmane.comp.package-management.pkg-config/627
ENV['ZLIB_CFLAGS'] = ''
ENV['ZLIB_LIBZ'] = '-l'
# libffi include paths are dramatically ugly
libffi = Formula.factory('libffi')
ENV['LIBFFI_CFLAGS'] = "-I #{libffi.lib}/libffi-#{libffi.version}/include"
ENV['LIBFFI_LIBS'] = '-lffi'
system "./configure", *args

View File

@ -19,7 +19,8 @@ class Jbigkit < Formula
system "make"
# It needs j1 to make the tests happen in sequence.
system "make -j1 test" if ARGV.include? '--with-check'
ENV.deparallelize
system "make test" if ARGV.include? '--with-check'
# Install the files using three common styles of syntax:
prefix.install %w[contrib examples]

View File

@ -10,7 +10,8 @@ class Ledit < Formula
def install
# like camlp5, this build fails if the jobs are parallelized
system "make -j 1 BINDIR=#{bin} LIBDIR=#{lib} MANDIR=#{man}"
ENV.deparallelize
system "make BINDIR=#{bin} LIBDIR=#{lib} MANDIR=#{man}"
system "make install BINDIR=#{bin} LIBDIR=#{lib} MANDIR=#{man}"
end
end

View File

@ -8,7 +8,8 @@ class Neko < Formula
depends_on 'bdw-gc'
def install
system "yes s | /usr/bin/gnumake -j1 MACOSX=1 INSTALL_PREFIX=#{prefix}"
ENV.deparallelize # parallel build fails
system "yes s | make MACOSX=1 INSTALL_PREFIX=#{prefix}"
prefix.install %w{bin libs src}
end
end

View File

@ -7,6 +7,8 @@ class Renameutils < Formula
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make -j1 install" # fails if run in parallel
system "make"
ENV.deparallelize # parallel install fails
system "make install"
end
end