diff options
| author | Adam Vandenberg | 2012-06-10 09:32:25 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-06-10 09:32:25 -0700 |
| commit | e0c7f5122db6ee010027c8f2f81313c2ab4b15f0 (patch) | |
| tree | bc84307437dc4846cdb354414b2eca4c00aa8f9d /Library/Formula | |
| parent | 0bda0ead96ca36d04c6db611f1e8e230789f92fc (diff) | |
| download | homebrew-e0c7f5122db6ee010027c8f2f81313c2ab4b15f0.tar.bz2 | |
portaudio: fix pyaudio compilation in Lion
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/portaudio.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/portaudio.rb b/Library/Formula/portaudio.rb index 3ba964907..35a37bb10 100644 --- a/Library/Formula/portaudio.rb +++ b/Library/Formula/portaudio.rb @@ -15,6 +15,13 @@ class Portaudio < Formula [["--universal", "Build a universal binary."]] end + # Fix PyAudio compilation on Lion + def patches + if MacOS.lion? + "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 ARGV.build_universal? |
