[71601] trunk/dports/multimedia/avidemux

raimue at macports.org raimue at macports.org
Fri Sep 17 15:17:51 PDT 2010


Revision: 71601
          http://trac.macports.org/changeset/71601
Author:   raimue at macports.org
Date:     2010-09-17 15:17:48 -0700 (Fri, 17 Sep 2010)
Log Message:
-----------
multimedia/avidemux:
Ensure we are UsingTheRightCompiler for the bundled ffmpeg, see #26413.
No revision bump as installed files are not changed.

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

Added Paths:
-----------
    trunk/dports/multimedia/avidemux/files/patch-ffmpeg-compiler.diff

Modified: trunk/dports/multimedia/avidemux/Portfile
===================================================================
--- trunk/dports/multimedia/avidemux/Portfile	2010-09-17 22:00:43 UTC (rev 71600)
+++ trunk/dports/multimedia/avidemux/Portfile	2010-09-17 22:17:48 UTC (rev 71601)
@@ -39,6 +39,7 @@
                     patch-cmake-use-sdl.diff \
                     patch-build-plugins.diff \
                     patch-ffmpeg-libs-naming.diff \
+                    patch-ffmpeg-compiler.diff \
                     patch-no-bundles.diff
 
 # do a out of place build

Added: trunk/dports/multimedia/avidemux/files/patch-ffmpeg-compiler.diff
===================================================================
--- trunk/dports/multimedia/avidemux/files/patch-ffmpeg-compiler.diff	                        (rev 0)
+++ trunk/dports/multimedia/avidemux/files/patch-ffmpeg-compiler.diff	2010-09-17 22:17:48 UTC (rev 71601)
@@ -0,0 +1,13 @@
+--- cmake/admFFmpegBuild.cmake.orig	2010-09-18 00:13:02.000000000 +0200
++++ cmake/admFFmpegBuild.cmake	2010-09-18 00:13:17.000000000 +0200
+@@ -88,6 +88,10 @@
+ 	set(FFMPEG_FLAGS ${FFMPEG_FLAGS} --extra-ldflags=${CMAKE_SHARED_LINKER_FLAGS})
+ endif (CMAKE_SHARED_LINKER_FLAGS)
+ 
++if (CMAKE_C_COMPILER)
++        set(FFMPEG_FLAGS ${FFMPEG_FLAGS} --cc=${CMAKE_C_COMPILER})
++endif (CMAKE_C_COMPILER)
++
+ if (CROSS_ARCH OR CROSS_OS)
+ 	set(FFMPEG_FLAGS ${FFMPEG_FLAGS} --enable-cross-compile)
+ endif (CROSS_ARCH OR CROSS_OS)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100917/e2297d5c/attachment.html>


More information about the macports-changes mailing list