diff options
Diffstat (limited to 'Library/Formula/libdvdread.rb')
| -rw-r--r-- | Library/Formula/libdvdread.rb | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/libdvdread.rb b/Library/Formula/libdvdread.rb index 9eebf5362..7f406e5b3 100644 --- a/Library/Formula/libdvdread.rb +++ b/Library/Formula/libdvdread.rb @@ -8,6 +8,12 @@ class Libdvdread < Formula    depends_on 'libdvdcss' => :optional +  if MacOS.xcode_version >= "4.3" +    # when and if the tarball provides configure, remove autogen.sh and these deps +    depends_on "automake" => :build +    depends_on "libtool" => :build +  end +    def install      if Formula.factory("libdvdcss").installed?        ENV.append "CFLAGS", "-DHAVE_DVDCSS_DVDCSS_H"  | 
