[109094] trunk/dports/sysutils/cdrtools/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Aug 7 17:42:28 PDT 2013


Revision: 109094
          https://trac.macports.org/changeset/109094
Author:   jeremyhu at macports.org
Date:     2013-08-07 17:42:28 -0700 (Wed, 07 Aug 2013)
Log Message:
-----------
cdrtools: Use compiler.blacklist

Modified Paths:
--------------
    trunk/dports/sysutils/cdrtools/Portfile

Modified: trunk/dports/sysutils/cdrtools/Portfile
===================================================================
--- trunk/dports/sysutils/cdrtools/Portfile	2013-08-08 00:35:22 UTC (rev 109093)
+++ trunk/dports/sysutils/cdrtools/Portfile	2013-08-08 00:42:28 UTC (rev 109094)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           compiler_blacklist_versions 1.0
 
 name                cdrtools
 version             3.00
@@ -47,15 +48,9 @@
 
 use_configure       no
 
-# hangs the same way as smake itself with both llvm-gcc-4.2 and Xcode
-# 4.1's clang
+# hangs the same way as smake itself with both llvm-gcc-4.2 and Xcode 4.1's clang
 # https://trac.macports.org/ticket/30310
-if {${configure.compiler} == "llvm-gcc-4.2"} {
-    configure.compiler      gcc-4.2
-} elseif {${configure.compiler} == "clang" && [vercmp $xcodeversion 4.3] < 0} {
-    depends_build-append    port:apple-gcc42
-    configure.compiler      apple-gcc-4.2
-}
+compiler.blacklist  llvm-gcc-4.2 macports-llvm-gcc-4.2 {clang < 300}
 
 build.cmd           smake
 build.args          CC=${configure.cc}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130807/e8870267/attachment-0001.html>


More information about the macports-changes mailing list