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

eborisch at macports.org eborisch at macports.org
Fri Dec 2 21:29:42 PST 2011


Revision: 87739
          http://trac.macports.org/changeset/87739
Author:   eborisch at macports.org
Date:     2011-12-02 21:29:42 -0800 (Fri, 02 Dec 2011)
Log Message:
-----------
dcmtk: Update clang to llvm fail-over method to match recipe.

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

Modified: trunk/dports/graphics/dcmtk/Portfile
===================================================================
--- trunk/dports/graphics/dcmtk/Portfile	2011-12-03 03:36:50 UTC (rev 87738)
+++ trunk/dports/graphics/dcmtk/Portfile	2011-12-03 05:29:42 UTC (rev 87739)
@@ -75,20 +75,10 @@
 
 use_parallel_build      no
 
-if { [string equal ${configure.compiler} "clang"] } {
-   ui_warn                 "Cannot compiler with clang; using llvm"
-   variant_set             llvm
+if {${configure.compiler} == "clang"} {
+   configure.compiler      llvm-gcc-4.2
 }
 
-variant llvm description "Use llvm compiler" {
-  if { [file exists /usr/bin/llvm-g++-4.2] == 1 } {
-    configure.compiler    llvm-gcc-4.2
-  } else {
-    ui_error "Unable to locate /usr/bin/llvm-g++-4.2 -- please build without +llvm"
-    return -code error
-  }
-}
-
 variant private description "Install private tags dictionary" {
   configure.args-append --with-private-tags
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111202/255a5d3a/attachment.html>


More information about the macports-changes mailing list