[56509] trunk/dports/multimedia/ffmpeg/Portfile

jmr at macports.org jmr at macports.org
Sat Aug 29 00:13:29 PDT 2009


Revision: 56509
          http://trac.macports.org/changeset/56509
Author:   jmr at macports.org
Date:     2009-08-29 00:13:23 -0700 (Sat, 29 Aug 2009)
Log Message:
-----------
ffmpeg: fixes for 10.6

Modified Paths:
--------------
    trunk/dports/multimedia/ffmpeg/Portfile

Modified: trunk/dports/multimedia/ffmpeg/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg/Portfile	2009-08-29 03:19:09 UTC (rev 56508)
+++ trunk/dports/multimedia/ffmpeg/Portfile	2009-08-29 07:13:23 UTC (rev 56509)
@@ -67,12 +67,11 @@
                 port:faad2 \
                 port:XviD \
                 port:x264 \
-                port:libsdl \
+                path:lib/pkgconfig/sdl.pc:libsdl \
                 port:bzip2 \
                 port:zlib
 
 build.cmd       gmake
-configure.compiler gcc-4.0
 
 #
 # enable auto configure of mmx and related Intel optimizations by default
@@ -106,10 +105,14 @@
         --enable-libx264 \
         --mandir=${prefix}/share/man \
         --enable-shared --enable-pthreads \
-        --cc=gcc-4.0
+        --cc=${configure.cc}
 
 #add --enable-libopenjpeg when problems with openjpeg.h are resolved
 
+if {[info exists build_arch] && $build_arch != ""} {
+    configure.args-append --arch=${build_arch}
+}
+
 test.run        yes
 
 #
@@ -126,6 +129,12 @@
     }
 }
 
+platform darwin 10 {
+    # ticket #20235
+    depends_lib-delete path:lib/pkgconfig/sdl.pc:libsdl
+    depends_lib-append path:lib/pkgconfig/sdl.pc:libsdl-devel
+}
+
 variant no_mmx description {disable all x86 asm optimizations} {
     configure.args-append --disable-mmx --disable-mmx2 --disable-sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090829/38de38ae/attachment.html>


More information about the macports-changes mailing list