[88713] trunk/dports/aqua/HandBrake/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Jan 9 03:25:49 PST 2012


Revision: 88713
          http://trac.macports.org/changeset/88713
Author:   ryandesign at macports.org
Date:     2012-01-09 03:25:46 -0800 (Mon, 09 Jan 2012)
Log Message:
-----------
HandBrake: use gcc-4.2 instead of llvm-gcc-4.2 or clang; see #32803

Modified Paths:
--------------
    trunk/dports/aqua/HandBrake/Portfile

Modified: trunk/dports/aqua/HandBrake/Portfile
===================================================================
--- trunk/dports/aqua/HandBrake/Portfile	2012-01-09 10:59:47 UTC (rev 88712)
+++ trunk/dports/aqua/HandBrake/Portfile	2012-01-09 11:25:46 UTC (rev 88713)
@@ -128,6 +128,17 @@
         ${worksrcpath}/contrib/ffmpeg/A06-jack-osx.patch
 }
 
+if {${configure.compiler} == "clang" ||
+    ${configure.compiler} == "llvm-gcc-4.2"} {
+    configure.compiler gcc-4.2
+    if {![file executable ${configure.cc}]} {
+        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
+    }
+}
+
 # the Python PortGroup disables configure, we still want to use it, though
 use_configure       yes
 pre-configure {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120109/e84ca40a/attachment.html>


More information about the macports-changes mailing list