htop: fix build by creating empty m4 folder

Closes #14551.
This commit is contained in:
Adam Vandenberg committed 2013-01-08 09:47:23 -08:00
1 parent 30dc1bea9a
commit 258c649f5c
1 file changed
+1
+1
View File
@@ -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 .'"