From 10cc5337087a0f13a0c602c38af5b3eaa10a690f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 21 May 2014 17:28:44 -0500 Subject: cppunit: autoreconf to get a newer configure script --- Library/Formula/cppunit.rb | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) (limited to 'Library/Formula/cppunit.rb') diff --git a/Library/Formula/cppunit.rb b/Library/Formula/cppunit.rb index 5dac7e98f..da0e20e5d 100644 --- a/Library/Formula/cppunit.rb +++ b/Library/Formula/cppunit.rb @@ -14,29 +14,14 @@ class Cppunit < Formula option :universal - patch :DATA + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build def install ENV.universal_binary if build.universal? - - system "./configure", "--disable-debug", "--disable-dependency-tracking", - "--prefix=#{prefix}" + system "autoreconf", "-fvi" + system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end end - -# configure script is broken, the final rm -f fails because it tries to file -# delete a directory. superenv exposes this bug for some reason, but std-env -# does not. Weird. -__END__ -diff --git a/configure b/configure -index 424eea6..11e73ad 100755 ---- a/configure -+++ b/configure -@@ -23318,5 +23318,5 @@ echo X/* automatically generated */ | - echo "$as_me: error: input file $ac_prefix_conf_IN does not exist, skip generating $ac_prefix_conf_OUT" >&2;} - { (exit 1); exit 1; }; } - fi -- rm -f conftest.* -+ rm -f conftest.* || true - fi -- cgit v1.2.3