[80649] trunk/dports/multimedia

jeremyhu at macports.org jeremyhu at macports.org
Fri Jul 15 23:38:15 PDT 2011


Revision: 80649
          http://trac.macports.org/changeset/80649
Author:   jeremyhu at macports.org
Date:     2011-07-15 23:38:12 -0700 (Fri, 15 Jul 2011)
Log Message:
-----------
ffmpeg*: Use clang rather than llvm-gcc-4.2

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

Modified: trunk/dports/multimedia/ffmpeg/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg/Portfile	2011-07-16 03:43:03 UTC (rev 80648)
+++ trunk/dports/multimedia/ffmpeg/Portfile	2011-07-16 06:38:12 UTC (rev 80649)
@@ -81,6 +81,12 @@
 #
 minimum_xcodeversions {9 3.1}
 
+# Under some conditions, llvm-gcc-4.2 drops some "unused" code even though it is used
+# fixed in llvm-gcc trunk, but not in Apple's shipped llvm-gccs.
+if {${configure.compiler} == "llvm-gcc-4.2"} {
+	configure.compiler clang
+}
+
 configure.cflags-append    -DHAVE_LRINTF ${configure.cppflags}
 configure.args \
         --enable-gpl \

Modified: trunk/dports/multimedia/ffmpeg-devel/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg-devel/Portfile	2011-07-16 03:43:03 UTC (rev 80648)
+++ trunk/dports/multimedia/ffmpeg-devel/Portfile	2011-07-16 06:38:12 UTC (rev 80649)
@@ -73,6 +73,12 @@
 #
 minimum_xcodeversions {9 3.1}
 
+# Under some conditions, llvm-gcc-4.2 drops some "unused" code even though it is used
+# fixed in llvm-gcc trunk, but not in Apple's shipped llvm-gccs.
+if {${configure.compiler} == "llvm-gcc-4.2"} {
+	configure.compiler clang
+}
+
 configure.cflags-append    -DHAVE_LRINTF ${configure.cppflags}
 configure.args \
         --enable-nonfree \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110715/46acb4a0/attachment.html>


More information about the macports-changes mailing list