[87016] trunk/dports/x11/gccmakedep/Portfile

rmstonecipher at macports.org rmstonecipher at macports.org
Mon Nov 7 18:54:12 PST 2011


Revision: 87016
          http://trac.macports.org/changeset/87016
Author:   rmstonecipher at macports.org
Date:     2011-11-07 18:54:09 -0800 (Mon, 07 Nov 2011)
Log Message:
-----------
x11/gccmakedep force llvm-gcc-4.2 rather than clang to avoid UsingTheRightCompiler error on configure.cpp

Modified Paths:
--------------
    trunk/dports/x11/gccmakedep/Portfile

Modified: trunk/dports/x11/gccmakedep/Portfile
===================================================================
--- trunk/dports/x11/gccmakedep/Portfile	2011-11-08 02:36:00 UTC (rev 87015)
+++ trunk/dports/x11/gccmakedep/Portfile	2011-11-08 02:54:09 UTC (rev 87016)
@@ -4,7 +4,7 @@
 
 name                gccmakedep
 version             1.0.2
-revision            1
+revision            2
 categories          x11 devel
 license             X11
 maintainers         nomaintainer
@@ -26,7 +26,11 @@
                     sha1    a3d971a507a460233afd8ed46e9f06135fed634d \
                     rmd160  7778bd2fac401b7caae52c2fca4a921370803c3a
 
-configure.env       RAWCPP=${configure.cpp}
+if {${configure.compiler} == "clang"} { 
+    configure.compiler llvm-gcc-4.2 
+} 
+
+configure.env-append       RAWCPP=${configure.cpp}
 configure.args      --mandir=${prefix}/share/man
 
 livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111107/f937cae2/attachment.html>


More information about the macports-changes mailing list