aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-11-10 01:52:11 -0600
committerJack Nagel2013-11-10 01:55:57 -0600
commit27d4c23a4a70b4c07dd12d98d077e92bbe250788 (patch)
treea1c2fdb3b3326fad44ee6fcfe5cc6a6e434e4392 /Library/Formula
parent27fd29b5088e222782ff02618ae2fbfe4d9241be (diff)
downloadhomebrew-27d4c23a4a70b4c07dd12d98d077e92bbe250788.tar.bz2
libdc1394: fix build on 10.9
Fixes #24142.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libdc1394.rb11
1 files changed, 10 insertions, 1 deletions
diff --git a/Library/Formula/libdc1394.rb b/Library/Formula/libdc1394.rb
index a69444b05..2dd73cdbc 100644
--- a/Library/Formula/libdc1394.rb
+++ b/Library/Formula/libdc1394.rb
@@ -5,14 +5,23 @@ class Libdc1394 < Formula
url 'http://downloads.sourceforge.net/project/libdc1394/libdc1394-2/2.2.1/libdc1394-2.2.1.tar.gz'
sha1 'b92c9670b68c4e5011148f16c87532bef2e5b808'
+ depends_on :libtool
+ depends_on :automake
+ depends_on :autoconf
+
def patches
+ p = []
# fix issue due to bug in OSX Firewire stack
# libdc1394 author comments here:
# http://permalink.gmane.org/gmane.comp.multimedia.libdc1394.devel/517
- DATA
+ p << DATA
+
+ # Backport of upstream fixes for building on OS X
+ p << "https://gist.github.com/jacknagel/7395159/raw/3ba722636fb898d210170f5d8a494977c89626b7/libdc1394.patch"
end
def install
+ system "autoreconf", "-fvi"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-examples",