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
Will Ross 2012-04-18 03:03:16 -04:00 committed by Adam Vandenberg
parent ec07bdcf8c
commit 27b587ee8b
1 changed files with 1 additions and 0 deletions

View File

@ -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"