From f629464b0252a955c1058ff9a45e368aad297584 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 22 Aug 2012 22:55:53 -0700 Subject: [PATCH] libdvdread: depend on libdvdcss unconditionally. --- Formula/libdvdread.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Formula/libdvdread.rb b/Formula/libdvdread.rb index f5b162a2ff..6eb5e5a8e7 100644 --- a/Formula/libdvdread.rb +++ b/Formula/libdvdread.rb @@ -7,16 +7,14 @@ class Libdvdread < Formula head 'svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread' - depends_on 'libdvdcss' => :optional + depends_on 'libdvdcss' depends_on :automake depends_on :libtool def install - if Formula.factory("libdvdcss").installed? - ENV.append "CFLAGS", "-DHAVE_DVDCSS_DVDCSS_H" - ENV.append "LDFLAGS", "-ldvdcss" - end + ENV.append "CFLAGS", "-DHAVE_DVDCSS_DVDCSS_H" + ENV.append "LDFLAGS", "-ldvdcss" system "./autogen.sh", "--disable-dependency-tracking", "--prefix=#{prefix}"