2011-04-01 18:47:31 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Autogen < Formula
|
|
|
|
homepage 'http://autogen.sourceforge.net'
|
2013-10-05 18:25:10 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/autogen/rel5.18.1/autogen-5.18.1.tar.gz'
|
|
|
|
mirror 'http://ftp.gnu.org/gnu/autogen/rel5.18.1/autogen-5.18.1.tar.gz'
|
|
|
|
sha1 '53d29cafd187895f795e2ba94b9964f71da93060'
|
2011-04-01 18:47:31 +00:00
|
|
|
|
|
|
|
depends_on 'guile'
|
|
|
|
|
2013-10-05 18:25:10 +00:00
|
|
|
fails_with :clang do
|
|
|
|
build 500
|
|
|
|
cause <<-EOS.undent
|
|
|
|
Clang does not appear to be able to handle variables using the name
|
|
|
|
'noreturn' as it is a new keyword in C++11, but it would normally be
|
|
|
|
used as in [[noreturn]] void foo() and not as a variable name. I'm not
|
|
|
|
sure if this is a compiler bug or what, but GCC handles it fine at
|
|
|
|
the moment.
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
|
2011-04-01 18:47:31 +00:00
|
|
|
def install
|
2012-02-27 19:56:53 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2011-04-01 18:47:31 +00:00
|
|
|
"--prefix=#{prefix}"
|
|
|
|
|
|
|
|
# make and install must be separate steps for this formula
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|