diff options
| author | Jack Nagel | 2014-02-18 17:49:03 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-02-18 17:49:03 -0500 |
| commit | af35ce22e02ad03b5601cee2e6f6fba6367008b8 (patch) | |
| tree | a5ea2782bed90c1785b5e3c0dee36388a5aa96e2 | |
| parent | d7f242613d1b54dd8d4ea657ebacbe091f1f42d6 (diff) | |
| download | homebrew-af35ce22e02ad03b5601cee2e6f6fba6367008b8.tar.bz2 | |
portaudio: move conditional into method
| -rw-r--r-- | Library/Formula/portaudio.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/portaudio.rb b/Library/Formula/portaudio.rb index 3cdd6dd83..295236825 100644 --- a/Library/Formula/portaudio.rb +++ b/Library/Formula/portaudio.rb @@ -17,10 +17,10 @@ class Portaudio < Formula # Fix PyAudio compilation on Lion def patches - { :p0 => - "https://trac.macports.org/export/94150/trunk/dports/audio/portaudio/files/patch-include__pa_mac_core.h.diff" - } - end if MacOS.version >= :lion and not build.head? + if MacOS.version >= :lion and not build.head? + { :p0 => "https://trac.macports.org/export/94150/trunk/dports/audio/portaudio/files/patch-include__pa_mac_core.h.diff" } + end + end def install ENV.universal_binary if build.universal? |
