aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/avrdude.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/avrdude.rb b/Library/Formula/avrdude.rb
index f88780622..548720eef 100644
--- a/Library/Formula/avrdude.rb
+++ b/Library/Formula/avrdude.rb
@@ -26,7 +26,10 @@ class Avrdude < Formula
depends_on 'libhid' => :optional
def install
- system "./bootstrap" if build.head?
+ if build.head?
+ inreplace "bootstrap", /libtoolize/, "glibtoolize"
+ system "./bootstrap"
+ end
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"