[MacPorts] #23878: Problem compiling "MLT"

MacPorts noreply at macports.org
Mon Mar 1 19:56:57 PST 2010


#23878: Problem compiling "MLT"
------------------------------------------+---------------------------------
 Reporter:  samuel@…                      |       Owner:  dan@…          
     Type:  defect                        |      Status:  new            
 Priority:  Normal                        |   Milestone:                 
Component:  ports                         |     Version:  1.8.2          
 Keywords:                                |        Port:  mlt            
------------------------------------------+---------------------------------

Comment(by dan@…):

 Currently, MLT for OS/X requires an ffmpeg with swscale. It has configure
 --avformat-swscale in the Portfile to be compatible with some older
 versions of ffmpeg. Also, I see this in the ffmpeg/Portfile that applies
 to you:

 platform darwin 10 {
     # ticket #20938 -- disable mmx for 32 bit intel only
     if { $build_arch == "i386" } {
         if { ![variant_isset no_gpl] } {
             configure.args-delete --enable-swscale
         }
         if { ![variant_isset no_mmx] } {
             configure.args-append --disable-mmx --disable-mmx2 --disable-
 sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext
         }
     }
 }

 So, I built and installed ffmpeg (was running and suggesting using ffmpeg-
 devel) to see if I can drop the explicit MLT dependency on swscale (let
 autodetect work). Alas, it does not work. Can someone suggest a way to
 make a Portfile variant that is based on the variant of a dependency? The
 only workaround at the moment on i386/10.6 is to use ffmpeg-devel instead
 of ffmpeg.

-- 
Ticket URL: <http://trac.macports.org/ticket/23878#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list