[87734] trunk/dports/graphics/dcmtk/Portfile

eborisch at macports.org eborisch at macports.org
Fri Dec 2 18:16:14 PST 2011


Revision: 87734
          http://trac.macports.org/changeset/87734
Author:   eborisch at macports.org
Date:     2011-12-02 18:16:12 -0800 (Fri, 02 Dec 2011)
Log Message:
-----------
dcmtk: Prevent building with clang (XCode 4.2 on 10.7) as dcmtk won't build without changes on clang. (Requires 'this->' to be insterted in numerous methods.)

Modified Paths:
--------------
    trunk/dports/graphics/dcmtk/Portfile

Modified: trunk/dports/graphics/dcmtk/Portfile
===================================================================
--- trunk/dports/graphics/dcmtk/Portfile	2011-12-02 22:39:55 UTC (rev 87733)
+++ trunk/dports/graphics/dcmtk/Portfile	2011-12-03 02:16:12 UTC (rev 87734)
@@ -75,6 +75,11 @@
 
 use_parallel_build      no
 
+if { [string equal ${configure.compiler} "clang"] } {
+   ui_warn                 "Cannot compiler with clang; using llvm"
+   variant_set             llvm
+}
+
 variant llvm description "Use llvm compiler" {
   if { [file exists /usr/bin/llvm-g++-4.2] == 1 } {
     configure.compiler    llvm-gcc-4.2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111202/900187de/attachment-0001.html>


More information about the macports-changes mailing list