aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2013-01-08 09:47:23 -0800
committerAdam Vandenberg2013-01-08 09:47:23 -0800
commit258c649f5c88ca3690400a5bed16afbcb73c1f67 (patch)
tree48ec0c8b32c36346ff7a61c792eeb7122bc32b13
parent30dc1bea9adae95d5c19045ffc3d67cc8b1e1eea (diff)
downloadhomebrew-258c649f5c88ca3690400a5bed16afbcb73c1f67.tar.bz2
htop: fix build by creating empty m4 folder
Closes #14551.
-rw-r--r--Library/Formula/htop-osx.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/htop-osx.rb b/Library/Formula/htop-osx.rb
index 9bd88878e..c77cb587a 100644
--- a/Library/Formula/htop-osx.rb
+++ b/Library/Formula/htop-osx.rb
@@ -13,6 +13,7 @@ class HtopOsx < Formula
# Otherwise htop will segfault when resizing the terminal
ENV.no_optimization if ENV.compiler == :clang
+ (buildpath/'m4').mkpath # or autogen fails
system "./autogen.sh"
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make", "install", "DEFAULT_INCLUDES='-iquote .'"