aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorPaul Fertser2014-07-18 20:13:07 +0400
committerJack Nagel2014-07-18 22:11:44 -0500
commit24fc341c9272ea1a5a9c0abc4981bd41d9f96a25 (patch)
treeec81390b8d68f187086ee3da1a68a07670016f4a /Library/Formula
parentf9229933504b96c766031e304d37d5c6a2edad42 (diff)
downloadhomebrew-24fc341c9272ea1a5a9c0abc4981bd41d9f96a25.tar.bz2
open-ocd: fix conflicting options
As was noted in #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 #30933. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/open-ocd.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/open-ocd.rb b/Library/Formula/open-ocd.rb
index 5ad20b891..c7e6d3911 100644
--- a/Library/Formula/open-ocd.rb
+++ b/Library/Formula/open-ocd.rb
@@ -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