open-ocd: fix conflicting options

As was noted in Homebrew/homebrew#30187, when a dependency is default, there shouldn't
be a with-<option> specification as it would conflict, so change them
all to "without".

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

Closes Homebrew/homebrew#30933.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Paul Fertser 2014-07-18 20:13:07 +04:00 committed by Jack Nagel
parent 3f2ae9f751
commit a649438755

View file

@ -14,8 +14,9 @@ class OpenOcd < Formula
depends_on "texinfo" => :build
end
option 'with-hidapi', 'Enable building support for devices using HIDAPI (CMSIS-DAP)'
option 'with-libftdi', 'Enable building support for libftdi-based drivers (USB-Blaster, ASIX Presto, OpenJTAG)'
option 'without-hidapi', 'Disable building support for devices using HIDAPI (CMSIS-DAP)'
option 'without-libftdi', 'Disable building support for libftdi-based drivers (USB-Blaster, ASIX Presto, OpenJTAG)'
option 'without-libusb', 'Disable building support for all other USB adapters'
depends_on 'pkg-config' => :build
depends_on 'libusb' => :recommended