uade: move conditional into method

This commit is contained in:
Jack Nagel 2014-02-18 17:49:03 -05:00
parent 6710070e4d
commit 102ac4e888

View file

@ -11,7 +11,9 @@ class Uade < Formula
depends_on 'libao'
# Upstream patch to fix compiler detection under superenv
def patches; DATA; end unless build.head?
def patches
DATA unless build.head?
end
def install
system "./configure", "--prefix=#{prefix}"