uade: move conditional into method
This commit is contained in:
parent
6710070e4d
commit
102ac4e888
1 changed files with 3 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue