libdvdread: depend on libdvdcss unconditionally.
This commit is contained in:
parent
c54f1b21e6
commit
f629464b02
1 changed files with 3 additions and 5 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue