aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/rtmpdump.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/Library/Formula/rtmpdump.rb b/Library/Formula/rtmpdump.rb
index ac6fff909..35ebe0d93 100644
--- a/Library/Formula/rtmpdump.rb
+++ b/Library/Formula/rtmpdump.rb
@@ -7,15 +7,19 @@ class Rtmpdump < Formula
depends_on 'openssl' if MACOS_VERSION < 10.6
- def patches
- DATA
- end
+ # Use dylib instead of so
+ def patches; DATA; end
def install
ENV.j1
+ inreplace ["Makefile", "librtmp/Makefile"] do |s|
+ s.change_make_var! "CC", ENV['CC']
+ s.change_make_var! "LD", ENV['LD']
+ end
system "make", "prefix=#{prefix}", "MANDIR=#{man}", "SYS=posix", "install"
end
end
+
__END__
--- rtmpdump-2.3/librtmp/Makefile.orig 2010-07-30 23:05:25.000000000 +0200
+++ rtmpdump-2.3/librtmp/Makefile 2010-07-30 23:08:23.000000000 +0200