gnu-sed: Fix audit --strict expression order. (#5671)

This commit is contained in:
LivHere 2016-10-11 03:45:57 -07:00 committed by ilovezfs
parent 8ae710cf70
commit 1970e4c22f

View file

@ -5,8 +5,6 @@ class GnuSed < Formula
mirror "https://ftp.gnu.org/gnu/sed/sed-4.2.2.tar.bz2"
sha256 "f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7"
conflicts_with "ssed", :because => "both install share/info/sed.info"
bottle do
cellar :any_skip_relocation
rebuild 2
@ -17,10 +15,12 @@ class GnuSed < Formula
sha256 "bc210361d787b929011afbe96bd5a78c77e35a14d953942cd278d04c640183ae" => :mountain_lion
end
deprecated_option "default-names" => "with-default-names"
option "with-default-names", "Do not prepend 'g' to the binary"
conflicts_with "ssed", :because => "both install share/info/sed.info"
deprecated_option "default-names" => "with-default-names"
def install
args = ["--prefix=#{prefix}", "--disable-dependency-tracking"]
args << "--program-prefix=g" if build.without? "default-names"