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

jeremyhu at macports.org jeremyhu at macports.org
Sat Mar 17 12:02:47 PDT 2012


Revision: 90901
          https://trac.macports.org/changeset/90901
Author:   jeremyhu at macports.org
Date:     2012-03-17 12:02:47 -0700 (Sat, 17 Mar 2012)
Log Message:
-----------
ffmpeg: Use clang rather than gcc-4.2

There was a bub in XCode 4.1's clang which forced this, but 4.1 is long dead.

See https://trac.macports.org/ticket/30137

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

Modified: trunk/dports/multimedia/ffmpeg/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg/Portfile	2012-03-17 18:58:34 UTC (rev 90900)
+++ trunk/dports/multimedia/ffmpeg/Portfile	2012-03-17 19:02:47 UTC (rev 90901)
@@ -9,6 +9,7 @@
 conflicts       ffmpeg-devel
 epoch           1
 version         0.7.11
+revision        1
 set branch      [join [lrange [split ${version} .] 0 1] .]
 license         GPL-2+
 categories      multimedia
@@ -84,17 +85,10 @@
 #
 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.
-#
-# similarly clang fails to build on i386 platforms
+# Under some conditions, llvm-gcc-4.2 drops some "unused" code even though it is used.
+# This is fixed in llvm-gcc trunk, but not in Apple's shipped llvm-gccs.
 if {${configure.compiler} == "llvm-gcc-4.2"} {
-    configure.compiler gcc-4.2
-} elseif {${configure.compiler} == "clang"} {
-    depends_build-append port:apple-gcc42
-    configure.compiler apple-gcc-4.2
-    # base (as of 2.0.3) doesn't set cxx for apple-gcc-4.2
-    configure.cxx ${prefix}/bin/g++-apple-4.2
+    configure.compiler clang
 }
 
 configure.cflags-append    -DHAVE_LRINTF ${configure.cppflags}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120317/a3e91d22/attachment.html>


More information about the macports-changes mailing list