wget: deprecate enable-* options to with-*.

Closes Homebrew/homebrew#32474.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Mike McQuaid 2014-10-16 13:02:24 +01:00
parent afb79930ec
commit c85e35baf1

View file

@ -26,8 +26,11 @@ class Wget < Formula
depends_on "gettext"
end
option "enable-iri", "Enable iri support"
option "enable-debug", "Build with debug support"
deprecated_option "enable-iri" => "with-iri"
deprecated_option "enable-debug" => "with-debug"
option "with-iri", "Enable iri support"
option "with-debug", "Build with debug support"
depends_on "openssl"
depends_on "libidn" if build.include? "enable-iri"