diff options
| author | Jack Nagel | 2013-03-09 22:18:18 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-03-09 22:18:18 -0600 |
| commit | cb7542229eecfe6ce5ba3ea9be872054b3ae3044 (patch) | |
| tree | 1fa34a575495d17a1ac6e85de832b6ab63d806fc /Library/Formula | |
| parent | 09ebd207eb19ee23f9d8008f3225931e2fbe2d2c (diff) | |
| download | homebrew-cb7542229eecfe6ce5ba3ea9be872054b3ae3044.tar.bz2 | |
libusb: add fix for automake 1.13+
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libusb.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/libusb.rb b/Library/Formula/libusb.rb index 48d3abf7b..0895096d6 100644 --- a/Library/Formula/libusb.rb +++ b/Library/Formula/libusb.rb @@ -16,7 +16,12 @@ class Libusb < Formula def install ENV.universal_binary if build.universal? - system "./autogen.sh" if build.head? + + if build.head? + inreplace "configure.ac", "AM_CONFIG_HEADER", "AC_CONFIG_HEADERS" + system "./autogen.sh" + end + system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking" system "make install" end |
