using the proper libvorbis libraries

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Hampton Catlin 2010-08-04 13:32:29 +01:00 committed by Adam Vandenberg
parent 919fe94cfe
commit 255263204e

View file

@ -16,6 +16,7 @@ class Ffmpeg <Formula
depends_on 'faad2' => :optional
depends_on 'lame' => :optional
depends_on 'theora' => :optional
depends_on 'libvorbis' => :optional
depends_on 'libogg' => :optional
def install
@ -33,7 +34,7 @@ class Ffmpeg <Formula
configure_flags << "--enable-libfaad" if Formula.factory('faad2').installed?
configure_flags << "--enable-libmp3lame" if Formula.factory('lame').installed?
configure_flags << "--enable-libtheora" if Formula.factory('theora').installed?
configure_flags << "--enable-libvorbis" if Formula.factory('lame').installed?
configure_flags << "--enable-libvorbis" if Formula.factory('libvorbis').installed?
# For 32-bit compilation under gcc 4.2, see:
# http://trac.macports.org/ticket/20938#comment:22