aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-11-14 14:35:07 -0600
committerJack Nagel2014-11-14 14:46:44 -0600
commit18e4256eb688643e0c98947dea066976fb7d118d (patch)
tree23717d07f95fbbfea462c9d2542c935a92b6801c /Library
parent5b93179508761320c749bbc71acf41b8087cf81f (diff)
downloadhomebrew-18e4256eb688643e0c98947dea066976fb7d118d.tar.bz2
dar: combine conditionals
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/dar.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/dar.rb b/Library/Formula/dar.rb
index 775a74eb2..6b2d3a580 100644
--- a/Library/Formula/dar.rb
+++ b/Library/Formula/dar.rb
@@ -16,8 +16,11 @@ class Dar < Formula
option "with-lzo", "enable lzo compression support"
option "with-upx", "make executables compressed at installation time"
- depends_on "coreutils" => :build if build.with? "docs"
- depends_on "doxygen" => :build if build.with? "docs"
+ if build.with? "docs"
+ depends_on "coreutils" => :build
+ depends_on "doxygen" => :build
+ end
+
depends_on "gettext" => :optional
depends_on "gnu-sed" => :build
depends_on "libgcrypt" => :optional