[84946] trunk/dports/x11/imake/Portfile

takanori at macports.org takanori at macports.org
Wed Oct 5 04:22:19 PDT 2011


Revision: 84946
          http://trac.macports.org/changeset/84946
Author:   takanori at macports.org
Date:     2011-10-05 04:22:19 -0700 (Wed, 05 Oct 2011)
Log Message:
-----------
imake should not be compiled by clang. (#31504)

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

Modified: trunk/dports/x11/imake/Portfile
===================================================================
--- trunk/dports/x11/imake/Portfile	2011-10-05 09:08:08 UTC (rev 84945)
+++ trunk/dports/x11/imake/Portfile	2011-10-05 11:22:19 UTC (rev 84946)
@@ -5,6 +5,7 @@
 
 name         imake
 version      1.0.3
+revision     1
 categories   x11 devel
 license      X11
 installs_libs no
@@ -33,6 +34,11 @@
 depends_run    port:xorg-cf-files path:bin/perl:perl5
 depends_build  port:pkgconfig port:xorg-xproto
 
+# FIXME: xmkmf (imake) doesn't work as expected with clang
+if {${configure.compiler} == "clang"} {
+    configure.compiler llvm-gcc-4.2
+}
+
 configure.env-append  HAS_PERL=yes RAWCPP=${configure.cpp}
 
 post-configure {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111005/892e19c3/attachment.html>


More information about the macports-changes mailing list