aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/dar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/dar.rb b/Library/Formula/dar.rb
index 6b2d3a580..0d8c4aef5 100644
--- a/Library/Formula/dar.rb
+++ b/Library/Formula/dar.rb
@@ -25,7 +25,7 @@ class Dar < Formula
depends_on "gnu-sed" => :build
depends_on "libgcrypt" => :optional
depends_on "lzo" => :optional
- depends_on "upx" => :build if build.with? "upx"
+ depends_on "upx" => [:build, :optional]
def install
ENV.prepend_path 'PATH', "#{Formula['gnu-sed'].opt_libexec}/gnubin"