e2fsprogs: fix compilation under Lion w/ clang
Fix derived from Macports issue 91359: https://trac.macports.org/changeset/91359 Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
ec07bdcf8c
commit
27b587ee8b
|
@ -9,6 +9,7 @@ class E2fsprogs < Formula
|
|||
keg_only "This brew installs several commands which override OS X-provided file system commands."
|
||||
|
||||
def install
|
||||
ENV.append_to_cflags "--std=gnu89 -Wno-return-type" if ENV.compiler == :clang
|
||||
system "./configure", "--prefix=#{prefix}"
|
||||
system "make"
|
||||
system "make install"
|
||||
|
|
Loading…
Reference in New Issue