[82984] trunk/dports/tex/texlive-bin/Portfile

dports at macports.org dports at macports.org
Mon Aug 22 21:18:30 PDT 2011


Revision: 82984
          http://trac.macports.org/changeset/82984
Author:   dports at macports.org
Date:     2011-08-22 21:18:29 -0700 (Mon, 22 Aug 2011)
Log Message:
-----------
texlive-bin: configure.compiler changes
 * force llvm-gcc instead of clang for now (#30869)
 * force gcc instead of llvm-gcc on Xcode 4.0 (#30758)

Modified Paths:
--------------
    trunk/dports/tex/texlive-bin/Portfile

Modified: trunk/dports/tex/texlive-bin/Portfile
===================================================================
--- trunk/dports/tex/texlive-bin/Portfile	2011-08-23 03:54:44 UTC (rev 82983)
+++ trunk/dports/tex/texlive-bin/Portfile	2011-08-23 04:18:29 UTC (rev 82984)
@@ -107,7 +107,18 @@
     reinplace "s|kpse_cv_have_ApplicationServices=yes|kpse_cv_have_ApplicationServices=no|" ${worksrcpath}/texk/xdvipdfmx/configure
 }
 
+# clang build currently fails (#30869)
+if {${configure.compiler} == "clang"} {
+    configure.compiler llvm-gcc-4.2
+}
 
+# llvm-gcc apparently fails on Xcode 4.0.x (#30758)
+if {${configure.compiler} == "llvm-gcc-4.2" &&
+    [rpm-vercomp $xcodeversion 4.1] < 0} {
+    configure.compiler gcc-4.2
+}
+
+
 # We use MacPorts-provided libraries instead of the ones included in
 # texlive whenever possible, to avoid redundancy and to better keep
 # current with respect to security updates and the like.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110822/a1791b12/attachment.html>


More information about the macports-changes mailing list