dar: fix upx dep

This commit is contained in:
Jack Nagel 2014-11-15 21:28:09 -06:00
parent b1999fd594
commit 0bfe02672c

View file

@ -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"